Double quotes and single quotes around variables. Which one is faster in SQL query?

Discussion in 'PHP' started by Ian08, Sep 20, 2017.

  1. NetStar

    NetStar Notable Member

    Messages:
    2,471
    Likes Received:
    541
    Best Answers:
    21
    Trophy Points:
    245
    #21
    I think you are focused on the wrong area for speed optimization... The only thing that will slow you down when trying to decide between single vs double is the fact that you are spending time trying to decide between one or the other... The performance gain or loss is so insignificant it is NOT going effect the end user... I'm sure there will be some nerd that will now come along and say "Not true!! It will be 0.00000001 seconds slower!". Seriously... move on this concern is a waste of time.
     
    NetStar, Oct 15, 2017 IP
    sarahk likes this.