• Quick links
    • Unanswered topics
    • Active topics
    • Search
    • The team
  • FAQ
  • Login
  • Register

PHP forum, your PHP coding community

A community in which webmasters can ask for help with topics such as PHP coding , MySQL , IT jobs, web design, IT security.

  • Home Board index php forum :: Database mySQL & php coding
  • Search

Does WHERE have to point to PRIMARY KEY?

Codes here !

Moderators: egami, macek, gesf

Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
Tony121076
New php-forum User
New php-forum User
Posts: 28
Joined: Fri Jan 03, 2003 4:00 pm

  • Quote

Fri Jan 31, 2003 3:14 am

when doing an "UPDATE" or "DELETE" mySQL call, does the WHERE need to refer to the PRIMARY KEY, or can it refer to and columb name?
Top

User avatar
Redcircle
Moderator
Moderator
Posts: 826
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA
Contact:
Contact Redcircle
Website AOL

  • Quote

Fri Jan 31, 2003 12:21 pm

NO.. it is just recommended because it is faster.
Top

Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “mySQL & php coding”

Jump to
  • php forum :: php coding
  • ↳   PHP coding => General
  • ↳   PHP coding => Images
  • ↳   PHP coding => Mail
  • PHP
  • ↳   PHP General
  • ↳   PHP Scripts
  • ↳   PHP Installation
  • ↳   PHP Jobs
  • ↳   PEAR and PECL
  • ↳   Your Scripts
  • php forum :: Database
  • ↳   mySQL & php coding
  • ↳   phpMyAdmin
  • ↳   MySQL Installation
  • ↳   Other Database Engines
  • php forum :: PHP and MySQL Security
  • ↳   PHP & MySQL Security
  • System Administration
  • ↳   Server installation and configuration
  • ↳   Server security
  • php forum :: HTML
  • ↳   JavaScript
  • ↳   HTML Basics
  • ↳   CSS
  • php forum :: Bar
  • ↳   Free time
  • ↳   News and Announcements

Login  •  Register



ADVERTISEMENT


ADVERTISEMENT


ADVERTISEMENT

  • Home Board index
  • All times are UTC-08:00
  • Delete all board cookies
  • The team
  • Contact us
 

 

Powered by phpBB™ • Design by PlanetStyles
cron