Viewing 15 posts - 11,311 through 11,325 (of 13,861 total)
Your screen shot does not show the right hand side of the properties box ...
June 16, 2011 at 7:48 am
I suggest that you scope the variables at the package level to ensure that they are persisted between tasks.
Your expression will contain variable names, not ?s.
June 16, 2011 at 7:46 am
You should be able to do this just fine by using an SSIS Expression as the SQL for your Execute SQL task.
June 16, 2011 at 2:55 am
Not that I know of - maybe someone else will have some ideas.
June 15, 2011 at 9:33 am
Visual Studio 2002 ???
You need SQL Server Enterprise Edition to use fuzzy lookup.
June 15, 2011 at 8:57 am
jpSQLDude (6/15/2011)
June 15, 2011 at 7:20 am
Or run an Execute SQL 'UPDATE' at the end of the import.
You may also like to check the LOOKUP transformation.
June 15, 2011 at 7:05 am
Check out Row_Number() function in BOL - it may give you what you need, with a bit of tweaking to get formatting and order how you want:
Select 10 * ROW_NUMBER()...
June 15, 2011 at 2:36 am
Use a connection for the log file and use an external config file or SQL Agent job property to override the connection properties to match whatever environment the package is...
June 14, 2011 at 1:51 pm
Looks like it should work OK - what happens?
Try a couple of minor refinements:
WITH CTE AS (SELECT EmpID, TimeDuration
...
June 14, 2011 at 10:35 am
Sorry - bit pushed for time hence brief replies.
I meant build your subquery, including the UNION, and then apply the CASE on that.
;with cte as
(select f1
from t1
union
select
f2 from t2)
select case...
June 14, 2011 at 9:08 am
'No luck' doesn't help diagnostics much.
You never mentioned that you were using a UNION - you need to do the union first as a subquery and then build your case/sum...
June 14, 2011 at 8:51 am
SELECT
CASE WHEN f1 > 2400 THEN 2400
ELSE...
June 14, 2011 at 8:10 am
Why have you posted this script?
June 14, 2011 at 6:54 am
Something like this?
SELECT 'Plo_' + Vendor + '_' + Shipto + '_' + CONVERT(CHAR(5),GETDATE(),108),
*
FROM dbo.Product p
WHERE Weeks =...
June 14, 2011 at 6:00 am
Viewing 15 posts - 11,311 through 11,325 (of 13,861 total)