Re: [PHP-DB] MS-SQL Error Message Replacement

2001-01-24 Thread Andreas Karajannis
[EMAIL PROTECTED] wrote: > How can I put in my own custom message when these errors occur? > Should I be looking for a failed query message and then acting on > that? I like the protection that the foreign key relationship > enables, because you can't delete "parent" objects without >

RE: [PHP-DB] MS-SQL Error Message Replacement

2001-01-24 Thread Alarion
well, one way would be to place a check before the delete statement. check to see if there are any child records and then only send the delete statement if it is ok to delete :) -Sean -Original Message- From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, January 24,