Jul 7, 2008 #1 b00gieman Programmer Jul 9, 2007 60 DE Hi, Is it possible to have a 'Execute SQL task' with parameters like: if 'input_parameter'='value' 'sql_query' else 'sql query' ? Thanks in advance!
Hi, Is it possible to have a 'Execute SQL task' with parameters like: if 'input_parameter'='value' 'sql_query' else 'sql query' ? Thanks in advance!
Jul 7, 2008 #2 RiverGuy Programmer Jul 18, 2002 5,011 US If you're going to be changing the entire query as opposed to just a WHERE clause parameter, then a Dynamic Properties Task will work. See here: http://msdn.microsoft.com/en-us/library/aa933528(SQL.80).aspx Upvote 0 Downvote
If you're going to be changing the entire query as opposed to just a WHERE clause parameter, then a Dynamic Properties Task will work. See here: http://msdn.microsoft.com/en-us/library/aa933528(SQL.80).aspx