Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Column Name
Data Type
Size
Attributes
client_no
Varchar
name
Varchar
20
not null
address1
Varchar
30
not null
address2
Varchar
30
city
Varchar
15
state
Varchar
15
pincode
number
bal_due
money
10
. Data Output
Column name
Data type
Size
Attributes
Product_no
Varchar
Primary key/first
letter must start with
�P�
Description
Varchar
Not null
Profit_percent
int
3
Not null
Unit_measure
Varchar
10
Not null
Qty_on_hand
Int
Not null
Recorder_lvl
Int
Not null
Sell_price
money
10
Not null,cannot be 0
Cost_price
money
10
Not null,cannot be 0
. For creating table: product_master
. Data Output
Column Name
Datatype
Size
Constraints
salesman_no
varchar
salesman_name
varchar
20
Not Null
address1
varchar
30
Not Null
address2
Varchar
30
city
varchar
20
pincode
number
state
varchar
20
sal_amt
money
tgt_to_get
number
Not null,cannot be 0
ytd_sales
int
remarks
varchar
60
Not Null
. For inserting values to a table
. Data Output
Column Name
Datatype
Size
Default
Constraints
S_Order_No
Char
Primary Key
S_OrderDate
Date
Not Null
Client_No
Char
dely_addr
Varchar
25
Salesman_No
Char
delyType
Char
Delivery: part(P)/full(F)
billed_yn
Char
dely_date
Date
Order_Status
Varchar2
10
Values(�In process�,
�Fulfilled�, �Backorder�,
�Cancelled�)
. Data Output
Column
Data type
Size
attributes
s_order_no
varchar
Product_no
varchar
Foreign key
references
product_no of
product_master table
Qty_ordered
Int
Qty_disp
Int
Product_rate
money
10
. For creating table: sales_order_details
. Data Output
Column
Data type
Size
Attributes
challan_no
Varchar
Primary key
s_order_no
Varchar
challan_date
Date
Billed_yn
char
Values(�y�,�n�)
. For creating table: challan
. Data Output
Column name
Data type
Size
Attributes
Challan_no
Varchar
Primary key/foreign
key references
challan_no of challan
table
Product_no
varchar
6
Primary key/foreign
key references
product_no of
product_master table
qty_disp
int
Not null
. For creating table: challan_details
. Data Output