Viewing 15 posts - 11,326 through 11,340 (of 13,872 total)
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
Without DDL and example data I can give only a generic answer. But something like
select t1.*
from t1 left join t2 on (t1.f1 = t2.f1 and t1.f2 = t2.f2 ...)
where t2.f1...
June 13, 2011 at 11:38 pm
Or provide an additional parameter and use a sp as the report's source to handle the selection in any way you wish ...
June 13, 2011 at 8:54 am
Did you try my suggestion - if so, did it fail? What error did you get?
Otherwise, please explain your reasons for not wanting to try.
June 13, 2011 at 8:35 am
I haven't tried, but maybe you could use a view for the source of your data.
June 13, 2011 at 8:21 am
Viewing 15 posts - 11,326 through 11,340 (of 13,872 total)