Skip to content

sql Close

Sub-commandData (SQL)New in Reforged
sql close
Sets
#SqlRes, #SqlCnt

Also searchable as: sql Close

sql close closes the script tab’s database. A transaction you left open (sql exec BEGIN without a COMMIT) is rolled back. #SqlCnt goes back to 0.

You rarely need it: the connection is also closed when the script is started again, when another script is loaded into the tab, and when the tab is closed.

See also