Search
 
SCRIPT & CODE EXAMPLE
 

SQL

how to delete the rows with null values in mysql

DELETE FROM user WHERE username IS NULL;

To Delete the Rows with the Null values if present in any specific Columns.
Comment

mysql on delete set null


    FOREIGN KEY (child_col1, child_col2, ... child_col_n)
    REFERENCES parent_table (parent_col1, parent_col2, ... parent_col_n)
    ON DELETE SET NULL
    [ ON UPDATE { NO ACTION | CASCADE | SET NULL | SET DEFAULT } ] 
Comment

PREVIOUS NEXT
Code Example
Sql :: get all tables with column name sql 
Sql :: python and mysql connectivity 
Sql :: what is group function in sql 
Sql :: what is union in sql 
Sql :: mysql faster insert 
Sql :: subquery in Insert 
Sql :: modificar tipo de dato sql server 
Sql :: % Wildcard in SQL 
Sql :: what is a stored procedure 
Sql :: delete in sql server 
Sql :: sqlite describe table 
Sql :: fatal database postgres does not exist 
Sql :: sql replace id with name from another table 
Sql :: xamarin sql lite create table if not exist 
Sql :: how to add column sql 
Csharp :: c# get number of files in directory 
Csharp :: c# hello world program 
Csharp :: c# gzip byte array 
Csharp :: unity how to refrsh scene 
Csharp :: how to index ireadonlycollection c# 
Csharp :: how to remove a component from an object in unity 
Csharp :: unity mouse click m 
Csharp :: unity 2d jump 
Csharp :: c# list files in directory 
Csharp :: c# get directory of executable 
Csharp :: convert timestamp to datetime c# code 
Csharp :: c# string to double 
Csharp :: c# read file by line 
Csharp :: unity android back button 
Csharp :: #region in c# 
ADD CONTENT
Topic
Content
Source link
Name
9+5 =