Women in Technology

Hear us Roar



Article:
  Perl Program Repair Shop and Red Flags
Subject:   Red Flag in the SQL !
Date:   2001-06-08 04:39:34
From:   mikewhit
The line "SELECT * FROM info" is also asking for trouble as soon as the database format changes.


You should always explicitly state the fields you want to retrieve in a SELECT statement, if your app relies on fields being in a particular order - which this one does.