|
|
|
Click here to copy the following block | SELECT t.Table_Name, t.Column_Name, CASE
WHEN t.Column_Default = 'suser_sname()' THEN suser_sname() WHEN t.Column_Default = 'suser_name()' THEN suser_name() ELSE t.Column_Default END AS Column_Default FROM ( SELECT LEFT ( RIGHT (Column_Default, len(Column_Default) - 1), len(Column_Default) - 2 ) AS Column_Default, Column_Name, Table_Name FROM Information_schema.columns ) AS t WHERE t.Column_Default IS NOT NULL ORDER BY Table_Name |
|
|
|
Submitted By :
Nayan Patel
(Member Since : 5/26/2004 12:23:06 PM)
|
 |

|
Job Description :
He is the moderator of this site and currently working as an independent consultant. He works with VB.net/ASP.net, SQL Server and other MS technologies. He is MCSD.net, MCDBA and MCSE. In his free time he likes to watch funny movies and doing oil painting. |
View all (893) submissions by this author
(Birth Date : 7/14/1981 ) |
|
|