Viewing 3 posts - 1 through 3 (of 3 total)
thank you all very much. I ended up with:
declare @prop nvarchar(20), @con nvarchar(20), @seg nvarchar
November 2, 2005 at 2:24 pm
I still get "Invalid column name 'dtproperties'."
Here is my code exactly:
declare @cmd nvarchar(200)
set @cmd = N'SELECT TABLE_NAME, COLUMN_NAME FROM BW_P3.information_schema.COLUMNS
WHERE TABLE_NAME <> "dtproperties" ORDER BY TABLE_NAME'
exec sp_executesql @cmd
October 31, 2005 at 12:42 pm
Thank you, that part works now, but a part I had working, now doesn't.
SELECT TABLE_NAME, COLUMN_Name FROM database.information_schema.COLUMNS WHERE TABLE_NAME <> dtproperties ORDER BY TABLE_NAME
This worked when I put...
October 31, 2005 at 10:32 am
Viewing 3 posts - 1 through 3 (of 3 total)