@Anonymous said:
A list of WTFs found so far:
- Querying a database to find out the date
- Returning it as a VARCHAR
- Using a DataSet instead of output variables or ExecuteScalar
- Using a for loop that terminates on the first iteration
- Not closing the connection as early as it could be?
- Not setting a value to notemessage
Also:
- There is a resource leak if an exception is thrown after the connection is opened
- My ex-manager was called "Steve". She's called "Steph" now . . . WTF! [:|]