Search
 
SCRIPT & CODE EXAMPLE
 

SQL

add constraint fk

ALTER TABLE Orders
ADD CONSTRAINT FK_PersonOrder
FOREIGN KEY (PersonID) REFERENCES Persons(PersonID);
Comment

PREVIOUS NEXT
Code Example
Sql :: timestamp in sqlite 
Sql :: sql drop multiple columns if exists 
Sql :: mysql remove ubuntu 
Sql :: how to check database engine in mysql 
Sql :: mysql date diff in seconds 
Sql :: sql delete last row 
Sql :: mssql reset auto increment 
Sql :: alert table name mysql 
Sql :: oracle list tables 
Sql :: mysql check if string contains comma separated 
Sql :: sql server delete row 
Sql :: hexadec to sql REDSHIFT 
Sql :: zerar auto increment mysql 
Sql :: oracle sql two left digits 
Sql :: mysql change root password ubuntu 
Sql :: how to select department from table 
Sql :: postgresql update to unique 
Sql :: mysql disable foreign keys check 
Sql :: how to check mysql version in xampp 
Sql :: get ddl materialized view oracle 
Sql :: install mysql 8 ubuntu 18.04 
Sql :: update data with random values postgres 
Sql :: postgresql add alter permissions to role 
Sql :: firebase bigquery cloud message 
Sql :: mysql reset auto increment to 1 
Sql :: how to add not null constraint in sql 
Sql :: mysql one week ago 
Sql :: copy sql table to new table 
Sql :: Uncaught Error: Cannot use object of type mysqli_result as array 
Sql :: how to find column in all the tables sql 
ADD CONTENT
Topic
Content
Source link
Name
8+4 =