Answers for "delete table oracle db"

SQL
1

oracle sql drop table

DROP TABLE my_table;
-- To 'really' free space
DROP TABLE my_table PURGE;
Posted by: Guest on January-23-2021
3

delete rows table oracle

DELETE FROM my_table;		-- all rows, commit needed
TRUNCATE TABLE my_table;	-- all rows, no possible rollback
DELETE FROM my_table WHERE my_id = 12345;
DELETE FROM my_table WHERE my_id IN (SELECT id2 FROM my_table2);
COMMIT;		-- don't forget it...
Posted by: Guest on May-15-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language