|
-
Hi all,
Can I do this in a stored procedure?
select count(1) into tablecount from all_tables where owner='ABC' and table_name='XXX;
if (tablecount=1) then
execute immediate 'drop table ABC.XXX;
end if;
Somehow 'drop table ABC.XXX' it's not working!
I didn't get any error message, just that the table is not dropped. Please advise.
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
|