About 3,870,000 results
Open links in new tab
  1. SQL DELETE Statement - W3Schools

    The DELETE statement is used to delete existing records in a table. Note: Be careful when deleting records in a table! Notice the . WHERE clause in the DELETE statement. The WHERE clause specifies which record (s) should be deleted. If you omit the WHERE clause, all records in the table will be deleted!

  2. Deleting entire data from a particular column in oracle-sql

    Sep 26, 2015 · In SQL, delete deletes rows not columns. You have three options in Oracle: Set all the values to NULL using update. Remove the column from the table. Set the column to unused. The last two use alter table: alter table t drop column col; alter table t set unused (col);

  3. Delete specific values from column with where condition?

    Nov 20, 2015 · I want to delete specific values/data from one column with the WHERE condition. Putting in another way, I don't want to delete the complete row. Is it possible? Please include a sample what you have got now. SET myColumn = NULL . WHERE myCondition.

  4. sql - Want to delete specific column in a table - Stack Overflow

    May 28, 2017 · Yes it is possible to delete the particular value/data from the column using WHERE condition. You can use the below code in SQL command to delete that particular column. Update Table_Name set Column_Name=null where Column_Id=xxx. or you can even update that by changing the Column_name value to an empty string ' ' Like below.

  5. SQL DELETE Statement - SQL Tutorial

    In SQL, the DELETE statement allows you to delete one or more rows from a table based on a condition. Here’s the syntax of the DELETE statement: DELETE FROM table_name WHERE condition; Code language: SQL (Structured Query Language) ( sql )

  6. A Guide to the SQL DELETE Statement - Codecademy

    Mar 19, 2025 · As a database grows, some records may become outdated, incorrect, or redundant, leading to performance issues, unnecessary storage usage, and data clutter. The DELETE statement in SQL allows specific records to be removed to ensure that the database remains clean, accurate, and efficient. The SQL DELETE statement is necessary for common ...

  7. How to Delete Table Data in SQL: A Complete Guide - dbvis.com

    Apr 3, 2025 · In this case, we’ve created a table data_table2 with only two columns from data_table. Provided our data_table consists of more columns than that ... That’s it, really — delete table data in SQL isn’t rocket science, and basic measures do indeed go a long way. Before deleting data, evaluate your use case, think about the data you need ...

  8. How To Delete Data in SQL - DigitalOcean

    Sep 15, 2020 · In Structured Query Language, more commonly known as SQL, the DELETE statement is one of the most powerful operations available to users. As the name implies, DELETE operations irreversibly delete one or more rows of data from a database table.

  9. SQL: DELETE Statement - TechOnTheNet

    Let's start with a simple example of a DELETE query that has one condition in the WHERE clause. In this example, we have a table called suppliers with the following data: Enter the following DELETE statement: There will be 1 record deleted. Select the data from the suppliers table again: These are the results that you should see:

  10. MySQL :: MySQL 9.3 Reference Manual :: 15.2.2 DELETE Statement

    If you delete the row containing the maximum value for an AUTO_INCREMENT column, the value is not reused for a MyISAM or InnoDB table. If you delete all rows in the table with DELETE FROM tbl_name (without a WHERE clause) in autocommit mode, the sequence starts over for all storage engines except InnoDB and MyISAM.

  11. Some results have been removed