Viewing 2 posts - 1 through 2 (of 2 total)
This might be a start:
select
so.[name],
ac.[name],
st.[name],
st.prec,
st.scale
from
sys.all_columns ac
inner join sys.objects so on so.object_id = ac.object_id
inner join msdb.sys.systypes st on st.xtype = ac.system_type_id
where
so.type = 'U'
order by
st.[name]
June 24, 2008 at 10:56 am
#833468
Good idea checking SYSPROCESSES, rbarryyoung. I'll give it a try. I won't worry about SQL 2000. Although I can't have the code falling over, I'm prepared to disable...
June 24, 2008 at 5:22 am
#833225