select '''' select len('''') SELECT '''' + '''' SELECT L...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Game Development Meta

Q&A about the site for professional and independent game developers

select ''''
-- Result: '
select len('''')
-- Result: 1

SELECT '''' + ''''
-- Result: ''
SELECT LEN('''' + '''')
-- Result: 2

SELECT '''''' + ''''
-- Result: '''
SELECT LEN('''''' + '''')
-- Result: 3

SELECT 'a' + '''' + ''''
-- Result: a''
SELECT '''' + 'a' + ''''
-- Result: 'a'
SELECT LEN('''' + 'a' + '''')
-- Result: 3

SELECT '' + ''''
-- Result: '
SELECT '''' + ''
-- Result: '
SELECT LEN('''' + '')
-- Result: 1

Enter Parameters

Options:
Switch to main site
loading Hold tight while we fetch your results