1> -- This produces a result of ten spaces, because the last 10 characters are space filled. 2> 3> DECLARE @RIGHT_STRING varchar(100) 4> SET @RIGHT_STRING = "www.java2java.com" 5> 6> SELECT RIGHT(@RIGHT_STRING,10) 7> GO ---------- java2s.com (1 rows affected) 1>