I have not bee successful in obtaining a SQL Function reference in the documentation. Can someone assist?
I have used "Max" and that works fine. I have tried "Trim" and I get an error that it is not a recognized built-in function. I know the OutSystems built-in functions but not the SQL functions.
Thanks
Leon
Hi Leon,
In SQL Server the built-in functions are LTRIM() and RTRIM() for left trim and right trim, respectively.
For example:
SELECT LTRIM(RTRIM({Client}.[Name])) FROM {Client}
Kind Regards,João
can you post the query here?
Thanks João.
That solves my problem, but I would like to have a full reference of SQL functions for future use.
Regards,
I'm glad I could help.
If you need more information from SQL Server functions, you can check Microsoft documentation here.You will find the LTRIM, RTRIM and others under the subsection STRING.