Viewing 15 posts - 16 through 30 (of 46 total)
The dates created in the second expression shown in your last post may not be what you expect. When I tried this one substituting a hard coded year: (DT_DBDATE)(01 /...
February 14, 2020 at 7:01 pm
I didn't actually test that, just noticed there was a delimiter missing. I tested this in a derived column:
(DT_DBDATE)("1999" + "-10-11")
and it produced a value of 10/11/1999 in a data...
February 13, 2020 at 7:18 pm
Do you maybe need a "/" and perhaps parens:
( "01/01" + "/" + [@$Package::Year] )
February 12, 2020 at 11:12 pm
Just thought I’d throw this out there….
If your input file is a .csv, an approach that might be simpler to debug would be to do the chunking and importing in...
February 4, 2020 at 11:06 pm
I have used the MS Access database engine to process Excel files in SSIS. It's a library, so no user interface, if that makes a difference, regulation-wise.
My wife has a...
December 3, 2019 at 11:33 pm
You could implement caojunhe24's suggestion in a separate data flow, store the row count in a package variable, and test it before branching to your primary data flow.
October 14, 2019 at 4:31 pm
If the "Exception has been thrown by the target of an invocation" error is coming from a script task or component, set a break point at the start of the...
October 8, 2019 at 3:57 pm
This might get you started. I changed this snippet on the fly after copying from real script, so it might not be perfect, but should give you the idea.
September 23, 2019 at 10:44 pm
I think if a Foreach loop uses a File Enumerator, it will only populate the variable for files in the target folder, but since you are enumerating a recordset in...
September 20, 2019 at 1:15 pm
You can use an Expression Task in the loop to concatenate theSource and the filename from the recordset object into another variable, which would be accessed by the FTP task.
September 19, 2019 at 11:57 pm
You can configure your SQL Task to return a Full Result Set on the General tab, then assign the result to an object variable on the Result Set tab.
To loop...
September 19, 2019 at 10:17 pm
My preference is to eliminate truncation warnings, etc., it just seems cleaner. YMMV.
When you query the destination table after execution, any chance you are looking at a different database than...
September 5, 2019 at 10:51 pm
There is a yellow bang on your OLE DB destination, maybe resolve that first. I get those if I change the number of columns in the pipeline or the number...
September 5, 2019 at 8:26 pm
Try setting a breakpoint just after the SQL task and verify the variable values returned by the task are what you expect.
August 8, 2019 at 8:16 pm
I use Aqua Data or SSMS to develop SQL code, and view the Enter SQL Query window in the SQL Task Editor strictly as a paste destination. Unless the change...
July 12, 2019 at 9:38 pm
Viewing 15 posts - 16 through 30 (of 46 total)