Select from following answers:- DECLARE @testvalue nvarchar(20); SET @testvalue = 'australia'; SELECT LEFT(@testvalue, 3);
- DECLARE @testvalue nvarchar(20); SET @testvalue = 'australia'; SELECT UPPER(@testvalue);
- DECLARE @testvalue nvarchar(20); SET @testvalue = 'australia'; SELECT REVERSE(@testvalue);
- All Above
first statement will return the result 'aus' because the first three characters from the left of the string 'australia'.
Show Correct Answer
Source: Microsoft Press book | Asked In: Many Interviews |
Alert Moderator