Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stored Procedures In SQL SERVER
Message
De
21/06/2005 09:29:49
Stephen Hunt
Admit Computer Services Inc.
Farmingdale, New York, États-Unis
 
 
À
21/06/2005 04:34:22
Jon Neale
Bond International Software
Wootton Bassett, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01024935
Message ID:
01025130
Vues:
21
I wanted to create a stored procedure that is a select statement from multiple tables into 1 result set. I also what to pass the stored procedures a bunch of parameters that will be part of the select statement.

for ex: parameter1={01/01/2005}
parameter2={12/31/2005}

stored procedure

select * from table1,table2,table3 where table1.field1 between(parameter1,parameter2) and table2.field1 between(parameter1,parameter2) and table3.field1 between(parameter1,parameter2)

endprocedure
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform