Hi,
I have a table, Alert, that is made up of three entries as shown belowwhich
come from other tables.
Table Alert
-------------
RoomID - (int)PK. This a foreign key from room table
EventTypeID - (int)PK. This is foreighn key from EventType table
RegionID - (int)PK. THis is foreign key from Region table
Table EventType
-------------------
EventTypeID - (int) PK
EventDescription - (nVarChar)
Table Room
--------------
RoomID -(int) PK
Dimensions - (nchar)
.
.
Table Region
---------------
RegionID - (int) PK
RegionDescription -(nvarchar)
I am relatively new to database programming and i am having trouble building
the query to input an entry into the Alert table. I am having trouble because
the entries are ID values from other tables.
What information do I need to be able to add entries to the Alert table?
How do I construct the query?
Thanks In advance
Macca
I have a table, Alert, that is made up of three entries as shown belowwhich
come from other tables.
Table Alert
-------------
RoomID - (int)PK. This a foreign key from room table
EventTypeID - (int)PK. This is foreighn key from EventType table
RegionID - (int)PK. THis is foreign key from Region table
Table EventType
-------------------
EventTypeID - (int) PK
EventDescription - (nVarChar)
Table Room
--------------
RoomID -(int) PK
Dimensions - (nchar)
.
.
Table Region
---------------
RegionID - (int) PK
RegionDescription -(nvarchar)
I am relatively new to database programming and i am having trouble building
the query to input an entry into the Alert table. I am having trouble because
the entries are ID values from other tables.
What information do I need to be able to add entries to the Alert table?
How do I construct the query?
Thanks In advance
Macca