LittleSmudge
Programmer
I'm an MSAccess developer but I need to get data from SQL Server database.
The current problem I'm having is that a fields have been defined as Char rather than VarChar so they have unwanted trailing space characters.
So I need to do something like
"SELECT Trim(Field1) & Trim(Field2) As F12 FROM tblName"
but I get an error message saying SQL does not recognise Trim
So what's the SQL speak for Trim ?
G LS
spsinkNOJUNK@yahoo.co.uk
Remove the NOJUNK to use.
The current problem I'm having is that a fields have been defined as Char rather than VarChar so they have unwanted trailing space characters.
So I need to do something like
"SELECT Trim(Field1) & Trim(Field2) As F12 FROM tblName"
but I get an error message saying SQL does not recognise Trim
So what's the SQL speak for Trim ?
G LS
spsinkNOJUNK@yahoo.co.uk
Remove the NOJUNK to use.