Viewing 15 posts - 11,371 through 11,385 (of 11,678 total)
The problem you described is an old caveat that exist (or did exist) in most programming languages.
Usually this is with the iif or iff syntax.
Most programming languages either deprecated the...
June 1, 2010 at 3:05 am
If you use a "logical" surrogate key in the fact table, for example 20100601, you can still have the time table AND fast searching and simple SQL queries against the...
June 1, 2010 at 12:26 am
What is the error that you get?
And why do you create a variable Filename that you don't use?
The following solution should work:
map the SSIS variable FileName in the For Each...
May 28, 2010 at 2:01 am
Sorry, I forgot.
In 2008, the For Each loop returns the directory + the filename, in 2005 only the filename is returned.
So, you need to construct an expression that looks like:
"\""...
May 28, 2010 at 1:55 am
I think it is better to use the For Each File container.
Point this container to the right directory and set up which files he must loop (.xls or .csv or...
May 27, 2010 at 8:28 am
At my current project, when I'm stuck with a problem for more than 15 minutes, I call an (older) colleague with much more experience than me. Mostly, when I'm halfway...
May 27, 2010 at 2:12 am
I do not fully understand.
The batch begins with:
SET IMPLICIT_TRANSACTIONS OFF
According to BOL, this means the following:
... SET IMPLICIT_TRANSACTIONS OFF statement, which returns the connection to autocommit mode. In autocommit mode,...
May 27, 2010 at 12:32 am
Nice (lengthy) article with great examples!
May 26, 2010 at 7:56 am
Not 100% sure what you need, but maybe you could use the following query in the configuration of the lookup component:
SELECT
Patient_ID,
MAX(Date_Column) AS Date_Column
FROM My_Lookup_Table
GROUP BY Patient_ID
This code will make sure...
May 26, 2010 at 7:54 am
Using select * could cause SSIS to crash if a column is added to the table (or removed). That's why you want to refresh the metadata, to stop SSIS from...
May 26, 2010 at 7:47 am
I don't know how things work in Informix, but in SQL Server you have system tables that contain all the table names.
You could write a script that iterates over this...
May 26, 2010 at 5:34 am
To be complete:
this is the second solution Phil spoke of:
SELECT ID, SiteName, DRCNum, TypeID, Point, [Time], CardNumber, FormatName
FROM TransactionLog
WHERE DateAdd('d',DateDiff('d',0,[TIME]),0) = Format(DateAdd('d', - 1, DATE ()), 'dd/mm/yyyy')
The combination of the...
May 26, 2010 at 4:57 am
I would do the following:
1. To get the 10k customer details.
Set up a OLE DB Source which will read your SQL Server table with 10k customers. In the dataflow, add...
May 26, 2010 at 4:23 am
Viewing 15 posts - 11,371 through 11,385 (of 11,678 total)