Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Spatial data type and Varchar(100)
Message
De
20/11/2011 17:02:07
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01529320
Message ID:
01529327
Vues:
26
>Yes, with this example you can use var/char(28) field.

The funny thing is with Char(28), the SQL doesn' give any error but doesn't replace the GeographyTemporary field, which makes use of the POINT syntax. I am trying to find the reason for that now.

>You could use varchar() field type, so if the length of the string is smaller than 28 it will be stored with its real length, not padded.

Yes, that would avoid having extra spaces.

Thanks
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform