test it out:
DECLARE @x int
,@RunDate datetime
,@y char(2)
,@z int
,@total int
,@tries int
SELECT @z=1,@total=0,@tries=20
WHILE @z<=@tries
BEGIN
SELECT @RunDate=GETDATE(),@x=1,@z=@z+1
WHILE @x<500000
BEGIN
SET @x=@x+1
SELECT @x=@x+1,@y=LEFT('Chgffgjjx',2)
END
PRINT RIGHT(' '+CONVERT(varchar(2),@z-1),2)+' - LEFT() Took: '+CONVERT(varchar(20),datediff(ms,@RunDate,GETDATE()))+' milliseconds'
SET @total=@total+CONVERT(varchar(20),datediff(ms,@RunDate,GETDATE()))
END
PRINT 'LEFT() average: '+CONVERT(varchar(20),@total/(1.0+@tries))
SELECT @z=1,@total=0,@tries=20
WHILE @z<=@tries
BEGIN
SELECT @RunDate=GETDATE(),@x=1,@z=@z+1
WHILE @x<500000
BEGIN
SET @x=@x+1
SELECT @x=@x+1,@y=CONVERT(varchar(2),'Chgffgjjx')
END
PRINT RIGHT(' '+CONVERT(varchar(2),@z-1),2)+' - CONVERT() Took: '+CONVERT(varchar(20),datediff(ms,@RunDate,GETDATE()))+' milliseconds'
SET @total=@total+CONVERT(varchar(20),datediff(ms,@RunDate,GETDATE()))
END
PRINT 'CONVERT() average: '+CONVERT(varchar(20),@total/(1.0+@tries))
OUTPUT:
1 - LEFT() Took: 563 milliseconds
2 - LEFT() Took: 390 milliseconds
3 - LEFT() Took: 406 milliseconds
4 - LEFT() Took: 390 milliseconds
5 - LEFT() Took: 390 milliseconds
6 - LEFT() Took: 390 milliseconds
7 - LEFT() Took: 393 milliseconds
8 - LEFT() Took: 390 milliseconds
9 - LEFT() Took: 390 milliseconds
10 - LEFT() Took: 486 milliseconds
11 - LEFT() Took: 686 milliseconds
12 - LEFT() Took: 453 milliseconds
13 - LEFT() Took: 390 milliseconds
14 - LEFT() Took: 406 milliseconds
15 - LEFT() Took: 403 milliseconds
16 - LEFT() Took: 410 milliseconds
17 - LEFT() Took: 560 milliseconds
18 - LEFT() Took: 546 milliseconds
19 - LEFT() Took: 593 milliseconds
20 - LEFT() Took: 390 milliseconds
LEFT() average: 429.7619047619047
1 - CONVERT() Took: 440 milliseconds
2 - CONVERT() Took: 513 milliseconds
3 - CONVERT() Took: 393 milliseconds
4 - CONVERT() Took: 453 milliseconds
5 - CONVERT() Took: 390 milliseconds
6 - CONVERT() Took: 406 milliseconds
7 - CONVERT() Took: 420 milliseconds
8 - CONVERT() Took: 406 milliseconds
9 - CONVERT() Took: 390 milliseconds
10 - CONVERT() Took: 390 milliseconds
11 - CONVERT() Took: 406 milliseconds
12 - CONVERT() Took: 390 milliseconds
13 - CONVERT() Took: 626 milliseconds
14 - CONVERT() Took: 593 milliseconds
15 - CONVERT() Took: 423 milliseconds
16 - CONVERT() Took: 406 milliseconds
17 - CONVERT() Took: 450 milliseconds
18 - CONVERT() Took: 486 milliseconds
19 - CONVERT() Took: 406 milliseconds
20 - CONVERT() Took: 390 milliseconds
CONVERT() average: 417.9523809523809
they seem very close to me