|
-
I am writing a program that needs to delete data across multiple tables.
is there a way with a SQL command to delete records from more than one table.
this is what i am trying to do:
DELETE FROM REQUESTS, REQUEST_ITEMS WHERE REQUESTS.REQID = 1 and REQUEST_ITEMS.REQID = 1;
but I keep getting errors. I am using Oracle 9i.
Thanks,
I can't change the way the database works, so please only answers that wuld have a solution with SQL.
-Mike
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|