By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
CREATE Table test ([col] nvarchar(100) NOT NULL);
INSERT INTO test (col) VALUES (' ABC DEF EGRGF');
1 rows affected
SELECT replace(col, ' ', '') FROM test;
(No column name) |
---|
ABCDEFEGRGF |