Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic Where in Stored procedure
Message
De
26/01/2010 13:36:18
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Titre:
Dynamic Where in Stored procedure
Divers
Thread ID:
01446026
Message ID:
01446026
Vues:
109
Hi,
The question is more about SQL Server.. but.. maybe someone help :)

I have a stored procedure which return resultset..
As interface I have search string which must provide fulltext search... in the code I build WHERE rule from search string and want to pass it to stored procedure..
Can anyone show me example is it possible to use sp parameter
AS
@wherestatement STRING in the stored procedure

Of course I can build the SQLExpression in my code and then using sqlcommand return resultset. but way with stored procedure helps me to bind storedprocedure resultset to Linq class and Linq class - bind to the datasource of the grid.

Thanks for help

Denis
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform