Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parameterized Views?
Message
De
08/12/2000 10:06:10
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Divers
Thread ID:
00450647
Message ID:
00450783
Vues:
31
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform