Returns the number of the current statement in the command buffer.
SqlCurCmd% ( sqlconn% )
where
The number of the current statement. The first statement in a group of statements is number 1.
The statement number is incremented every time SqlResults% returns SUCCEED or FAIL. Unsuccessful statements are counted. The statement number is reset by each call to SqlExec% or SqlSend%.
SqlCmdRow%, SqlExec%, SqlMoreCmds%, SqlResults%, SqlRows%, SqlSend%