Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Operator not defined for type geography
Message
 
 
À
21/03/2012 10:50:30
Information générale
Forum:
ASP.NET
Catégorie:
Problèmes
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01538901
Message ID:
01538903
Vues:
21
>Now that I have enabled the Geography type field in my table, when I try to update the record from VB.NET, I get:
>
>
>Operator '<>' is not defined for type 'SqlGeography' and type 'SqlGeography'.
>
>
>However, in the update, none of the geography fields is involved. I can only update one field and I will get this error. However, if I paste the same SQL as is in SSMS, it works.
>
>Anyone has seen this one before?

Can you capture the SQL command what is send by your UPDATE using SQL Profiler?
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