Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is wrong with this query?
Message
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01350270
Message ID:
01350309
Views:
22
>>Do you know why I'm getting errors on these two lines
>>
>>     SELECT [name] from [sysdiagrams] WHERE [name] LIKE '%<script%'
>>   RAISERROR('Error in table  sysdiagrams in column name ',16,1) 
>>
>
>Maybe because you didn't have a database diagram defined in that DB?

No, it looks like all END statements got out of place. If I would not have this table, I would have different error.

Also I think we need to add
IF OBJECT_ID([<<alltrim(Table_Name)>>]) IS NOT NULL
statement in my VFP program
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform