Problem:
How to get identity, computed properties of a column in a table?
Solution:
COLUMNPROPERTY, starting from SQL server 2008 or
higher.
Syntax: COLUMNPROPERTY (id , column , property )
(Needs input) ID – OBJECT_ID
of a table or a procedure.
Column – Column name or parameter
name
(Needs Input) Property –
Type of information...
Tuesday, February 28, 2017
Monday, February 27, 2017
How to implement SOUNDEX
Mahesh Sambu
2/27/2017 03:15:00 PM
DIFFERENCE, SOUDNEX
No comments
Problem:
How to compare two words and get the difference of the string text?
Solution:
SOUNDEX
This is a string function which
gives out a four-character output based on the input string.
Based on the sounding of a name,
address, or an object this will assign a value and similar pronunciations get
the same result.
The first character...
Sunday, February 26, 2017
Saturday, February 25, 2017
Sending an email from Database engine using database mail profile.
Mahesh Sambu
2/25/2017 09:36:00 PM
Mail Profile, Send Db email
No comments

Problem:
How to send an email from Database Mail.?
Solution:
sp_send_dbmail
If we need to send alerts, notifications,
Job status of a SQL Server agent from SQL Server Database. You may have to
configure Database Mail to send e-mail message...