Closes and frees a single SQL Server connection.
SqlClose ( sqlconn% )
where
SUCCEED(1) or FAIL(0).
SqlClose stops any activity associated with a SQL Server connection, closes the connection, and frees allocated memory. Closing a sqlconn connection with SqlClose automatically closes all the cursors associated with it.
To open a SQL Server connection, use SqlOpen%. To close all open SQL Server connections, use SqlExit.
Calling SqlClose with a sqlconn% or sqlconn& value not returned by SqlOpen% causes an error.