Skip to content

Instantly share code, notes, and snippets.

@gjyoung1974
Created March 3, 2017 03:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gjyoung1974/edd281f36a1fe8b1e0c687de29769ed6 to your computer and use it in GitHub Desktop.
Save gjyoung1974/edd281f36a1fe8b1e0c687de29769ed6 to your computer and use it in GitHub Desktop.
-- Table: public.persons
CREATE TABLE public.persons
(
personid integer,
lastname character varying(255) COLLATE pg_catalog."default",
firstname character varying(255) COLLATE pg_catalog."default",
address character varying(255) COLLATE pg_catalog."default",
city character varying(255) COLLATE pg_catalog."default"
)
WITH (
OIDS = FALSE
)
-- Insert some data
INSERT INTO public.persons(
personid, lastname, firstname, address, city)
VALUES (1, 'Smith', 'Bob', '123 test street', 'Any Town');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment