ExecSQL Window query parameters
ExecSQL Window - SQL - Parameters
When you want to execute the same query with diferent values you can use parameters, you can also use parameters if you want to insert binary objects with using the ExecSQL Window.
Each query parameter must be folowed by ':', for example:
INSERT INTO ONETABLE (ACODE,ANAME) VALUES (:PARAM1,:PARAM2)
When you select parameters option at SQL Menu IBAccess shows a window like this:
You can select the parameter type and value, and also set a null value.
When you execute the query, this values are used.
See also: