Answers for "sql delete all"

SQL
2

delete all value query

DELETE FROM table1 #delete all record
Posted by: Guest on June-22-2021
1

sql delete all values in a column

UPDATE TableName SET ColumnName = NULL
Posted by: Guest on October-03-2020
7

sql delete

DELETE FROM my_table;		-- all rows
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 January-23-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language