Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic Where in Stored procedure
Message
From
26/01/2010 13:36:18
 
 
To
All
General information
Forum:
ASP.NET
Category:
ADO.NET
Title:
Dynamic Where in Stored procedure
Miscellaneous
Thread ID:
01446026
Message ID:
01446026
Views:
110
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
Next
Reply
Map
View

Click here to load this message in the networking platform