Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

tblSignUp

Column Name
cstId
cstName
gender
uName
pwd
email
sQues
sAnswer

Data Type
int
varchar
varchar
varchar
varchar
varchar
varchar
varchar

Size
50
1
50
50
50
50
50

Allow Nulls
False
True
True
True
True
True
True
True

Constraints
Primary Key

Allow Nulls
False
True
True
True
True
True
True
True
True

Constraints
Primary Key

Allow Nulls
False
True
True
True
True
True

Constraints
Primary Key

tblProfile
Column Name
profileNo
cstMob
cstAdd
cstLMark
cstCountryId
cstStateId
cstCityId
cstPin
cstId

Data Type
int
bigint
varchar
varchar
varchar
int
int
int
int

Size
200
100
3

Foreign Key
Foreign Key
Foreign Key
Foreign Key

tblCredentials
Column Name
credentialNo
email
uName
pwd
userRole
cstId

Data Type
int
varchar
varchar
varchar
varchar
int

Size
50
50
50
10

Foreign Key

tblCompany
Column Name
cId
cName
cDesc
cWebSite
cAdd
cPin
cCountryId
cStateId
cCityId
cType

Data Type
int
varchar
varchar
varchar
varchar
int
varchar
int
int
bit

Size
50
100
30
50
3

Allow Nulls
False
True
True
True
True
True
True
True
True
True

Constraints
Primary Key

Allow Nulls
False
True
True
True
True
True
True
True

Constraints
Primary Key

Allow Nulls
False
True
True
True

Constraints
Primary Key

Allow Nulls
False
False
False
False
True
True

Constraints
Primary Key

Foreign Key
Foreign Key
Foreign Key

tblProducts
Column Name
pid
pName
pDesc
pPrice
stkInHand
pPic
catId
cId

Data Type
int
varchar
varchar
int
int
nvarchar
int
int

Size
50
50
50
50
200
50
50

Foreign Key

tblCategories
Column Name
catId
catName
catDesc
cId

Data Type
int
varchar
varchar
int

Size
20
50
50

Foreign Key

cities
Column Name
cityID
cityName
stateID
countryID
latitude
longitude

Data Type
int
varchar
int
varchar
float
float

Size
50
3

Foreign Key
Foreign Key

states

Column Name
stateID
stateName
countryID
latitude
longitude

Data Type
Int
varchar
varchar
float
float

Size
50
3

Allow Nulls
False
False
False
False
False

Constraints
Primary Key
Foreign Key

countries
Column Name
countryID
countryName
localName
webCode
region
continent
latitude
longitude
surfaceArea
population

Data Type
varchar
varchar
varchar
varchar
varchar
varchar
float
float
float
Int

Size
3
52
45
2
26
15

Allow Nulls
False
False
False
False
False
False
False
False
False
False

Constraints
Primary Key

Data Type
int
datetime
int

Size

Allow Nulls
False
True
True

Constraints
Primary Key

tblOrderMaster
Column Name
orderId
orderDate
oCompanyId

tblOrderDetails

Column Name
orderId
pid
qtyOrdered

Data Type
int
int
int

Size

Allow Nulls
False
True
True

Constraints

Data Type
int
int
datetime

Size

Allow Nulls
False
True
True

Constraints
Primary Key

Data Type
int
int
int

Size

Allow Nulls
False
True
True

Constraints

Data Type
int
int
datetime

Size

Allow Nulls
False
True
True

Constraints
Primary Key

Data Type
int
int
int

Size

Allow Nulls
False
True
True

Constraints

Foreign Key

tblBillMaster
Column Name
billNo
cstId
billDate
tblBillDetails
Column Name
billNo
pid
qtyPurchased

Foreign Key

tblInvoiceMaster
Column Name
invoiceId
orderId
invoiceDate

Foreign Key

tblInvoiceDetails
Column Name
invoiceId
pid
qtySent

Foreign Key

tblPayMode
Column Name
payMentId
payMentMode

Data Type
int
varchar

Size
20

Allow Nulls
False
True

Constraints
Primary Key

Allow Nulls
False
True
True
True
True
True

Constraints

tblPayment
Column Name
cstId
payMentDate
paymode
payAmt
billNo
cardNo

Data Type
int
date
varchar
int
int
bigint

Size
20

Column Name
name
email
subject
msg

Data Type
varchar
varchar
varchar
varchar

Size
50
50
50
50

Allow Nulls
True
True
True
True

Constraints

Column Name

Data Type

Size

Constraints
Primary Key

varchar
varchar
varchar

50
1
50
50
50
50
50

Allow Nulls
False
True
True
True
True
True
True
True

Foreign Key

Foreign Key

tblFeedBack

You might also like