DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SQL
add foreign key to existing table postgres
ALTER TABLE table_a ADD FOREIGN KEY (col_table_a) REFERENCES table_b(pk_table_b);
Source by www.postgresql.org #
PREVIOUS
NEXT
Tagged:
#add
#foreign
#key
#existing
#table
#postgres
ADD COMMENT
Topic
COMMENT
Name
4+9 =
Submit