Re: [GENERAL] Query Question (one group by vs two separate)

2008-12-13 Thread Joris Dobbelsteen
Jonathon Suggs wrote, On 10-12-08 20:12: I'm asking this as a more general question on which will perform better. I'm trying to get a set of comments and their score/rankings from two tables. *comments* cid (integer, primary key) title body *comment_ratings* cid (integer, primary key) uid (i

[GENERAL] application readable error message

2008-12-13 Thread SunWuKung
Hi, I am trying to return an application error message on certain db raised errors to the form the info came from. What is the usual way for an application to identify the source of an error? The info (error type, table, column) is sometimes in the error message sometimes not, but even when it is