Viewing 15 posts - 196 through 210 (of 1,124 total)
jgenshlea (5/14/2009)
--Ramesh
May 15, 2009 at 1:07 am
jcwilliams (5/14/2009)
Ramesh (5/14/2009)
Let us...
--Ramesh
May 15, 2009 at 12:52 am
If you could have read Books Online, you would surely be able to solve it on your own. Anyways, here is the solution for the sample data provided by...
--Ramesh
May 14, 2009 at 10:26 am
When using IN clause the sub-query must only return a single column but in this case "*" is used.
Modified Query
Insert Into tPM_Cmptc_Cat_Skill_Codes (compcatidno, skillcodeidno, fromeffectdate, toeffectdate)
select '-10001', a.skillcodedomainidno, a.skillcodefromeffectdate,...
--Ramesh
May 14, 2009 at 10:20 am
Look for ROW_NUMBER() function with PARTITION BY clause in Books Online.
--Ramesh
May 14, 2009 at 10:15 am
Ramesh
I suspect there's something missing here [Wink]
Are you sure that you wanted to replace all zeros with empty strings or just the leading zeros?
I'm having a bad day today:hehe:, most...
--Ramesh
May 14, 2009 at 9:47 am
How are you setting the named range in excel destination connection?
I think it should be set to "Command" and the command text should set to "SELECT * FROM...
--Ramesh
May 14, 2009 at 9:36 am
You are welcome, and thank you for the compliment.
--Ramesh
May 14, 2009 at 9:26 am
I don't know why it is not working at your end, but it works fine at my machine. I've attached a sample package that I've created.
Let us know if...
--Ramesh
May 14, 2009 at 9:25 am
I suspect there's something missing here;-)
Are you sure that you wanted to replace all zeros with empty strings or just the leading zeros?
--Ramesh
May 14, 2009 at 6:58 am
Okay, I've found the place where the problem lies. Its "Operation" property of "File System Task" which should be "Rename file" instead of "Move file".
"Move file" Operation does not...
--Ramesh
May 14, 2009 at 6:19 am
WHERE Clause needs to be added to the PivotedColumnSQL as well.
Revised Code:
DECLARE @PivotedColumnSQL VARCHAR(MAX),
@sql NVARCHAR(MAX),
...
--Ramesh
May 14, 2009 at 1:40 am
I don't think there's any issue with the expression but could be a problem with the destination connection settings. Can you post the screenshot of the destination connection as...
--Ramesh
May 14, 2009 at 1:39 am
I suggest you do it without using connections.
1. Create variable "SourceDir" to hold source directory
2. Create variable "SourceFilePath" to hold current file path
3. Create variable "TargetDir" to hold target directory
4....
--Ramesh
May 13, 2009 at 9:57 am
I think the problem is with the variable mapping of for each loop container...
Shouldn't this "Variable Mappings = User::Dest_file" be "Variable Mappings = User::Src_File"?
--Ramesh
May 13, 2009 at 8:27 am
Viewing 15 posts - 196 through 210 (of 1,124 total)