Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
Merkin
Funky Drop Bear Fearing SQL Dude!
4970 Posts |
Posted - 2001-07-15 : 02:21:23
|
A query to get the Table and Column Description fields in SQL Server 2000.SELECT so.name, sc.name, sc.xtype, sc.length, sc.colid,tableprop.value as TableDescription,colprop.value as ColDescriptionFROM sysobjects soINNER JOIN syscolumns sc ON sc.id = so.idINNER JOIN sysproperties tableprop ON tableprop.id = so.id and tableprop.type = 3INNER JOIN sysproperties colprop ON colprop.id = sc.id and colprop.type = 4 and colprop.smallid = sc.colidWHERE so.type='u' and so.name = 'TableName'Order by sc.ColIDDamian |
|
mattew
Starting Member
9 Posts |
Posted - 2003-01-15 : 04:03:41
|
it's very very good but the result in the field ColDescription is "<binary>". What is it? |
 |
|
|
|
|