Mega Code Archive

 
Categories / MSSQL / String Functions
 

STR(100 325,7)

1> --the following will return 100 (note the 4 spaces): 2> 3> SELECT STR(100.325,7) 4> GO -------     100 (1 rows affected) 1>