Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Writing SQL Server SPs using VFP
Message
From
19/03/2004 18:08:01
 
 
To
19/03/2004 16:08:06
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Miscellaneous
Thread ID:
00888050
Message ID:
00888102
Views:
14
Well, I'm not sure where you got that code, but it sure doesn't look like T-SQL to me!

You can send code to SQL to create stored procs from VFP either by SQL Passthrough (SQLEXEC), or by using SQL-DMO.

I have used tables to hold SQL code (in a memo field), fetched the memo into a memory variable, then fire SQLEXEC to pass it right to the server. Make sure the SP name is prefixed with "dbo." to identify the owner of the SP as the system!
Dan LeClair
www.cyberwombat.com
SET RANT ON - The Wombat Blog

Life isn’t a morality contest and purity makes a poor shield. - J. Peter Mulhern
Disclaimer: The comments made here are only my OPINIONS on various aspects of VFP, SQL Server, VS.NET, systems development, or life in general, and my OPINIONS should not be construed to be the authoritative word on any subject. No warranties or degrees of veracity are expressed or implied. Void where prohibited. Side effects may included dizziness, spontaneous combustion, or unexplainable cravings for dark beer. Wash with like colors only, serve immediately for best flavor.
Previous
Reply
Map
View

Click here to load this message in the networking platform