Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Spatial data type and Varchar(100)
Message
From
20/11/2011 17:02:07
 
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01529320
Message ID:
01529327
Views:
25
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform