CREATE TABLE dealerdetails
(dealerid
tinyint NOT NULL
,gstno
tinytext NOT NULL
,orgname
varchar NOT NULL
,dealername
varchar NOT NULL
,dealeremail
tinytext NOT NULL
,dealermobile
tinyint NOT NULL
,dealeraddress
text NOT NULL
,dealerpincode
tinyint NOT NULL
,note
tinytext NULL
,PRIMARY KEY (dealerid
)
);
CREATE UNIQUE INDEX dealerid
ON dealerdetails
(dealerid
);
Thanks for your reply. Here it goes