SqlStrLen%

Returns the length, in characters, of the command buffer.

Syntax

SqlStrLen% ( sqlconn% )

where

sqlconn% ( )
Is a SQL Server connection. The value of sqlconn% is returned by SqlOpen%.

Returns

The length, in characters, of the command buffer.

Remarks

Internally, the command buffer is a linked list of text strings. Parts of the command buffer can be located and copied using SqlStrLen% and SqlStrCpy%.

See Also

SqlCmd%, SqlFreeBuf, SqlStrCpy%