Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in MySQL only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Member List
Calendar
Today's Posts
Home
Forum
Topic
MySQL
mysql help
mysql help
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
sudheerk
New Member
Join Date:
Jul 2007
Posts:
13
#1
mysql help
Jul 23 '07, 07:57 PM
query for not allowing the names which are already wxists in the database in mysql
r035198x
MVP
Join Date:
Sep 2006
Posts:
13225
#2
Jul 24 '07, 10:45 AM
Originally posted by
sudheerk
query for not allowing the names which are already wxists in the database in mysql
Please don't double post
Comment
Post
Cancel
dafodil
Contributor
Join Date:
Jul 2007
Posts:
389
#3
Jul 24 '07, 10:56 AM
Just set it as a unique
example:
ALTER TABLE `pdt_tracker` ADD UNIQUE `Tracker_Code` ( `Tracker_Code` )
You can also set it as a primary key.
Comment
Post
Cancel
Previous
template
Next
Working...
OK
OK
Cancel
👍
👎
☕
Comment