dbTalk Databases Forums  

Setting Column Description Property with a query

microsoft.public.sqlserver.server microsoft.public.sqlserver.server


Discuss Setting Column Description Property with a query in the microsoft.public.sqlserver.server forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
CTB
 
Posts: n/a

Default Setting Column Description Property with a query - 06-28-2011 , 12:34 PM






Using SQL Server 2005 & SSMS.

Hello all,

I have 2 tables that I want to set the "Description" property for each
column with a query. I have 2 other tables that contain all the
column names and the descriptions to be used for each column.

Is there a system table/view that I can use to set column
descriptions?

Thanks for any help anyone can provide,

CTB

Reply With Quote
  #2  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: Setting Column Description Property with a query - 06-28-2011 , 02:20 PM






CTB (CTBarbarin (AT) msn (DOT) com) writes:
Quote:
Hello all,

I have 2 tables that I want to set the "Description" property for each
column with a query. I have 2 other tables that contain all the
column names and the descriptions to be used for each column.

Is there a system table/view that I can use to set column
descriptions?

Thanks for any help anyone can provide,
You asked the same question yesterday. My answer is the same: take a look
at sp_addextendedproperty in Books Online. No, I cannot supply any examples
myself, as I've used extended properties.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.