Search
 
SCRIPT & CODE EXAMPLE
 

SQL

adding a check statement in sql

ALTER TABLE table_name
ADD CONSTRAINT constraint_name
CHECK (column_name condition);
Comment

PREVIOUS NEXT
Code Example
Sql :: get first 2 letter in sql 
Sql :: login to mysql 
Sql :: Configure MYSQL to run on another port number, other than the default port 3306 ubuntu linux 
Sql :: update date of birth in sql 
Sql :: having vs where 
Sql :: postgres alter table add column with default value 
Sql :: strict in postgres SQL 
Sql :: sql multiline comment 
Sql :: how to add default constraint in mysql 
Sql :: postgres count string length 
Sql :: how to rename column in sql 
Sql :: postgres power 
Sql :: add new column not null sql server 
Sql :: how to find column in all the tables sql 
Sql :: show processlist mysql full query 
Sql :: shell mysql connect 
Sql :: stop and start mysql 
Sql :: mysqli_real_connect(): The server requested authentication method unknown to the client [caching_sha2_password] 
Sql :: oracle db get table sizes 
Sql :: FirebaseException ([cloud_firestore/permission-denied] The caller does not have permission to execute the specified operation.) 
Sql :: MySQL shutdown unexpectedly. 
Sql :: delete all content in table mysql 
Sql :: postgresql drop table 
Sql :: mysql find missing values 
Sql :: postgresql how to show table names 
Sql :: sql create table statement 
Sql :: sql where first letter 
Sql :: calculate age in sql postgresql 
Sql :: find a column in all tables mysql 
Sql :: get primary key of table 
ADD CONTENT
Topic
Content
Source link
Name
1+5 =