Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Trigger start on DB2 via ODBC

Status
Not open for further replies.

bobo123

Programmer
Oct 4, 2002
30
Hi all,
please, anybody has experience with starting/removing triggers on DB2 from VFP via ODBC ??
Any help ?
Thanks !!!!
Bobo
 
I think u have to send the respective DB2 command(s) through SQLExec(). U need to verify the security issues involved in it. I mean the authentication (rights) on those objects.

In short if u know the DB2 commands for any action to be taken on the backend the same command u can send it via SQLExec()
 
Im sure I'm connected properly.
The DB2 command is:
RMVPFTRG FILE(MYFILE)

I tried all:
sqle(1,"RMVPFTRG FILE(MYFILE)")
sqle(1,"RMVPFTRG(MYFILE)")
sqle(1,"RMVPFTRG(FILE(MYFILE))")
sqle(1,"RMVPFTRG('MYFILE')")
sqle(1,"RMVPFTRG('FILE(MYFILE)')")
and all this with "CALL" statemnent - nothing works :eek:(

Bobo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top