On Fri, Jan 14, 2011 at 8:57 AM, Rafael Copquin <rcopq...@ciudad.com.ar> wrote: > I just need to know whether or not the record exists, so a return of 0 > if it does not exist or 1 if it does is ok > > But I would rather go the SQL Stored procedures way (if it is better > than the way suggested by Alan ------------
In your case for a dynamic generation I would say it is NOT better in an SP. An SP is great for tested standard code that delivers expected results. This is not that type of request. -- Stephen Russell Sr. Production Systems Programmer CIMSgts 901.246-0159 cell _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/aanlktikwxhjs6ds-aqinrk_n6abp7yfm3fasun6a1...@mail.gmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.