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 > august 2005 > threads for august 15 - 21, 2005

Filter by week: 1 2 3 4 5

Can not save changes in DTS package
Posted by nick at 8/21/2005 2:29:46 PM
HI all: i have a existing dts package and i tried to add more tasks in this dts package and save it. but when i open the dts package again , those changes does not exist at all. I tried severals times, still same results. is that any property that i didn't...more >>

Export to Access Database
Posted by Jason at 8/21/2005 12:00:00 AM
I have created a package that just export a number of tables to an Access Database and it works fine. However, when I rerun the package, I get error message as it cannot create the tables (This is because they are already exists in the Access database). What is a better way for me to handl...more >>

Failed DTS Package
Posted by richard s via SQLMonster.com at 8/19/2005 9:04:15 PM
Can someone help with a code that will automatically re-execute a failed package.., try to re-execute it three (3)times, then exit if failed after the third time. can someone help with a code? Thanks -- Message posted via http://www.sqlmonster.com...more >>

for the love of all things holy (and appending a parameter to an Oracle query)
Posted by sundanceca at 8/19/2005 3:24:27 PM
Well, certainly I'm the stupidest human being on the face of the earth. And, alas, there is no booby prize for this honor. All I want/need to do is copy some data from an Oracle db (7.3.4) to a Sql Server instance (2000 sp3) where said data is > #this date#... I want to select the max(date) ...more >>

text File Import Errors - ignoring row delimiter
Posted by The Kat at 8/19/2005 2:36:02 PM
I am trying to use DTS to import a text file with no field delimiter using fixed length fields. Imporing rows with less than the max possible row length ignore the row delimiter and data from multiple fields end up in the same record. I've seen similar issue in the KB but not this exactly. ...more >>

DTS Book
Posted by fleo at 8/19/2005 12:38:03 PM
I am looking for a good DTS book. I already have intermediate experience with DTS. I found a couple: http://www.amazon.ca/exec/obidos/search-handle-form/702-1827749-1940062 Which one would you recommend?...more >>

Is this a possible scenario
Posted by Michael Vardinghus at 8/19/2005 12:20:20 PM
Server 1 Production Server 2 Test a) detach files on server 1 b) copy files from server 1 to 2 c) attach files on server 1 and 2 /Michael V. ...more >>

Upload Txt Files as Tables with Same name via Recursive DTS
Posted by Kevinoh at 8/19/2005 11:28:02 AM
Hello, I'm got a subdirectory containing a large number of flat files. I want to use DTS to recursively import them into a database, using a DTS package that iterates through the subdirectory, creating tables with the same names as the files being imported. I'm using SQL 2000 on W2K machines....more >>



DTS packages-input and uotput file location
Posted by Matthew Z at 8/19/2005 10:01:04 AM
Hi , I have some DTS packages to transfer data from text files on different computers to SQL server tavles. Now I need information about these package name, the source of the text files and output tables, I want to have table to hole all these data. I am sure there is a way to do it. I loo...more >>

Precedence constraints
Posted by Andy at 8/19/2005 5:46:26 AM
I am wondering if the following scenario is possible in DTS Task 1 Succeed go to task 2 Fail go to task 3 Task 2 Succeed go to task 4 Task 3 Succeed go to task 4 The problem I have is with task 4 I have 2 precedence constraints (task 2 and task 3) when only one of them is going to...more >>

DTS using OLAP Cube as source
Posted by Tom M at 8/19/2005 2:46:37 AM
Is it possible to use DTS to extract data from an Analysis Services Cube and to put the resultant data into a fact table in another star schema....more >>

Executing DTS from VB.net
Posted by ninel gorbunov via SQLMonster.com at 8/19/2005 12:00:00 AM
I am executing a dts package from .net. I pass a global variable to the dts package and it executes a stored proc and then exports to a text file. When populating the global variable from within the dts package and executing it, the package executes successfully. But when I try to execute it fr...more >>

Failed Package
Posted by richard s via SQLMonster.com at 8/19/2005 12:00:00 AM
Can someone help with a code that will automatically re-execute a failed package.., try to re-execute it three (3)times, then exit if failed after the third time. Thanks -- Message posted via http://www.sqlmonster.com...more >>

SP_RENAME bombs DTS Package
Posted by bdtmike NO[at]SPAM hotmail.com at 8/18/2005 11:58:26 PM
I have a main DTS package (call this "Package A") that calls another DTS package (call this "Package B"). Package "B" does many things but one of the last steps it uses SP_RENAME to rename some tables. Package "B" runs just fine on its own. However, when called from Package "A", Package "A" r...more >>

DTS Global variable in an Insert?
Posted by Sharon McMillon at 8/18/2005 3:42:19 PM
Is there a way to do the following in a dts package? Using the pubs db - INSERT INTO db1.dbo.authors (au_id, au_fname, au_lname, city, state, zip, phone, contract) SELECT au_id, @FIRSTNAME, @LASTNAME, city, state, zip, phone, contract) FROM db2.dbo.authors Where @FIRSTN...more >>

step object
Posted by D at 8/18/2005 2:04:03 PM
I am fairly new to using DTS packages and I have Package logs enabled in my DTS package which has a lot of "Execute SQL Tasks". When one of these tasks fail it shows up in the error log, but the step name would as generic as "DTSStep_ExecuteSQLTask_23" and sometimes its difficult for me to tra...more >>

Making DTS Packages Password Protected
Posted by sshaahin at 8/18/2005 12:21:04 PM
We would like to assign owner and user passwords to all of our existing DTS packages, short of having to open each package and Save As a new package, which will cause a new package ID to be assigned to the package. Is there a script that would allow us to insert password into the existing pac...more >>

Direct server connections vs FTP
Posted by DarrenS at 8/18/2005 7:49:01 AM
I'm looking for advice as I've got to read a million+ rows from some tables on one server, transform and merge some of the data and write it out to a data warehouse on another server. The servers are on the same network. I was planning to create a scipt with one server as the source and the o...more >>

dts trusted user
Posted by Bill Orova at 8/18/2005 5:56:41 AM
Hello Gurus Here is a simple one We are running several dts packages across several servers I was told that running the dts packages under the term run by trusted user may solve a permission problem we are having. I do not remember how to change to run by trusted user.... There is a switch...more >>

Access Violation copying data
Posted by Stefan Weber at 8/18/2005 4:44:04 AM
Hallo, I have the following problem: Currently I’m trying to „clone“ a running SQL Server 7.0 which is running under Windows NT 4.0. This means that I have another Windows NT 4.0 maschine with SQL Server 7.0 running on it. Now I want to copy all the data from server1 to server2. I di...more >>

DTS and VB .NET --Capturing Return Value of stored proc
Posted by ninel gorbunov via SQLMonster.com at 8/18/2005 12:00:00 AM
I am executing a DTS package from vb.net. This package executes a stored proc which is supposed to return a return value. Here is my .net code: Code: [code] Dim oPkg As DTS.Package2 Dim oStep As DTS.Step2 Dim results As Boolean results = True oPkg = New D...more >>

Passing Parameters to a dts package
Posted by Suhas Vengilat at 8/17/2005 9:55:02 PM
Hi, Is is possible to pass parameters to dts package, that we need to run using dtsrun. I have a query like - select a,b,c from table where id in ('x','y'). We need to parameterise the 'in' CLAUSE. What is there in the 'in' CLAUSE can be more than I have given and it frequently changes. Cou...more >>

package fails when called from another package.
Posted by Peter Row at 8/17/2005 1:05:17 PM
Hi, In a project I work on we provide various exports to our users via DTS packages that are called using a stored procedure. Recently a new package was added that does nothing but run 27 of the other packages one after the other. This works fine on test servers and for several of the...more >>

Execute DTS package in SP
Posted by Helen Stein at 8/17/2005 1:04:16 PM
How would I execute DTS package in the SP? Thank you. ...more >>

Insert into Master and Detail table using DTS 2005
Posted by Harini Srinivasan at 8/17/2005 12:07:33 PM
Hi I am using yukon April CTP. I have a excel source. Every row from excel has to go to one master table and one detail table. I want to know how to insert a row to master table, get the scope_identity and then insert to detail table using SSIS. Note: Currently sending the row from ...more >>

Connections deleted
Posted by gerardgat at 8/17/2005 11:56:18 AM
How do I clear from Extended Properties the connections previously deleted? In a DTS with some SQL connections, if after saved you erase one of them is just erased from the design sheet but it remains in the DTS' Extended Properties. SQL Server 2000 Standard Ed SP 4.0, Win200 SP 5.0 Tha...more >>

Using Python in ActiveX task - works when run as separate step, hangs when executing package
Posted by Peter A. Schott at 8/17/2005 11:22:20 AM
Trying to use Python 2.4.1 with the Win32 extensions (build 204) inside of an ActiveX task. When I step through the package running each step, the package runs fine, even to the point of running the "message box" to see where the code is stopping. When I try to execute the package as a whole,...more >>

Select statements output file.
Posted by DXC at 8/17/2005 8:10:06 AM
Is there a way that I can get the result of multiple select statements into 1 file from a DTS package ? Thanks for any help....more >>

Is possible to FTP Upload with DTS instead of downloading a text f
Posted by Hocke at 8/17/2005 7:46:09 AM
I have 2 Windows 2003 standard edition servers: -Webbserver -SQL server (MS sql server 2000). Now I need to take some rows from the database and make a text-file. It works perfect, but the text-file is on the sql server. I want it to be on the webb server so people can download it thru HT...more >>

SQL Server DTS -- how do I retrieve mail?
Posted by Le at 8/17/2005 7:37:28 AM
So here's my dilemma. I need an automated SQL Server (2000) job that runs once once per hour. This jobs should: 1) Retrieve unread email for the user "Le" from our Exchange Server, and insert it into a table. 2) Retrieve unread email for the user "Smith", from from our Exchange Server,...more >>

Optimization of data migration
Posted by fleo at 8/17/2005 6:29:04 AM
Hi, I might work on a DB2 to SQL Server data migration using DTS. What should I keep in mind to optimize performance? Thank you...more >>

Invalid OLEVERB structure error 80040000 on DTS job
Posted by Jorge Cavalheiro at 8/17/2005 2:49:04 AM
Greetings. I have a job that transfers all objects between 2 SQL server 2000 SP3 without problems for several months and tonight it failed this the portion of error log generated: DTSRun OnProgress: Copy SQL Server Objects; 100 Percent Completed; PercentComplete = 100; ProgressCount = 0...more >>

how to stop run dts if meet condition
Posted by nick at 8/17/2005 12:00:00 AM
i want to import a data from a view from database by DTS how can i check that if the view is empty then i don't run rest of DTS . thanks Nick ...more >>

DTS Import Package
Posted by CelticView at 8/16/2005 2:53:02 PM
Is it possible to create a DTS package to import from a file in LDIF format? I have managed to import a CSV or other delimited text file but wondered if it was possible to read an LDIF format file. Thanks...more >>

Saving DTS packages from Structured file to SqlServer
Posted by Snake at 8/16/2005 2:09:04 PM
I save a package in a Structured Storage file. Then I opened the saved package with EM and tried to Save as . . into Sql Server. This failed with "DTS Package 'Test package' already exists with a different ID in this category." I have no idea what that means. And there is no 'Test package' ...more >>

Getting global variable from sub package
Posted by Gerhard Wessels at 8/16/2005 2:00:42 PM
Hello All, I need to execute a child package from a parent package and I need to get the value of a global variable back from the sub package. The sub package may modify the value of the global variable at runtime and I need to get the modified value back after completion of the sub package. I...more >>

DTS/SQL 2000 Error on Import: External table is not in the expected format
Posted by jmblock101 NO[at]SPAM gmail.com at 8/16/2005 12:48:05 PM
I have a DTS Package that imports to SQL Serer (2K sp3) from older dBase files. The package works fine if executed manually. When executed via SQL Server Agent (runs under domain account) - I get a series of errors: DTSRun OnError: DTSStep_DTSDataPumpTask_1, Error = -2147467259 (80004005) E...more >>

DTS export to Excel question
Posted by jaryr at 8/16/2005 10:26:41 AM
How to build a DTS Package so it will generated excel file without column headers? Any help is appreciated. John ...more >>

Transfering only updated data (from as400 to SQL2000)
Posted by rifat NO[at]SPAM msakademik at 8/16/2005 9:01:37 AM
Hello, I use DTS to transfer some tables approximately around 20million rows from as400 to SQL. Once I transfer 20million rows, the next time I only need to transfer updated data in AS400 not all the rows again. DTS wizard only has drop table in SQL then copy the same table from as400 to ...more >>

Execute Sql Task. Can I have Server and Database as Variable ???
Posted by k_s at 8/16/2005 7:17:02 AM
Hi All, There are 20 Databases on my server. Each one has same structure, but for dfferent companies. I have a DTS which transfers data from Source server [erp] to another server and then the same data to text files. Presently it's on development and will be shifted to live server. It's o...more >>

Phone & Fax Formats lost transfer from MS Access to Sql Server 200
Posted by Mike Moore at 8/15/2005 2:15:01 PM
Is there any way to prevent the lost in phone format (000)000-0000 and fax format (000)000-0000 when transferring data using DTS between tables? The data we have is inconsistent, so we really don't want to lose the formats if possible....more >>

Export a database table to a .csv file
Posted by John Lloyd at 8/15/2005 12:30:05 PM
Hello all, I am trying to export the contents of a table in a database to a .csv file. At this point I wish to export the entire table. Using the DTS wizard I was able to find an option for a flat file. This was not sufficient for our development group however as they require a .csv file...more >>

ActiveX - runs in step-by-step, not when trying to run whole package
Posted by Peter A. Schott at 8/15/2005 11:47:53 AM
This is a bizarre one. I've added a new ActiveX task using Python (I know, but I know it better than VBScript). When I step through the package, I have no issues. The task does exactly what I want it to. However, when I click Package - Execute, the package hangs @ that step. It almost seem...more >>

DTS Lookups Calling SQL Function
Posted by herlihyboy at 8/15/2005 7:11:56 AM
I am trying to call a lookup from my ActiveX script [SQL Server 2000]. Ideally, I want to call a SQL function I wrote and supply parameters for each row I am importing from a CSV file to retrieve a custom value that will be used in my script. However, it looks like the only way I can do this is...more >>


DevelopmentNow Blog