Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Ad icon
🎮 INDIAN PSN GIFT CARDS AVAILABLE NOW! 🎮
madukaperera
Updated:
Yesterday at 12:57 PM
🚀 Google AI PRO – 18 Months | Rs. 850 Only
lkkolla
Updated:
Monday at 4:56 PM
🔒 NordVPN Premium – 3 Months
hrdilshan
Updated:
Thursday at 8:29 PM
🚀 Microsoft Office 365 Pro Plus – Lifetime Access! 🚀
hrdilshan
Updated:
Thursday at 8:28 PM
Linkedin Premium Business / Careere /Sales Navigator - 1/2/3/6/9/12 Months - Reddem Link
hrdilshan
Updated:
Thursday at 8:27 PM
Electronics
Vehicles
Property
Search
Reply to thread
Forums
Computers & Internet
Software Development
MySQL help
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="picsms" data-source="post: 2099826" data-attributes="member: 99297"><p><strong>Try this</strong></p><p></p><p></p><p> </p><p>Hey Bos</p><p> </p><p>I had Creadted in my local server and get the script for you. smal advice when ur creating Tables in any DBMS you should keep a Primarykey</p><p>i had created with primary key if u want keep other wise delet it</p><p> </p><p>here the MySql Query</p><p> </p><p>CREATE TABLE `Customer_Details` ( </p><p>`Name` VARCHAR( 25 ) NOT NULL ,</p><p>`Address` VARCHAR( 50 ) NOT NULL ,</p><p>`Contact_No` INT( 10 ) NOT NULL ,</p><p>`Total_Price` INT( 15 ) NOT NULL ,</p><p>`Coustomer_Id` INT( 4 ) NOT NULL AUTO_INCREMENT ,</p><p>PRIMARY KEY ( `Coustomer_Id` ) </p><p>) ENGINE = MYISAM </p><p> </p><p>If you dont want with Primary Key Delet the line in Red in coming query</p><p> </p><p>CREATE TABLE `Customer_Details` ( </p><p>`Name` VARCHAR( 25 ) NOT NULL ,</p><p>`Address` VARCHAR( 50 ) NOT NULL ,</p><p>`Contact_No` INT( 10 ) NOT NULL ,</p><p>`Total_Price` INT( 15 ) NOT NULL ,</p><p><span style="color: red">`Coustomer_Id` INT( 4 ) NOT NULL AUTO_INCREMENT ,</span></p><p><span style="color: red">PRIMARY KEY ( `Coustomer_Id` ) </span></p><p>) ENGINE = MYISAM </p><p> </p><p>Note:-</p><p>Without Primary key creating a table is not profissional k. just my opinion</p><p> </p><p>K bos i think you got anser for ur question.</p><p> </p><p>Enjoy</p></blockquote><p></p>
[QUOTE="picsms, post: 2099826, member: 99297"] [b]Try this[/b] Hey Bos I had Creadted in my local server and get the script for you. smal advice when ur creating Tables in any DBMS you should keep a Primarykey i had created with primary key if u want keep other wise delet it here the MySql Query CREATE TABLE `Customer_Details` ( `Name` VARCHAR( 25 ) NOT NULL , `Address` VARCHAR( 50 ) NOT NULL , `Contact_No` INT( 10 ) NOT NULL , `Total_Price` INT( 15 ) NOT NULL , `Coustomer_Id` INT( 4 ) NOT NULL AUTO_INCREMENT , PRIMARY KEY ( `Coustomer_Id` ) ) ENGINE = MYISAM If you dont want with Primary Key Delet the line in Red in coming query CREATE TABLE `Customer_Details` ( `Name` VARCHAR( 25 ) NOT NULL , `Address` VARCHAR( 50 ) NOT NULL , `Contact_No` INT( 10 ) NOT NULL , `Total_Price` INT( 15 ) NOT NULL , [COLOR=red]`Coustomer_Id` INT( 4 ) NOT NULL AUTO_INCREMENT , PRIMARY KEY ( `Coustomer_Id` ) [/COLOR] ) ENGINE = MYISAM Note:- Without Primary key creating a table is not profissional k. just my opinion K bos i think you got anser for ur question. Enjoy [/QUOTE]
Insert quotes…
Verification
Winadiyakata thappara keeyak tibeda?
Post reply
Top
Bottom