# Disconnect From Database&#x20;

This action can be used to Disconnect from a database, either it being local or external, after executing querries and non querries.

## Properties<br>

![](https://649489153-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSSr3DfBuOYIkk2T9ec%2Fuploads%2FLCBZh95LfY1QeEInjARr%2Fimage.png?alt=media\&token=cb0b0bcf-d499-4986-9608-d84d18b6b7eb)

### Input

![](https://649489153-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSSr3DfBuOYIkk2T9ec%2Fuploads%2FXVcaq3j7lCyDrKL1YQUI%2Fimage.png?alt=media\&token=edaebfd2-45be-4f2a-bcb3-600c656f045d)

* **Database Connection:** The DatabaseConnection object which will be used to disconnect from the SQL Server.

### Misc

![](https://649489153-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MSSr3DfBuOYIkk2T9ec%2Fuploads%2F7kNrRP4XIm346voIwCsS%2Fimage.png?alt=media\&token=cb028a31-4730-48dd-bd45-d650b8a1ae1a)

* **Display Name**: action display name in your implementation project.&#x20;
* **Wait Before**: number milliseconds robot to wait before executing the action.
* **Wait After:** number milliseconds robot to wait until moving to the next action.
* **Abort on Error**: True/False.
* **Retry Times**: Specifies the number of times to retry an action if it doesn't end successfully. Default value 0 (no retry); Use -1 if you want to retry indefinitely.

{% embed url="<https://youtu.be/UarekbGwszI>" %}
