Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Extracting only certain number of characters from a fiel
Message
 
To
28/02/2010 02:40:53
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01451580
Message ID:
01451582
Views:
45
This message has been marked as the solution to the initial question of the thread.
>In a SQL select, I need to only extract a certain number of characters in a field. Lets say I have a title field of 100 characters. I would like to only extract the first 64 characters. What would be the proper syntax to use for that?
SELECT LEFT(FieldName, 64) AS ...
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform