Example
SELECT convert(nvarchar(20),LEFT(CONVERT(NVARCHAR, 'Merbin Joe') + SPACE(20), 20)) Name
This volition hit
Merbin Joe
But y'all can't able to run into the blank space's together with hence y'all should involve to set the infinite using [] or other way.
SELECT quotename(convert(nvarchar(20),LEFT(CONVERT(NVARCHAR, 'Merbin Joe') + SPACE(20), 20))) Name
Tidak ada komentar:
Posting Komentar