Viewing post 1 (of 1 total)
without cursor
DECLARE @sql NVARCHAR(max) = N''
SELECT @sql = @sql + '
SELECT ''['+ltrim(rtrim(sq.name))+'].['+ltrim(rtrim(obj.name))+']'' AS table_name,
...
April 24, 2014 at 8:03 am
#1708415