* Steve Rapaport

Regarding integer/string conversions:

  select rec_no,phone_no from White where phone_no=0636941;

versus 

  select rec_no,phone_no from White where phone_no='0636941';

> Seems naive to me, since the datatype of the field is known, why 
> not convert the constant instead?  Then everything would work at 
> least as well, and always faster.

...except it would probably by converted to '636941', not '0636941'...

-- 
Roger
database, table, sql

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to