Advertisement
jchaven

View field properties of SQL Server table

Apr 16th, 2013
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
T-SQL 0.19 KB | None | 0 0
  1. -- Microsoft SQL Server (T-SQL)
  2.  
  3. -- see all properties for fields of a specific table
  4. select * from information_schema.columns
  5. where table_name = 'your_table_name'
  6. order by ordinal_position
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement