May 20, 2005 at 3:28 am
Hi,
How to find the columns involved in a computed column without string manipulation?
I want only the column list with comma separated value.
thanks
May 20, 2005 at 5:11 am
Hi,
Can you be more specific in you question, maybe including an example?
May 20, 2005 at 6:55 am
Here's something to get you started - these will give you a list of computed columns from all the user tables:
SELECT syscolumns.name FROM syscolumns
JOIN sysobjects ON sysobjects.id = syscolumns.id
AND syscolumns.iscomputed = 1 AND sysobjects.xtype = 'U'
Hope this is what you were asking for!
**ASCII stupid question, get a stupid ANSI !!!**
May 20, 2005 at 7:10 am
Ananda - pl. follow this link for comma separated list...
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=8&messageid=174305#bm174355
**ASCII stupid question, get a stupid ANSI !!!**
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply