default

Romber

Database tables

romber_location.thoroughfare_names

Purpose

This table provides a list of valid thoroughfare names. This information is dynamic and is normally managed from higher level interfaces rather than managed throught its own data entry page.

Definition

Source romber_thoroughfare_names_tbl.sql

create table romber_location.thoroughfare_names (
  thoroughfare_name_code        romber_base.generic_code        not null,
  thoroughfare_name_id          romber_location.location_id     not null,
  thoroughfare_name_name        romber_base.generic_name        not null );

Constraints

Source romber_thoroughfare_names_pk.sql

alter table romber_location.thoroughfare_names
  add constraint romber_thoroughfare_names_pk
    primary key ( thoroughfare_name_id );

Source romber_thoroughfare_names_uk1.sql

alter table romber_location.thoroughfare_names
  add constraint romber_thoroughfare_names_uk1
    unique ( thoroughfare_name_code );

Source romber_thoroughfare_names_fk1.sql

alter table romber_location.thoroughfare_names
  add constraint romber_thoroughfare_names_fk1
    foreign key ( thoroughfare_name_id )
    references romber_location.locations ( location_id );

 

Copyright © Corpita Pty Ltd 1987 - 2024

Developed by romber.net
Page modified on 28-Apr-2023