i got the ssis error about locale id 1028 is not installed in system while i am importing from flat flile to database table.
how can i set ssis locale id same as system locale id?
i got the ssis error about locale id 1028 is not installed in system while i am importing from flat flile to database table.
how can i set ssis locale id same as system locale id?
Moyz Khan
Hi,
I am trying to calculate the datediff logic using derived column.
(DT_DBDATE) "2014-01-31" < ((DT_DBDATE) [maturityDate]) ? NULL(DT_DBDATE) : DATEDIFF( "d","2014-01-31",((DT_DBDATE) [maturityDate]) )
but this is giving me error, maturity date is also datetime datatype.i am getting the following error.
please help me on this and provide if there is any other wayAnonymous
I have an SSIS package that uses an SQL Task to run a Stored Procedure in an Oracle database. The connection to Oracle is made via the Native OLE DB\Microsoft OLE DB Provider for Oracle.
There are some issues with the data in the Oracle system and sometimes the processing hangs so I have set a TimeOut value on the SQL Task.However the timeout is never triggered, I have had it set to 1800 seconds and the SQL Task has just thought it is still running until I've manually stopped the SSIS package.
Is there a way to get a timeout back from Oracle within SSIS?
Anonymous
What is the difference between Redirect rows to no match output and redirect rows to error output?
I need to output the non-matching rows to a flat file. Which option should I use?
Anonymous
I have task and I need some idea to accomplish the task. I have flat files in a ftp location. Now I have to load the flat file data in to the appropriate tables according to the flat file names. So basically these flat files have the same names as the tables. These are fact tables BTW.
I need a high level idea of how to perform this ETL. My idea is to
1.) Use FTP task to transfer the files to a local drive.
2.) Access the file path using a For each loop and store the file name to a variable.
3.) Inside the For each loop use a stored procedure (within the Execute SQL task) that takes this file name as Input variable and does the load according to the Input parameter to the appropriate tables.
Please let me know if this idea is ok. Or suggest a better one. Thanks in advance for your help.
svk
I have installed AttunitySSISOraAdaptersSetup.msi file for Oracle connection, as most of them recommended this for better performance.
After installation I am able to create the connection manager, however I am not able to see the newly created connection manager in the drop down list of OLEDB Source I also tried with ADO.Net source, this ORA_CM connection manager do not appears in the drop down list?
Then I delete the CManager and tried creating new from OLDEB source, I do not see this new option in the provider drop down list, any idea why?
Neil
Hello,
I'm having a problem with the execution of SSIS packages: I created locally a package with SQL Server Data Tools, then I deployed it on my server in the SSISDB database. Then I created a job to execute periodically this package with SQL Server Agent. The package works fine and does everything I want, but I always get a failed notification. In the global view of the execution I can see:
Result: "failed"
Package name: "Package.dtsx"
Task name: "Package"
Execution access path: "\Package"
Every other task returns a success and their execution access path is a subfolder of "\Package". I tried everything I found on the web, check the "Runtime 32bits" box, create a "Job Account" user to execute the package via a"Job Account Proxy", modify the ProtectionLevel of the package to "DontSaveSensitive", give the "Job Account" user full rights on everything, nothing works.
Do you have an idea of what my problem is and how to solve it?
I must precise that all my packages do the same thing: I have a loop on all the csv files in a folder that for each file loads the contents of the file in my database and the delete the file. I observed that the error message do not appear when there is no file in the folder when the package executes.
Thanks in advance.
Hi All
When we are trying to create OLEDB Oracle Connection with provider : Oracle provider for OLEDB the complete solution is getting closed . It is having same in BIDS 2008 as well as SSDT 2012 . what is the reason .
Surendra Thota
Hi everyone,
I got a request from my customer. She wanted me to develop a SSIS package that produces a CSV file and then send the file to a sharepoint folder. Is this possible? Please give me some detailed suggestion so I can do a simple test by myself. Thank you very much.
regards,
Oliver
Hi Experts,
I have 2 packages :
1. Main Package -For each loop package
2. Sub Package - As we need to collect the information from several other DB with same table structures .
The Main Package calls the Sub Package and loops through several linked server (9 of them ) .
From last 2 weeks the scheduler is running on time but no data is loaded into our destination DB .
Daily i need to manually run the package .
The SQL Agent task is scheduled using the service account from which the sql server was installed on the server so it has the full privledges.
If i run the Main package from the BIDS i see 2 messages related to the configuration of xml no error message and executes fine.
If i run the Package from the execute package utility it runs fine.
Now if the package is scheduled for a nightly load it executes fine successfully no error message also in the Job History
but when i check for the data loaded on that day no data loads up in the destination DB . Due to this behavior of the sql agent even if am on leave i have to login on to the server and exec manually so if at times i forget the exec we are in big trouble .
Please experts help me in troubleshooting the issue.
Thanks
Priya
// In 1st script task:
String[] astrCustNames = new String[cust_count];
/* ...
* Some code to add strings to array ...
*/
// Add array to a package variable
Dts.Variables["CustomerNames"].Value = astrCustNames;
The second task should then extract the strings from the variable. In the past, I've done this with a table variable. The same approach won't work for the string array:
// In 2nd script task:
OleDbDataAdapter ole_da = new OleDbDataAdapter();
// Fill the customer names data table
DataTable dtCustNames = new DataTable();
ole_da.Fill(dtCustNames, Dts.Variables["User::CustomerNames"].Value);
The call that fills the data adapter will result in the error "Object is not an ADODB.RecordSet or an ADODB.Record."
The .dtsx package lists the data type as DTS:DataType="13"
The data type of the variable as it is defined in the package is "Object":
// Returns type "Object":
TypeCode cur_type = Dts.Variables["User::CustomerNames"].DataType;
I've been searching for an example of extracting strings stored in an array in an SSIS variable, but have found none.
- Mark Z.
Hello all
I have a question about the numeric expressions in the derived column transformation.
i have a column that brings this: 590, i want to transform that to 590.00
What transformation can i use to accomplish this ?
Thanks in advance?
I am working on a project that is creating a new application, my area of the project being the migration of data from the old application database, transforming it, and populating the new database.
The transformations to the old data are done in a staging database.
At the end of the process, the staging database ends up with a lot of new applications tables, populated with the migrated legacy data.
We need to move these tables from the staging database to (initially) our test databases, but ultimately what will be the live database.
We have tried using the "Transfer SQL Server Objects Task" in SSIS, but have ran into a problem that a lot of the database tables have default values for columns.
These default values are not brought over.
Example. Tables contain a "GUID" field, which has a default of value of newid()
Right clicking and the table generating the CREATE script generates
[GUID] [uniqueidentifier]
ROWGUIDCOLNOTNULLCONSTRAINT [DF_tbCRM_Client_GUID] DEFAULT(newid()),However, the Transfer objects task does not create this default of newid()
Examining the SQL generated by the Import / Export Wizard when investigating this shows that the wizard generates this column as
[GUID] uniqueidentifier NOT NULL
and the column default value is lost.
Is there something i should be setting somewhere to force SSIS to bring these column definitions over correctly?
All connections strings are in an xml config.
the package is tied to this xml through an environment variable which holds the path of the xml file.
My package is always reading the hardcoded path in the connection manager instead of retrieving it from the xml config. This only happens for flat files. All other connections works fine.
Anonymous