Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is wrong with this query?
Message
 
 
À
24/09/2008 15:10:48
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01350270
Message ID:
01350309
Vues:
24
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform