Board index » delphi » Complex SQL Question - I Think :-P
Joe 9
![]() Delphi Developer |
Wed, 18 Jun 1902 08:00:00 GMT
Complex SQL Question - I Think :-P
Ok Heres what I need to do:
I have a table with collums ICN and TtG (Time to Go) I want to be able to take 4 from the value of all the TtG values on the table ( all diferent ) and delete the record if the TtG for that record drops below 3 and call a procedure outside the SQL statment transmitting ICN and PASSWORD of the deleted/to be deleted record. - I have a timer that triggers every 4 seconds this will be used to tell the query component to do its thing.. - the default value for TtG is 300 it can ither be a string or a integer - which ever takes youre fancy... Feel Free to use more components (TQuerys Etc..) if you need to.. Thanks |