This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
Design says "In the event of an invalid field name being provided as part of the criteria the behavior of this method is the same as if no records matched correctly specified criteria". **** My Question **** If the Database has fields has A, B, C, D. and clients enters A,C,E. Do i have to stop the search function and indicate that 'no records found for search criteria' (or) I have to display records matching A,C.
To me the requirement states specefically that its all or nothing. If fields A, B matched but C didnt, did the criteria get fullfilled? No! When you query a regular database for example select * from TMP where A='TEST' and B='NAME' and C='SIMPLE' will it give back results that dont match all the above? I doubt it.
Never be satisfied with anything less than the best and you will surely pass the test...