Viewing 8 posts - 1 through 9 (of 9 total)
If you have more than 255 UNION ALL statements, you will get the above error. There is a hotfix available and we are still on sp3a. I...
September 18, 2008 at 12:17 pm
I found there was only one column in this DB, so I excluded it in the cursor until I figure something else out.
But now I get this error:
Msg 8621, Level...
September 18, 2008 at 11:58 am
I see why I am getting the error, but do you know how I can cast those datatypes dynamically in the cursor?
Thanks,
Wes
September 18, 2008 at 11:50 am
Thanks Jack,
I think I can make this work. The NULL column is always 0 because of the concatenation (I guess) but I am only concerned about the non-null fields.
When I...
September 18, 2008 at 11:42 am
SQL Server 2005, once I changed the max to 8000 it runs without error. But of course, it only gets halfway throught the first 2 tables.
The query is running against...
September 18, 2008 at 9:35 am
One of the DB's I'm looking at has 188 tables with 2516 columns. Yes I can run during off peak times, but it is actually a replicated Oracle DB, so...
September 18, 2008 at 7:37 am
Thanks for the reply Jack,
I am looking for the actual number of fields that are not Null in every table in a database.
For example, I will need to find the...
September 17, 2008 at 9:36 am
Viewing 8 posts - 1 through 9 (of 9 total)