Function QUERYEXECUTE
Simple way to execute a SQL query with a function.
Example
queryexecute(string sql,[any params,[struct options]]):any
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
sql | string | Yes | sql string to execute |
params | any | No | parameter used for the sql string, for details see attribute "params" from tag cfquery. |
options | struct | No | a struct that contains options to configure the connection, for details see all attributes from tag cfquery (except params and name). |