hi~ I am writing a query to result to text:
select db_name(dbid),dbid from sys.sysprocesses
but there is alot of spaces after the column of db_name...
how to trim them ??
hi~ I am writing a query to result to text:
select db_name(dbid),dbid from sys.sysprocesses
but there is alot of spaces after the column of db_name...
how to trim them ??