Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

create table postgresql foreign key

CREATE TABLE so_items (
	so_id INTEGER,
  	...
	FOREIGN KEY (so_id) REFERENCES so_headers (id)
);
Source by www.postgresqltutorial.com #
 
PREVIOUS NEXT
Tagged: #create #table #postgresql #foreign #key
ADD COMMENT
Topic
Name
8+8 =