I don't think you can use SQL Server views in this manner.  If you have
quite a few parameters pass them in as xml.  I haven't done much work
with xml in VFP, but SQL server handles XML quite nicely, especially if
it's SQL Server 2005.

Thanks,
 
Nick Cipollina
 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Michael Babcock
Sent: Thursday, July 27, 2006 4:02 PM
To: [EMAIL PROTECTED]
Subject: Re: [NF] Views in SQL Server

Nick Cipollina wrote:
> I'm actually in the process of doing the same thing.  We have a legacy
> FoxPro application and all of the data is currently in VFP free
tables.
> I am going to start moving the data to SQL Server.  I have chosen the
> approach of using SQL stored procs with T-SQL commands to do all
> querying, updating, etc...  For what you are doing, I think stored
procs
> are definitely the way to go.
>
> Thanks,
>  
> Nick Cipollina
>   

But say you've got a table with many columns....won't that be a royal 
PITA to pass all of those columns as parms to a stored proc that updates

the specific row?  Wouldn't the use of a view get around this pain?

--Michael



[excessive quoting removed by server]

_______________________________________________
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
** 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.

Reply via email to