Anesthaesia
Technical User
Hi,
I'm trying to delete a record using the DELETE FROM command. My code is
cn.execute "DELETE FROM table WHERE id=1"
When executing this command I get a timeout, but running it through Query Analyzer it works fine (takes < 1sec).
All my INSERT INTO commands work fine, but I cannot delete in this way from VB.
Any ideas ?
Cheers,
D
I'm trying to delete a record using the DELETE FROM command. My code is
cn.execute "DELETE FROM table WHERE id=1"
When executing this command I get a timeout, but running it through Query Analyzer it works fine (takes < 1sec).
All my INSERT INTO commands work fine, but I cannot delete in this way from VB.
Any ideas ?
Cheers,
D