Mega Code Archive

 
Categories / MSSQL / String Functions
 

STR() Function

1> 2> -- STR() Function: converts a numeric value to a string. 3> 4> SELECT STR(123.4, 8, 4) 5> GO -------- 123.4000 (1 rows affected) 1>