Andrew Channels Dexter Pinion

Monday, December 17, 2001

Here is some quality SQL; SELECT decode(customer_class_code, '', 'Distributor', customer_class_code) FROM ra_customers / Someone should really learn how to use 'NVL'. Mind you, as I said to Mr Kelly when we found that code, this is the reason people like us are never going to be short of work.
posted by Andy Todd 3:44 PM

Thursday, December 13, 2001

This is why I hate coding in c. The simplest program in the world; #include int main() {     char *string = '\0';     strcpy(string, "my string"): } Core dumps. If I change the definition of 'string' to char string[255]; everything is hunky dory. I don't know why, but I'm bloody well going to find out.
posted by Andy Todd 2:11 PM