Click here to Skip to main content
16,004,974 members
Home / Discussions / Database
   

Database

 
AnswerRe: Tenant Database Pin
Colin Angus Mackay31-Mar-06 12:29
Colin Angus Mackay31-Mar-06 12:29 
GeneralRe: Tenant Database Pin
Lav KG2-Apr-06 18:08
Lav KG2-Apr-06 18:08 
AnswerRe: Tenant Database Pin
HimaBindu Vejella2-Apr-06 18:49
HimaBindu Vejella2-Apr-06 18:49 
Questionprimary key duplication Pin
Ritesh123430-Mar-06 18:31
Ritesh123430-Mar-06 18:31 
QuestionSQL server retrival on demand Pin
sameerhanda30-Mar-06 10:27
sameerhanda30-Mar-06 10:27 
AnswerRe: SQL server retrival on demand Pin
Eric Dahlvang31-Mar-06 3:25
Eric Dahlvang31-Mar-06 3:25 
QuestionHow to pass a recordset from server-side asp to client? Pin
Jesse Evans30-Mar-06 9:25
Jesse Evans30-Mar-06 9:25 
QuestionFirst time programming - need help with database design... Pin
tanpanjang30-Mar-06 7:43
tanpanjang30-Mar-06 7:43 
I have one database that consist of few tables. My scenario is like this.

Goods import from the port can either be delivered to warehouse for storage or delivered direct to customers.

Goods delivered to warehouse for storage, will then be delivered to customers upon orders.

So, basically there's:
1. incoming from the port to warehouse
2. incoming from the port to customer
3. outgoing from the warehouse to customer
* All transports of goods is delivered by trucks

I'm planning to control all this using "Delivery Order Number" which is use for both inbound and outbound of goods. Is this even correct? Please help! Urgent.

Warehouse Table [only used when storage]
- Warehouse ID
- Warehouse Name
- Address
- Postcode
- City
- State
- Office Phone
- Office Fax

Customer Table [only used when product is directly delivered from port]
- Customer ID
- Customer Name
- Address
- Postcode
- City
- State
- Office Phone
- Office Fax

Port Table
- Port ID
- Port Name

Vessel Table
- Vessel ID (Not the true Vessel Number plate but just Identity Field in SQL DB)
- Vessel Name

Truck Table
- Truck ID
- Truck Number Plate
*(2 primary keys?)

Product Table
- Product ID (Not the real product ID but just Identity Field in SQL DB)
- Delivery Order No
- Vessel Name (or use Vessel ID better?)
- Product Stock Code Number (isnt this the same as product ID)
- Product Size
- Product Quantity (is this necessary?)
- Product Gross Weight (used when incoming)
- Product Net Weight (used only when outgoing)
- Product Case Number (used only when outgoing)
*(Actually, it's only ONE TYPE of product but it comes in different sizes/weights)

Inbound Delivery Table
- Order ID (Not the real Order ID by Customer Invoice but just Identity Field in SQL DB)
- Delivery Order Number
- Delivery Date
- Inbound From [dropdownlist of port names]
- Delivery To [radiobutton to choose whether direct to customer or to warehouse for storage. Radiobutton links to dropdownlist of customers/warehouses]
- Vessel ID (Or should I put Vessel Name instead?)
- Truck ID (Or should I put Truck Number Plate instead?)

Outbound Delivery Table
- Order ID (Not the real Order ID by Customer Invoice but just Identity Field in SQL DB)
- Delivery Order Number
- Delivery Date
- Inbound From [dropdownlist of port names]
- Delivery To [radiobutton to choose whether direct to customer or to warehouse for storage. Radiobutton links to dropdownlist of customers/warehouses]
- Vessel ID (Or should I put Vessel Name instead?)
- Truck ID (Or should I put Truck Number Plate instead?)
QuestionPleas help me Pin
papa198030-Mar-06 6:18
papa198030-Mar-06 6:18 
AnswerRe: Pleas help me Pin
Lav KG30-Mar-06 23:32
Lav KG30-Mar-06 23:32 
QuestionPhone number location question Pin
Richard Parsons30-Mar-06 4:29
Richard Parsons30-Mar-06 4:29 
AnswerRe: Phone number location question Pin
Colin Angus Mackay30-Mar-06 4:46
Colin Angus Mackay30-Mar-06 4:46 
QuestionSorting a DataSet for binding to a DataList Pin
cybersurferdev29-Mar-06 22:32
cybersurferdev29-Mar-06 22:32 
QuestionWhat is the command to list all the tables in a data base in SQL server??? Pin
BawaSingh29-Mar-06 21:39
BawaSingh29-Mar-06 21:39 
AnswerRe: What is the command to list all the tables in a data base in SQL server??? Pin
Colin Angus Mackay29-Mar-06 22:10
Colin Angus Mackay29-Mar-06 22:10 
GeneralRe: What is the command to list all the tables in a data base in SQL server??? Pin
BawaSingh29-Mar-06 23:41
BawaSingh29-Mar-06 23:41 
GeneralRe: What is the command to list all the tables in a data base in SQL server??? Pin
Colin Angus Mackay29-Mar-06 23:52
Colin Angus Mackay29-Mar-06 23:52 
GeneralRe: What is the command to list all the tables in a data base in SQL server??? Pin
Le centriste30-Mar-06 4:10
Le centriste30-Mar-06 4:10 
GeneralRe: What is the command to list all the tables in a data base in SQL server??? Pin
HimaBindu Vejella2-Apr-06 19:07
HimaBindu Vejella2-Apr-06 19:07 
AnswerRe: What is the command to list all the tables in a data base in SQL server??? Pin
HimaBindu Vejella2-Apr-06 19:02
HimaBindu Vejella2-Apr-06 19:02 
AnswerRe: What is the command to list all the tables in a data base in SQL server??? Pin
HimaBindu Vejella2-Apr-06 19:10
HimaBindu Vejella2-Apr-06 19:10 
QuestionHaving trouble updating access database. Pin
kornstyle29-Mar-06 11:05
kornstyle29-Mar-06 11:05 
QuestionUsing Queries From An Interface Pin
MontyMole29-Mar-06 7:59
MontyMole29-Mar-06 7:59 
QuestionWhat is the Command to create table from existing tables in SQL server???? Pin
BawaSingh29-Mar-06 3:39
BawaSingh29-Mar-06 3:39 
AnswerRe: What is the Command to create table from existing tables in SQL server???? Pin
MontyMole29-Mar-06 8:02
MontyMole29-Mar-06 8:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.