Top "Drop-table" questions

The SQL command for deleting an entire table.

Redshift: TRUNCATE TABLE IF EXISTS

It is recommended to use TRUNCATE TABLE instead of DELETE. However, truncate table does not support the IF EXISTS clause. …

sql amazon-redshift truncate drop-table
How to drop a single Postgres table in a Ruby on Rails Heroku app?

Similar question here, but none of the answers actually answer the question. The accepted answer just shows how to log …

ruby-on-rails-3 postgresql heroku drop-table
Check var is NULL in stored procedure

I have a script that deletes all tables. SET FOREIGN_KEY_CHECKS = 0; SET @tables = NULL; SELECT GROUP_CONCAT(table_schema, …

mysql stored-procedures if-statement drop-table
how to solve this- Cannot delete or update a parent row: a foreign key constraint fails

I'm trying to drop table and I'm getting this error : Cannot delete or update a parent row: a foreign key …

mysql sql-delete drop-table
What happens to dependent triggers when the table is dropped?

I have one table backup on which I had applied one trigger upd_trig. Now, I dropped my table and …

oracle triggers drop-table
Form has my table locked down tight even after docmd.close

Sorry for the wall of text guys but this one requires expliaining, way too much code to post... I'm importing …

ms-access locking create-table drop-table
Oracle - Unable to drop tables

This question is related to the one I posted yesterday but with further implications. The situation is: I'm unable to …

oracle oracle10g ora-00942 drop-table