SQL Server Central is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
Search:  
 
 

Articles with tag Dynamic SQL Rss

Refine your search with one of the following additional tags (with number of items):

T-SQL (2)    

Search for any content tagged Dynamic SQL

   Items 1 to 2 of 2   
 

Using the CASE expression instead of dynamic SQL

I have a lot of SQL update queries where I need to make IF/ELSE types of decisions. I am using a cursor in some cases but looping through thousands of rows for update takes a long time. I also use some dynamic SQL to handle some query parameter decision making. Is there a better alternative?  Read more...
By Additional Articles 2008/03/20 | Source: MSSQLTips.com | Category: T-SQL
Rating:  Rate this |  Briefcase | 4,336 reads

The curse and blessings of dynamic SQL

How you use dynamic SQL, when you should - and when you should not.   Read more...
Rating:  Rate this |  Briefcase | 4,996 reads
   Items 1 to 2 of 2