Telegram_2021-12-15T13

<< Click to Display Table of Contents >>

Navigation:  Telegram > 2021 > 12 > 15 >

Telegram_2021-12-15T13

Telegram link

 

2021-12-15T13:48:58

 

You don't need to close any tables.

 

First, I assume that you are using TQuery-like components, is that correct? All Delphi Dataset descendants close themselves and release any allocated resource when destroying, automatically. You don't need to do anything else.

 

The only thing that you must ensure is closing all pending transactions (committing them or rolling them back), if you have any explicit transaction control in your application

 


 

Telegram link

 

2021-12-15T13:51:32

 

The same is true for DBConnection components. They also close themselves on destruction