SQL Constraint: NOT NULL
In this video we will see below topics -
Constraints are used to specify the rules for the data.
It ensures the data accuracy.
Limit the type of data that inserted into a table.
If there is any violation between constraints, then the action is aborted
NOT NULL - Ensures that a column cannot have a NULL value.
Syntax:
CREATE TABLE tbl_name (
column1 data_type NOT NULL,
... );
OR
ALTER TABLE tbl_name
ALTER COLUMN column1 data_type NOT NULL
Connect me on Instagram for any queries -
/ thisisanandyadav
In questa pagina del sito puoi guardare il video online SQL Constraint: NOT NULL della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Study Desk of Anand 04 settembre 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 70 volte e gli è piaciuto 20 spettatori. Buona visione!