Viewing 15 posts - 3,646 through 3,660 (of 4,085 total)
Set the DelayValidation property of your File Connection to True.
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 25, 2011 at 2:14 pm
You're probably missing the space between the "WHERE" and your filter.
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 25, 2011 at 2:09 pm
Instead of using "SQL command" try using "SQL command from variable". The variable would need to contain the entire SQL command rather than just the filter.
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 25, 2011 at 9:24 am
paul.r (8/24/2011)
Ultimately I would like to read a specific value from the dtsConfig file.
You should be using Package Configurations to read values from the dtsConfig file. Why re-invent the...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 24, 2011 at 1:06 pm
bhushan_juare (8/23/2011)
This is not possible using stored procedure
I've never done it, but this link claims that it is possible.
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 23, 2011 at 7:45 am
Why would you want to? That's like building a table only with columns not with rows.
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 23, 2011 at 7:40 am
Have you considered using a view? That's also a way to reuse code, but it's still set-based.
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 19, 2011 at 6:44 am
In your "Lookup" transformation, you need to "Configure Error Output..." to "Ignore Failure" for the lookup error.
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 18, 2011 at 1:25 pm
I don't understand why you're even using a UDF for this update. It looks like you should just be able to join your tables directly to perform the updates.
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 18, 2011 at 1:20 pm
Maybe the problem is that you are using a cursor in the first place. Cursors are horribly inefficient and are rarely the optimal solution to the problem.
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 17, 2011 at 8:11 am
Here is a good example of dynamically changing the connection string to a server connection using the foreach ADO enumerator. It can easily be adapted to dynamically set the...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 15, 2011 at 8:23 am
Phil Parkin (8/15/2011)
You'd just need to alias accordingly:
Just adding an alias isn't enough. The original solution assumes that the records are unique for MonthYear and Location within their respective...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 15, 2011 at 7:30 am
You indicate no extension by ending your Regex with a period, e.g., "Filename*." The trailing period is optional if there is no extension, so it is usually omitted, but...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 12, 2011 at 1:56 pm
If you use the grouping() functions, you can do this without the temp table.
SELECT
CASE WHEN Grouping(ID2) = 1 THEN ID END AS ID
, CASE WHEN Grouping(Val) =...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 11, 2011 at 2:33 pm
It's probably easier to change your aggregate to a distinct count.
Count(DISTINCT Staff_Seq_Num)
You may also need to use another field if that doesn't give you the correct counts.
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
August 5, 2011 at 7:01 am
Viewing 15 posts - 3,646 through 3,660 (of 4,085 total)