19

Admit it. We've all selected * before.

Comments
  • 1
    Take what you want, but eat what you take. Select only the fields you really need.
  • 1
    @csessh A query might run thousands of times a day, and passing unnecessary data over the network is a wast.
  • 0
    Production db at work has a lot of select * stored procedures because we always need all of the fields from the tables.
  • 1
    A lesson learned eventually with many tears. We've had it bad enough where a joined table with multiple text fields overloads the buffer... 😖
  • 1
    @Seethe My current job's way of thinking: what is a join? Is it tasty?
  • 0
    @projektaquarius I do not envy you...
  • 0
  • 1
    I did when I first started, now I put column names cause its easier than pulling up either my text file or phpmyadmin to see what the column names are
Add Comment