Unlike the other WriteLog methods, WriteSql will not generate a LogWrite event. This event will be generated when the UpdateSql method is called.
| Name | Type | Optional | ByRef | Description |
|---|---|---|---|---|
| sql | String | The SQL statement to log. | ||
| includeProcedure | Boolean | Optional | If omitted, a value of False is assumed. |