Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007


all groups > sql server dts > april 2006 > threads for april 22 - 28, 2006

Filter by week: 1 2 3 4 5

FTP Connection Properties / Connection String Problem
Posted by Tim W. at 4/28/2006 4:56:34 PM
Chaps, we're trying to dynamically set username and password for an SSIS FTP Connection. However, the format of the connection string is not documented, as far as the setting of the login-properties for FTP is concerned. I have checked several databases and forums, but haven't come to any res...more >>

Duplicate Key Skip?
Posted by MikeV06 at 4/28/2006 3:39:42 PM
I am trying to use DTS to copy from an Excel file to a table (SQL 2000). The table has a primary key (say ID). As might be expected, when a duplicate key is detected, it terminates the copy. With Access one could use First/INTO/Group and have the copy just skip the duplicate. I cannot use DISTIN...more >>

DTS Package Error
Posted by DONNA at 4/28/2006 2:11:02 PM
Receiveing the following message: Error Description: The number of failing rows exceeds the maximum specified. Insert error, column 7 ('PERIOD_END', DBTYPE_DBTIMESTAMP), status 6: Data overflow. Invalid character value for cast specification. The DTS package this error was received on ...more >>

Unspecified Error in DTS
Posted by ChrisR at 4/28/2006 11:57:22 AM
sql2k sp4 Howdy all. All of a sudden, my DTS Package is totally unusable. If I try to run it or design it, I get "unspecified error". I have verified that there is no corruption in both MSDB and Master. Ideas? TIA, ChrisR ...more >>

Transforming Text Data to a Smalldatetime Data Type
Posted by trianbmt NO[at]SPAM dfw.wa.gov at 4/28/2006 11:47:15 AM
I'm trying to move some data from a tab delimited text file into a SQL Server 2000 database table using DTS and have run into a problem converting text data into smalldatetime. The format for the dates in the text file is CCYYMMDD, all text fields are double quoted. I created the initial tran...more >>

UNC Paths and Hidden Connections
Posted by Conan Kelly at 4/28/2006 11:07:08 AM
Hello all, 2 questions. First, lets say I have a network share mapped to a drive letter on my machine. Now I set an Excel or Text file connection to a file on this mapped network drive and save the package. If someone opens it on another machine with differently mapped drives, will the D...more >>

error at DTSStep_DTSDataPumpTask_...
Posted by New_DBA at 4/28/2006 10:42:46 AM
Hi all. i need really your help with the next error. haven't idea what is the problem. ---- DTSRun OnError: DTSStep_DTSExecutePackageTask_1, Error = -2147467259 (80004005) Error string: DTSStep_DTSDataPumpTask_1: Error at Destination for Row number 10919. Errors encountered so far i...more >>

Data extraction throughput/performance
Posted by LeeH at 4/28/2006 10:18:01 AM
I'm new to integration services. I want to create a centralized reporting system for our customers. Some customers have up to 1,000 sites and some are expected to grow past 2000 sites. The sites are running POS applications and I want to extract the POS sales data from these sites. Is it...more >>



DTS Running in EM but failing as a Scheduled Task.
Posted by Jishnu at 4/28/2006 6:39:02 AM
Hi All, I have local Package DTS which logged in as the user runs Dandy. But when Scheduled gives me this error: MESSAGES: The job failed. Unable to determine if the owner (XXXX\YYYY) of job Copy from 2005 to SQL 2000 Server has server access (reason: Could not obtain information about Wi...more >>

Copy column transformations
Posted by Andy at 4/28/2006 6:13:01 AM
I have a data pump task in one package that uses a copy column transformation. I would also like to add this same transformation to another package. Is there any easy way to copy the transformation and place it in another package or am I stuck doing the mappings all over again? If it was ...more >>

How to break the output file to smaller files - xp_cmdshell
Posted by ad at 4/27/2006 7:20:01 PM
Hi, I am using bcp and xp_cmdshell to produce output text file in sql server 2000. The size of the output file is so big. Is there any way to break the file into small files (for example 500 records per each file) ? Is there any option using the xp_cmdshell? Thanks, Aravind ...more >>

Migration from 2005 to 2000 and confused
Posted by tpp at 4/27/2006 2:49:01 PM
Hey. I've successfully migrated all the packages from server\instance1 to server1\instance1. I read in one of the articles I've to change MsDTSSrvr.ini.xml file to see the migrated packages in SSMS. I did it and now i see the packages. But how would I edit the package I've migrated from serv...more >>

SSIS Execute Process Task and BCP
Posted by JJ of Eugene OR at 4/27/2006 10:08:02 AM
Fellow SSISers: I have a fully working DTS package that runs an Execute Process task. The Execute Process task bcp's the output of a stored procedure as an XML file. When I try to translate the same functionality into an SSIS Execute Process task, the task fails. In DTS, the properties...more >>

Connection Manager Passwords
Posted by carolus.holman at 4/27/2006 9:41:01 AM
I am using Integration services to move some data from an Oracle DB to a SQL2005 DB. When I run the package from my DEV machine everything works splendid, however when I deploy the package, the Oracle connection fails, with a NULL Password. I have tried DSN, OLEDB Connections. When I edit the ...more >>

DTS Stored Procedure with Global and Local Vars
Posted by wizkid8586 NO[at]SPAM gmail.com at 4/27/2006 7:40:40 AM
I have read through many of these topic and still no luck with this: My situation is that I have a DTS package with a Execute SQL Task. The task executes a stored procedure which has one input and one output parameter: EXEC Update_SupplierParts @FileName, @Return = @Return OUTPUT My stored pr...more >>

problem in getting data into sql server destination
Posted by danielsanberger NO[at]SPAM googlemail.com at 4/27/2006 6:10:02 AM
Hi all, I am new to SQL-Server and Integration Services, so I hope it is a simple question for you. Here is what I do... I have a .csv-file and create a Flat File Source. I want to get the data into a SQL Server Destination and create a new table with the proposed SQL-Statement. Now I have...more >>

Inserting data into all the relevant tables
Posted by anm at 4/27/2006 2:52:02 AM
I am going to import the data which is required for creating reports. The data in the table is not easily queried, therefore I have created other tables to extract the data from this main table. As importing data would be a weekly procedure,I will have to overwrite the existing data with th...more >>

Run DTS Utility on client machine - Process AS cubes: dtstasks.ex
Posted by Les Russell at 4/27/2006 12:20:02 AM
Hi, I want to set up DTSRun to be executed by some particular users so that they can update specific cubes on demand (e.g. when they have just added some journals and want to see the effect on account balances in their cube). I have got DTS running (using encrypted command line options) on...more >>

Package Configuration - Filter for Sql Server
Posted by Mick Anderson at 4/26/2006 11:09:01 PM
Hi, I have created a package to process Analysis Services (AS) databases. I am currently using variables to store info such as the Connection and the Initial Catalog (AS database) and these variables are loaded from a configuration files (stored in the SQL Server). I now want to call t...more >>

How does the Slow Changing Dimension Wizard split up rows?
Posted by Marc at 4/26/2006 9:49:01 PM
Dear all I'm trying to figure out how the slow changing dimension wizard works. I want to use it for a Datawarehouse for a Date Dimension. All attributes are changing attributes type 1. I expected to work it this way: 1) New rows: They are inserted with the new row task 2) Updated rows: ...more >>

DTS Package designer add success criteria
Posted by paulhux174 NO[at]SPAM hotmail.com at 4/26/2006 6:05:21 PM
DTS Package designer add success criteria I'm using the DTS Package designer to export data to a text file. But I only want to export/create a file, if there is data to export. ie if (select count(*) from xxx ) > 0 do export. How can I do this? ...more >>

DTS/ SQL Agent question
Posted by Blasting Cap at 4/26/2006 5:15:37 PM
We're having to install new SQL servers on a new naming convention. We know the changes we have to make on the applications that hit the SQL boxes. However, we are not sure what DTS or SQL Agent jobs would need to be changed. Is there a way that we can search the DTS & SQL Agent jobs for ...more >>

Lookups on string columns failing
Posted by Brandon Lilly at 4/26/2006 2:39:02 PM
(Note: SSIS not DTS) Anytime I try to perform lookups for string columns, I never get a match unless the string takes up the maximum size. For example: Pipeline Value Lookup Value Result ========= ========= ===== THIS WORKS THIS WORKS Finds lookup value NOPE ...more >>

Copy Flat/Flat Variable Length Fixed Fields
Posted by MikeV06 at 4/26/2006 2:21:08 PM
I have an input file that is fixed field except for the last column, which is variable length. A {CR}{LF} terminates each record at the point where it ends. The record does not end at the same column because the following spaces have been stripped from the last column. I do not a character that ...more >>

How to: Rollback all steps on failure of any step
Posted by Ric at 4/26/2006 2:07:02 PM
I have a DTS package that reads from a staging table. A series of SQL tasks update a number of tables in the database. The last step truncates the staging table, making it ready for new records. If this step (the truncate) fails I want all the updates performed by the preceeding SQL tasks r...more >>

File not registered
Posted by drisso NO[at]SPAM ortc.com at 4/26/2006 1:31:57 PM
I am having several problems. I first started to get a problem when applying servvice pack 3a to my existing sql server. When I was trying to execute activeX scripts it got the error "ActiveX scripting was not able to initialize the script execution engine". I figured the service packed screw...more >>

Raw File Source
Posted by Brandon Lilly at 4/26/2006 1:12:02 PM
I am having an issue where I have some raw file source inputs and SSIS is expecting those files to exist at the time that the package is being designed, but they are being created during the process of the package execution. How do I make SSIS not care that the file is not there until packa...more >>

Multiple file specs in ForEach File Enumerator
Posted by Brandon Lilly at 4/26/2006 12:42:02 PM
Is it possible to list multiple files in the Files property of the ForEach File enumerator? Example: *.txt;*.err Thanks! Brandon...more >>

DTS from VB doesn't email
Posted by sj at 4/26/2006 11:28:27 AM
I have a DTS package I am executing from Visual Basic. Everything works fine except the emails to tell me whether the files were appended successfully or not. Works fine in SQL. Should this work in VB? Is there anything additional that needs to be defined? If so, I'll dig some more, or should...more >>

In this normal?....
Posted by John Keith at 4/26/2006 10:30:02 AM
For a DTS package; Copy SQL Server Objects Task Source, pick a database on server1 Destination, pick tempdb on server1 Copy (with these selections): Create destination object Drop destination objects first Include all dependant objects NOT Checked, Include extended properti...more >>

SSIS service won't start after Service Pack 1
Posted by jammasterj at 4/26/2006 4:02:01 AM
We recently installed SQL Server 2005 Service Pack 1, and now the SSIS Service times out whenever it tries to start. We've tried starting the service using local and domain accounts but nothing works. The service worked fine before the service pack. Any ideas? Thanks....more >>

Locking table on oracle database from DTS
Posted by EL at 4/26/2006 2:58:01 AM
I'm trying to pull data from a set of oracle tables (I've setup separate DTS packages to pull data from each of oracle tables I work with) but what I need to do is setup exclusive locks on those oracle tables whilst the DTS package is runing. I was wondering whether this is possible using DTS?...more >>

dts encrypted with user pwd from asp
Posted by Muson at 4/26/2006 12:00:00 AM
I'm executing DTS from asp with this code and hard coded user pwd in asp file it works just fine Dim objPkg, strError, iCount Set objPkg = Server.CreateObject("DTS.Package") const DTSSQLStgFlag_UseTrustedConnection = 256 objPkg.LoadFromSQLServer "server", "", "",DTSSQLStgF...more >>

DTS Import issue with .XLS documents
Posted by rwyarger NO[at]SPAM hotmail.com at 4/25/2006 5:15:04 PM
Hello - My apologies if this has been posted on before, but in my searching around this evening I was unable to find anything even closely related. I am attempting to import an excel 97/2000 .xls file into a SQL database that has 1 particular field in the table of the DB that is not nullabl...more >>

Good SSIS book on .NET
Posted by Brandon Lilly at 4/25/2006 3:06:02 PM
I currently have SQL Server 2005 Integration Services for a general overview of SSIS and it is good for that, but I also need a book that deals specifically with scripting within SSIS (VB.Net). I saw The Rational Guide to Scripting SQL Server 2005 Integration Services, but it was for the Be...more >>

SSIS Package
Posted by pjcwik NO[at]SPAM gmail.com at 4/25/2006 3:01:27 PM
SQL 2005 SSIS This should be simple, but its not. I have a simple package that selects data from one server and inserts it into another. It works interactively but I cannot get it to run scheduled. I have tried changing the SQL Agent to my login and it fails. The only message that I get i...more >>

SSIS datetime conversion Error
Posted by SSIS 2005 Hangs at 4/25/2006 1:36:01 PM
Hi, I have a package which load a flat file to a SQL server table and runs fine in SQL 2000. There is a column in the flatfile "orderdate" which has the data like '20060423', I load this column data to the 'Orderdate' column of the sql table which is the datatype 'datetime' . The sql 2...more >>

DTS ActiveX Script Edit Window Unavailable
Posted by SQLDude at 4/25/2006 8:14:03 AM
How do you undo a situation where all of a sudden when you attempt to double click on an ActiveX VBScript in a DTS package you can only see the Language Tab and the Browser Tab as full sized windows? I can no longer see the VBS Code Edit half of the window displayed although it appears to flas...more >>

Execute Multiple .bat files simultaneously
Posted by Liz at 4/25/2006 7:31:02 AM
SQL 2000 sp4 Does anyone know how to execute batch files simultaneously in DTS? For performance, I need 4 batch files to execute at the same time. NOT batch1, then batch2, then batch3 and finally batch4. All four must start at the same time. When they end is of no importance. Thanks in ad...more >>

DTS Package using c#
Posted by TheBigJ at 4/25/2006 7:21:42 AM
This is what I need the DTS package to do: I need to create a temp table, import the contents of a text file, add some info to the temp table (done with stored procedures) and then add the contents of the temp table to the permanent table and drop the temp table. I created the DTS package in En...more >>

HOW TO RUN A DTS FROM VB PROJECT
Posted by TOM - BP at 4/25/2006 6:29:02 AM
I CREATED A SIMPLE DTS PACKAGE TO UPLOAD AN TEXT FILE INTO A TABLE IN SQL SERVER DATABASE THEN SAVED THIS PACKAGE AS A VISUAL BASIC MODULE FILE. NEXT I CREATED A VB PROJECT AND ADDED THE ABOVE MODULE TO THE PROJECT AND RAN IT. THE PROJECT DID RAN TO THE END, AND DID NOT SHOW ANY ERROR MESSAGE,...more >>

Running DTS packages in C#
Posted by TheBigJ at 4/25/2006 6:13:27 AM
Does anyone know of any good websites/resources that could help me figure out how to alter a DTS package's Transform Data Task's properties (specifically changing the destination table) using c#. Thanks ...more >>

DTS Failure
Posted by Suedois at 4/25/2006 3:09:01 AM
Hello, I've an issue with a DTS. Here is the scenario: Server side: the DTS has two step: 1) Delete some row from some tables. 2) Imports data from Access DB into SQL-Server, using a ODBC entry (from a file) Client side : an winforms application has two step: 1) Copy local Access DB on...more >>

How to copy custom stored procedures from SQL 2000 to SQL 2005?
Posted by Greg Cox at 4/25/2006 12:16:42 AM
My project's "live" data is currently in an SQL 2000 database. I was running a development copy of SQL 2000 on my local development machine. When needed, I just used DTS to grab a current copy of the database tables including the table definitions and their current contents as well as the ...more >>

Order of execution of tasks
Posted by lmcphee at 4/24/2006 9:13:02 PM
I have a number of OLAP cubes to be processed. There are a series of steps to process shared dimensions, then the cube-processing tasks. All the cube-processing tasks have workflow from last shared-dim task to execute "On Success", but there are no workflows set up among the cube tasks. They a...more >>

Ignoring certain lines in text import in DTS
Posted by P at 4/24/2006 7:02:53 PM
hi everybody, I have a hopefully easy problem to fix. I am trying to import a huge text file into a table with DTS. The problem is that every 200,000 lines or so, the file has a bunch of lines in it that are not data. There are about 5 lines that are some other information, and the headers are ...more >>

Have the SSIS in SQL 2005 Express Edition?
Posted by Javier at 4/24/2006 4:50:01 PM
I want to know if the SSIS is in the SQL 2005 Express Edition?, and If so, where it is?. Javier Salvatierra...more >>

SSIS Configuration problem
Posted by John F at 4/24/2006 1:26:02 PM
Was having a wonderful time with Integration Services until I uninstalled/re-installed SQL Server 2005. I now am unable to create or edeit e.g. DataFlow Tasks. Clicking on "Click here to add a new Data Flow task" in Data Flow pane gives the following error: ----------- TaskHost "{C3BF9DC...more >>

Monitoring an SSIS package from vb.net + Dts.Step
Posted by Sara at 4/24/2006 12:07:07 PM
I would like to know how I can monitor the execution of an SSIS package that has been kicked off from a VB.Net component using the DTExec command. I did this in VB 6.0 using the reference to Microsoft DTS package object library and with the following code: For Each oStep In oPackage.Steps If...more >>

SSIS as part of scheduled job fails
Posted by Joe S. at 4/24/2006 11:38:01 AM
I have created a simple import job that first truncates three tables and then imports update data into those tables from an Access database. My problem is that the job fails on when running the SSIS import package. The import works when I create the package, but not from within the jop. I beli...more >>

can't find directory when package scheduled as job
Posted by Walter Mallon at 4/24/2006 10:50:31 AM
I have a DTS package (sql 2000 sp4) that executes correctly when I run it from the DTS designer but fails when it is scheduled as a SQL Server Agent job. My sql agent and sql server services both run under my Windows account. The failing step is an execute process task that calls a .bat fi...more >>

DTS Package Order
Posted by Treyco at 4/24/2006 8:05:01 AM
This is driving me crazy. It appears when you try to select the Package Name for a Execute Package Task, the drop down list is populated by sp_enum_dtspackages. The problem is that this sorts by package ID and not by package name. There doesn't seem to be a way to modify sp_enum_dtspackages ...more >>

Export to CSV
Posted by jaylou at 4/24/2006 6:25:01 AM
Are there any docs to explain how to export a table to CSV file? I can't get it to work. I have created the ODBC but I get an error that I can't modify my table because its in a read DB. Any help would be greatly appreciated. TIA, Joe ...more >>

Deadlock when accessing the LockOneForWrite/Read method is SSIS
Posted by mystical potato at 4/23/2006 4:46:01 PM
I'm writing my first SSIS package and am running into some problems that I could use a hand with. i'm using a For Loop Container to do two things: 1) Use a FTP task to look for a file on a remote server 2) On Success use the Script Task to set a package variable to False so the loop...more >>

DTS Transform Task With Visual Foxpro
Posted by Karen Hodge at 4/23/2006 2:28:02 PM
I want to create Transform Data Task with a VFP free table as the destination. The table is not in the dropdown selection. I know the table exists because I can see it in the folder. I am able to add an Execute SQL Task with the same VFP Connection and query the missing table. I get the exp...more >>

Copy SQL Logins from one database to another
Posted by Craig at 4/22/2006 5:05:01 AM
Hi, Please help. We have one sql server with two databases. One database is for training and the other is production. We currently have 400 Sql logins for training/testing and 400 for production. I want to create approx 40 new sql logins in production and copy-migrate them over to the trai...more >>


DevelopmentNow Blog