wilcoHead
Programmer
- Feb 2, 2005
- 85
I am sure this is simple but I am doiung something wrong here.
I am trying to delete 1 record that has info stored in two tables.
Here is the Query:
<CFQUERY NAME="DELETE_form" DATASOURCE="#Local_users_DB#">
DELETE FROM Partner_access_tbl, Log_Partner_Access
WHERE Partner_accessID = #URL.id# AND frn_partner_id = #URL.id#
</CFQUERY>
So, the unique number in both tables from the one record resides in both Partner_accessID and frn_partner_id.
How do I make this work?
Thanks,
Thanks for your input;
WilcoHEAD
I am trying to delete 1 record that has info stored in two tables.
Here is the Query:
<CFQUERY NAME="DELETE_form" DATASOURCE="#Local_users_DB#">
DELETE FROM Partner_access_tbl, Log_Partner_Access
WHERE Partner_accessID = #URL.id# AND frn_partner_id = #URL.id#
</CFQUERY>
So, the unique number in both tables from the one record resides in both Partner_accessID and frn_partner_id.
How do I make this work?
Thanks,
Thanks for your input;
WilcoHEAD