mysql queries - performance loss by putting numbers in quotes?

Posted by Haroldo on Stack Overflow See other posts from Stack Overflow or by Haroldo
Published on 2010-06-16T10:32:22Z Indexed on 2010/06/16 11:52 UTC
Read the original article Hit count: 124

Filed under:
|
|
|

If a variable will always be a number, is there a performace loss by putting it in inverted commas?

for example

"SELECT prod.product_name FROM prod WHERE prod.id = '$id'";

© Stack Overflow or respective owner

Related posts about php

Related posts about mysql