Thank you a lot, DBomrrsm. Now it seems to be working, just taking really long time... Please, explain to me what the following means:
'SELECT ''' + @TableName + '.' + @ColumnName + ''', LEFT(' + @ColumnName + ', 3630)
What is the bunch of '''' means?
Thanks.
Obviously, I am missing a lot here.
How do I "Create the function in your database then run it against your database."???
How do I do it or is it some other way to make this procedere work for another db except pubs.
Thanks.
Hello, guys.
I have been trying to execute the following and just keep getting the same error:
“Syntax error converting the nvarchar value ‘one_a’ to a column of data int.
declare @a int
declare @b int
declare abc cursor for select TABLE_Name, data_type
from information_schema.columns where...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.