multithreading - how to write and execute a thread -


I have never worked with threads before, and now I want to check the database status with a query I am trying to make thread. The query is as follows:

Select from v $ datafile as DBCount (*) as the status in 'offline'; .

This query returns the number of all the databases that are offline. Now I want to create a thread in Delphi which will execute this query in the background of my application when I run it and display the result on the label. .

Multilevel is difficult You can be better off using a simple threading framework like ASCINKCOL.

The following Stack Overlow Threads can give you more information about how to solve your problem:

< / P>


Comments