[PHP-DB] catch warnings?

2002-07-10 Thread Gabor Niederlaender
Hi all! This is not a typical DB-Question, but I hope you give me some hints either... If I insert a String instead of a date(f.Ex) into the DB, I get a Warning: MS SQL message: Syntax error converting datetime from character string. (severity 16) How can I catch these warnings in PHP? Best

RE: [PHP-DB] catch warnings?

2002-07-10 Thread Peter Lovatt
--- -Original Message- From: Gabor Niederlaender [mailto:[EMAIL PROTECTED]] Sent: 10 July 2002 12:37 To: [EMAIL PROTECTED] Subject: [PHP-DB] catch warnings? Hi all! This is not a typical DB-Question, but I hope you give me some hints either

Re: [PHP-DB] catch warnings?

2002-07-10 Thread Adam Alkins
Hi all! This is not a typical DB-Question, but I hope you give me some hints either... If I insert a String instead of a date(f.Ex) into the DB, I get a Warning: MS SQL message: Syntax error converting datetime from character string. (severity 16) How can I catch these warnings

Re: [PHP-DB] catch warnings?

2002-07-10 Thread Michael Bretterklieber
Hi, try SELECT @@ERROR as errorcode bye, Adam Alkins schrieb: Hi all! This is not a typical DB-Question, but I hope you give me some hints either... If I insert a String instead of a date(f.Ex) into the DB, I get a Warning: MS SQL message: Syntax error converting datetime from character