Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- This is oracle-specific.
- -- If using * instead of img.*, if there is a FK relationship, deletion will occur in both tables!
- DELETE (SELECT
- img.*
- FROM
- storeord.cpc_space spc
- INNER JOIN storeord.cpc_image img
- ON spc.FILE_ID = img.FILE_ID
- WHERE
- spc.space_uuid = ?
- AND img.wall_name = ?)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement