Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Incorrect syntax to '@errornumber' after upgrading to 20
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Desktop
Divers
Thread ID:
01577723
Message ID:
01577731
Vues:
37
>>>>Hi there,
>>>>
>>>>We are in the process of upgrading our databases from Sql Server 2005 to Sql Server 2012. All ports have been successful except one database that I designed 9 years ago.
>>>>
>>>>Every table has a primary index and most have foreign keys. Trying to update any record in any table with at least a foreign key generates an error "Syntaxe incorrecte vers '@error_number' " that translates into something like "'ncorrect syntax to '@errornumber' "
>>>>
>>>>There are no special user rights involved.
>>>>
>>>>The port has been done (1) with detach / attach and (2) from a backup and I observe the same behavior, which is somewhat reassunring :)
>>>>
>>>>The database is not set as readonly.
>>>>
>>>>I have compared the SQL 2005 and 2008 db instances and see no difference.
>>>>
>>>>So what?
>>>>
>>>>José
>>>
>>>Start SQL Profiler and see what is executed.
>>Thanks Borislav,
>>
>>I show you the result in the attached picture (I am using Toad for SWL Server 6.0).
>>
>>Also I have to rephrase my last sentence: >I have compared the SQL 2005 and 2012 db instances and see no difference.
>
>This is Execution plans, you need to run SQL Profiler (SSMS menu Tools->SQL Server Profiler)

Hmm, sorry for using the wrong tool. The profiler has only two lines regarding this operation. Perhaps will you see something special.

José
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform