Hello, I have another question :-(
I'm working with SQL (Oracle via ODBC), and I need to create parametrized queries. The problem is I cannot remember how to substitute params.
Example:
Code: Select all
(setq sqlString "select * from table1 where field1 = ? and field2 = ?")
Now I want to do this (method execute is just to simplify the example):
Code: Select all
(execute sqlString (value1 value2) )
It means, when I created base SQL, I could send data. Furthermore, can this system automatically send params directly via odbc (not like a simple string replacement, but with an automatic management of apex ' ' for string, NULL values, etc...).
Thank you!