On Fri, Jan 14, 2011 at 12:09 PM, Rafael Copquin <[email protected]> wrote: > You asked why I want to use an SP instead of simple VFP passthrough. The > answer is: I don't know. I just read somewhere that stored procedures > are "better" so, in my ignorance...... > > As for updating or adding to the table, that could be a possibility but > then I would do that with a regular VFP statement. > Unless you can suggest a better way. > I'm just learning so I'm open to suggestions ------------
SPs are great. SPs are a PITA somewhere between those two statements will be your experience. Some DBAs demand only SP consumption of data or you do not have read writes to tables and views. SPs can help you from code injection that can screw your system. If all of your data access is dynamic you may let outsiders inject bad text that can destroy your db. -- Stephen Russell Sr. Production Systems Programmer CIMSgts 901.246-0159 cell _______________________________________________ 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.

