GLHI Database HTML Dump
Previous topic Chapter index Next topic

Table: tblCongressionalDistrict

 

 

Schema

public

 

Owner

wetlands

 

Tablespace

(default)

 

Descriptions

Table to hold automatically populated congressional district data for project area. Table uses standard Census Bureau naming conventions for field names.

FORM: AUTOMATICALLY POPULATED

 

Fields

PK

FK

Name

Data type

Not null

Unique

Inherited

Default

Description

 

CongressionalDistrictID

integer

 

nextval('"tblCongressionalDistrict_CongressionalDistrictID_seq"'::regclass)

 

 

PROJECT_ID

integer

 

 

 

 

 

GeographyID

integer

 

 

 

 

 

 

state

integer

 

 

 

 

State FIPS

 

 

cd

integer

 

 

 

 

Congressional district

 

 

geo_id

integer

 

 

 

 

FIPS + CD

 

Foreign Keys

Name

Fields

FK Table

FK Fields

Delete Action

Update Action

Deferrable

Check Time

Description

tblCongressionalDistrict_fk

PROJECT_ID

public.tblProject

PROJECT_ID

No Action

No Action

 

Immediate

 

tblCongressionalDistrict_fk1

GeographyID

public.tblProjectGeography

GeographyID

No Action

No Action

 

Immediate

 

 

Checks

There are no check constraints for table tblCongressionalDistrict

 

Indices

Name

Type

Function

Fields

Primary Key

Unique

Description

tblCongressionalDistrict_pkey

btree

 

CongressionalDistrictID

 

 

Triggers

There are no triggers for table tblCongressionalDistrict

 

Rules

There are no rules for table tblCongressionalDistrict

 

Referenced

There are no tables referenced by table tblCongressionalDistrict

 

Options

Option

Value

Inherited From

 

Rows

0

Pages

0

System

 

Temporary

 

With OID

 

 

Definition


CREATE TABLE "public"."tblCongressionalDistrict" (
  "CongressionalDistrictID" SERIAL, 
  "PROJECT_ID" INTEGER NOT NULL, 
  "GeographyID" INTEGER NOT NULL, 
  "state" INTEGER, 
  "cd" INTEGER, 
  "geo_id" INTEGER, 
  CONSTRAINT "tblCongressionalDistrict_pkey" PRIMARY KEY("CongressionalDistrictID"), 
  CONSTRAINT "tblCongressionalDistrict_fk" FOREIGN KEY ("PROJECT_ID")
    REFERENCES "public"."tblProject"("PROJECT_ID")
    ON DELETE NO ACTION
    ON UPDATE NO ACTION
    NOT DEFERRABLE, 
  CONSTRAINT "tblCongressionalDistrict_fk1" FOREIGN KEY ("GeographyID")
    REFERENCES "public"."tblProjectGeography"("GeographyID")
    ON DELETE NO ACTION
    ON UPDATE NO ACTION
    NOT DEFERRABLE
) WITHOUT OIDS;

COMMENT ON TABLE "public"."tblCongressionalDistrict"
IS 'Table to hold automatically populated congressional district data for project area. Table uses standard Census Bureau naming conventions for field names.

FORM: AUTOMATICALLY POPULATED';

COMMENT ON COLUMN "public"."tblCongressionalDistrict"."state"
IS 'State FIPS';

COMMENT ON COLUMN "public"."tblCongressionalDistrict"."cd"
IS 'Congressional district';

COMMENT ON COLUMN "public"."tblCongressionalDistrict"."geo_id"
IS 'FIPS + CD';

Pete Giencke
pgiencke@glc.org
Previous topic Chapter index Next topic