Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parameterized Views?
Message
From
08/12/2000 10:06:10
 
 
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
00450647
Message ID:
00450783
Views:
30
>Does MSSQL have VFP's equivalent to pViews or do I use Prepared SQL Statements with parameter markers or should I just execute dynamic-SQL?

The closest equivelent would be a stored procedure...

CREATE STORED PROCEDURE

(@startdate datetime
,@enddate datetime
)

AS

SELECT * from MyTable where invoicedate is between @startdate and @enddate

RETURN
*******
Then you can call this will SPT in VFP and it will return a result set.

BOb
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform