fasttrack
SSCertifiable
Points: 6071
More actions
August 25, 2006 at 2:27 pm
#169999
Hi,
anyone knows how to create a script to get the column/s that have computed columns.
ThanK
August 25, 2006 at 2:47 pm
#656950
for everybody:
select name from syscolumns
where id = object_id('nometabella')
and iscomputed=1
Gopi Muluka
SSCarpal Tunnel
Points: 4594
August 25, 2006 at 2:54 pm
#656954
select distinct a.name from sysobjects a inner join syscolumns b on a.id=b.id and b.iscomputed=1
where a.xtype='U'
The above query will give the table names which contains atlease one computed column
August 28, 2006 at 1:51 pm
#657190
Thank very much
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply