Viewing 15 posts - 16 through 30 (of 82 total)
Parameter mappings should work for this.
On the general tab of the Execute SQL Task editor set the SQLStatement to: select * from MyTable where id = ?
Then go to the...
August 26, 2009 at 11:43 pm
Right click on the connection manager and select Edit. The Flat File Connection Manager Editor will open, then select Advanced in the left hand pane. This will list the columns...
June 23, 2009 at 11:04 pm
It would be very difficult to branch and merge SSIS packages. Even cosmetic changes like moving tasks on the control flow will cause the XML to change and that makes...
June 16, 2009 at 11:44 pm
I would not suggest using disabled tasks to store comments. You can use multiple annotations in the control flow and data flow. You can put one next to each task...
January 29, 2009 at 6:42 pm
Mike,
Are you ultimately trying to find the members of windows groups that have logins on your servers?
If so you can use xp_logininfo
EXEC xp_logininfo
'TheWindowsGroupYouWantToKnowAbout' -- account_name
,'members' -- [all|members], show members...
January 29, 2009 at 6:02 pm
You can use a case expression:
SELECT
SomeCol
,WhatItIs
,CASE WHEN LEN(SomeCol) = 0 THEN '#' ELSE SomeCol END AllSpacesToPound
,CASE WHEN DATALENGTH(SomeCol) = 0 THEN '#' ELSE SomeCol END EmptyStringToPound
,CASE WHEN SomeCol...
January 27, 2009 at 1:44 pm
When you are looking at the SSMS grid nulls and cells with whitespace are not the same thing. In fact cells that look like white space or empty strings can...
January 27, 2009 at 7:01 am
You should be able to do this with a lookup and a derived column (see attached screenshot).
Send the file output into a lookup task and join File.Ref on SQLTable.RefB just...
January 27, 2009 at 6:43 am
I think option 1 will serve you best but here is some info on how you could do option 2.
Setting this up is not difficult but when an ownership...
January 26, 2009 at 12:43 pm
Can you post some more detail on the file and table structure plus a few rows of sample data as well as the desired result?
January 26, 2009 at 10:46 am
Jeff has a good point with option 2.
Option 1:
Pros: No cross database dependencies
Cons: Potential to give users too much/too little access (could have permission on a table, might not have...
January 23, 2009 at 11:09 pm
I would use option 1. I don’t know that option 2 would really offer you any benefits and there are just a few more details to implement and maintain.
You could...
January 23, 2009 at 4:57 pm
The unique constraint violation might be caused by nulls in your join columns. There are probably rows with a null Address2 line that might already exist in addresses and when...
January 23, 2009 at 12:13 pm
You might be better off using an identity column for PlanID. While the order would not be sequential for each SessionID it would be increasing and it would make the...
January 22, 2009 at 10:27 pm
Thanks Jeff.
Glad I didn’t get hit by any flying pork chops. 😀
January 22, 2009 at 9:36 pm
Viewing 15 posts - 16 through 30 (of 82 total)