|
-
Jul 15th, 2009, 05:20 AM
#1
Thread Starter
Fanatic Member
reading default value of column (SQL Server 2005)
i can get the default value of column_def using Stored procedure -
sp_columns tablename .
column_def returns the default value.
lets say 'abc' is set as default value of a nchar field.
the column_def shows (N'abc') as value.
If I set 10 as default value of an int column , the column_def shows ((10)) as value
i want to know exact default value.
are there some rules to intercept the exact value ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|