in reply to Re^5: SQL Insert with blank in the middle
in thread SQL Insert with blank in the middle

It is easier to read and makes errors less likely because all parameters are always together and you do not have to look at two places.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

  • Comment on Re^6: SQL Insert with blank in the middle

Replies are listed 'Best First'.
Re^7: SQL Insert with blank in the middle
by Jenda (Abbot) on Jul 08, 2010 at 22:09 UTC

    The thing is ... are those two "parameters"?

    Jenda
    Enoch was right!
    Enjoy the last years of Rome.

      Not if you look at it very strict, but I consider all input that can be parametrized to be a parameter, but YMMV.

      CountZero

      A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James