How can I verify if my connection to the database is active? I make the connection but I want to know at a certain moment if the connection is active. In SQL server I can do sqlexec(lnHandle, "select @@version")
, but I need it in Advantage Dataserver 11 with VFP.
Asked
Active
Viewed 114 times
-1

Cody Gray - on strike
- 239,200
- 50
- 490
- 574
1 Answers
0
If I want to know if my connection is active, I consult in the following way:
SELECT Now() FROM System.IOTA
return datetime.

Cody Gray - on strike
- 239,200
- 50
- 490
- 574