Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question about performance
Message
From
13/10/2004 05:27:43
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Other
Title:
Question about performance
Miscellaneous
Thread ID:
00950954
Message ID:
00950954
Views:
57
Hi All,

I work with Visual Foxpro. I have to use Dynamic Where Clause in my SQL Server queries.

I found two options on the threads :
1) SELECT * FROM Table WHERE (SELECT CASE ...) = (SELECT CASE ...)
2) DECLARE @SqlStatement varchar(4000)
SET @SqlStatement = 'Sql Statement'
EXEC (@SqlStatement)

I'd like to know which option offer better performance.
Or is there other options ?

Thanks for your help.
Next
Reply
Map
View

Click here to load this message in the networking platform