Quantcast
Channel: Substring In Sql | Automatic Website Traffic RSS
Viewing all articles
Browse latest Browse all 989

TRIM() in T-SQL

$
0
0

String manipulation in T-SQL has always felt somewhat cumbersome ... These are my examples: SELECT Result = '[' + TRIM(n) + ']' , FirstLetter = ASCII(SUBSTRING(TRIM(n), 1, 1)) FROM ( VALUES (' ') , (' ...

Viewing all articles
Browse latest Browse all 989

Trending Articles