Write an entry to the SQL Log.

Unlike the other WriteLog methods, WriteSql will not generate a LogWrite event. This event will be generated when the UpdateSql method is called.

Syntax

ISTrace.WriteSql(sql, [includeProcedure])

Parameters

NameTypeOptionalByRefDescription
sql String The SQL statement to log.
includeProcedure Boolean Optional If omitted, a value of False is assumed.

Return Value

Integer
Member of:
ISTrace
Namespace:
Intersoft.ISRuntime6
Assembly:
ISRuntime6, Version=6.0.3
Target Framework:
.NET 9.0