Steve Ellenoff wrote: > I've been wondering if anyone knows if there is (and if so what is > it) the limit of how many parameters you can supply in a > parameterized view such as: > > SELECT * FROM customer WHERE first = ?pcFirst AND ?pcLast (in this > case there are 2 parameters) > > I'm wondering more from a SQL Pass through point of reference rather > than Local/Remote views, if that makes any difference. > > I'm considering writing some code that would use parameters for every > field in my insert & update sql-pass through command strings rather > than string literals, but thought I might hit some kind of limits of > vfp / odbc, and don't want to waste time going that route if the > limits are relatively low. > > Thanks for any help- > Steve
Hi Steve! I prefer the SPT way using the framework I've put together for my VFP/MySQL projects over the past years. In that case, you're only limited by string length and the backend RDBMS. You might use TEXTMERGE as well to get around the parms issue (if there even is one)....then you're just limited by SQL length. I'm going to scrub that data today for the Scheduler app I wrote and then post it shortly. Grab the code then and check out how I use the sqldefs.dbf as metadata for all of the data retrieval/update operations, as well as local (temp) indexing on the cursors. --Michael _______________________________________________ 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.

