On 5/25/2012 12:12 PM, Stephen Russell wrote: > As a heads up you try to NEVER generate dynamic code on the server. > Your planning in an SP should handle the various ways they are going > to ask and how you are going to do it. You just use a set of IF > statements to run the proper query.
That's why I generated over 8000 views to give the accountant every possible option. I wouldn't have had to do that if I could do dynamic SQL (built on the fly) like I can do in VFP, but these RDBMSes don't seem to really like that at all. -- Mike Babcock, MCP MB Software Solutions, LLC President, Chief Software Architect http://mbsoftwaresolutions.com http://fabmate.com http://twitter.com/mbabcock16 _______________________________________________ Post Messages to: [email protected] 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/[email protected] ** 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.

