[QODBC-Desktop] How to use SQL functions in QODBC
Posted by Rajendra Dewani (QODBC Support) on 14 April 2014 04:01 PM
|
|
QODBC does support standard SQL queries, but the function is implemented differently. Please refer to the below functions & try to execute them in QODBC Test Tool. Functions in Select Query:You can use distinct like: Please refer to the below article for more information: Functions in Update Query:You can Replace functions in the Update query like: UPDATE TableName SET ColumnName = {fn REPLACE("ColumnName",'ValueToFind','ValueToReplace')} WHERE (condition) For Example: UPDATE Invoice SET RefNumber = {fn REPLACE("RefNumber",'71047','0777')} WHERE (TxnDate>{d '2012-12-31'}) You can change the table name & column name as per your requirement. | |
|