Skip to content

Commit

Permalink
Change bpchar to varchar / thanks @valhuber
Browse files Browse the repository at this point in the history
  • Loading branch information
pthom committed Oct 7, 2022
1 parent ab4a462 commit 4aa7967
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions northwind.sql
Expand Up @@ -53,8 +53,8 @@ CREATE TABLE categories (
--

CREATE TABLE customer_customer_demo (
customer_id bpchar NOT NULL,
customer_type_id bpchar NOT NULL
customer_id character varying(5) NOT NULL,
customer_type_id character varying(5) NOT NULL
);


Expand All @@ -63,7 +63,7 @@ CREATE TABLE customer_customer_demo (
--

CREATE TABLE customer_demographics (
customer_type_id bpchar NOT NULL,
customer_type_id character varying(5) NOT NULL,
customer_desc text
);

Expand All @@ -73,7 +73,7 @@ CREATE TABLE customer_demographics (
--

CREATE TABLE customers (
customer_id bpchar NOT NULL,
customer_id character varying(5) NOT NULL,
company_name character varying(40) NOT NULL,
contact_name character varying(30),
contact_title character varying(30),
Expand Down Expand Up @@ -144,7 +144,7 @@ CREATE TABLE order_details (

CREATE TABLE orders (
order_id smallint NOT NULL,
customer_id bpchar,
customer_id character varying(5),
employee_id smallint,
order_date date,
required_date date,
Expand Down Expand Up @@ -184,7 +184,7 @@ CREATE TABLE products (

CREATE TABLE region (
region_id smallint NOT NULL,
region_description bpchar NOT NULL
region_description character varying(60) NOT NULL
);


Expand Down Expand Up @@ -226,7 +226,7 @@ CREATE TABLE suppliers (

CREATE TABLE territories (
territory_id character varying(20) NOT NULL,
territory_description bpchar NOT NULL,
territory_description character varying(60) NOT NULL,
region_id smallint NOT NULL
);

Expand Down

0 comments on commit 4aa7967

Please sign in to comment.