SQL.ResetCommand
----------------

Clears all DBMS related handles and structures but doesn't destroy them (mostly for Unix fork/exec based applications)

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [SQL](component_SQL.md) | [2.6](newinversion26.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "SQL.ResetCommand"; Command ) 

**MBS**( **"SQL.ResetCommand"** /\* Clears all DBMS related handles and structures but doesn't destroy them (mostly for Unix fork/exec based applications) \*/  
**$Command**) /\* The command reference number gained with [SQL.NewCommand](SQLNewCommand.md). \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Command | The command reference number gained with [SQL.NewCommand](SQLNewCommand.md). | $Command |

### Result

Returns "OK" or error message.

### Description

Clears all DBMS related handles and structures but doesn't destroy them (mostly for Unix fork/exec based applications)  
### See also

- [SQL.FreeCommand](SQLFreeCommand.md)
- [SQL.ListCommands](SQLListCommands.md)
- [SQL.NewCommand](SQLNewCommand.md)

This function is free to use.

Created 18th August 2014 , last changed 13th January 2015

  
[SQL.Prepare](SQLPrepare.md) - [SQL.ResetConnection](SQLResetConnection.md)

[HTML Version](SQLResetCommand.shtml)