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 > march 2005 > threads for march 29 - 31, 2005

Filter by week: 1 2 3 4 5

DTS error on VB.NET oCustomTask1
Posted by Marcos Beccar Varela at 3/31/2005 8:18:00 PM
Hi Darren, thank you for your help, but I really tried EVERYTHING I could, so your help is very helpfull. I changed the Ctype to TransferObjectsTask2 and it returns the same error. ERROR: An unhandled exception of type 'System.InvalidCastException' occurred in Gman.exe Additional informa...more >>


Scheduling DTS Packages w/Most Current Version
Posted by Robert Hamilton at 3/31/2005 3:47:02 PM
When you schedule a DTS package, the job is setup using the GUID of the version of DTS package. How can you setup the jobs so they run the most current version of the package? I don't want to have to re-setup jobs everytime I create a new DTS package version. Regards, Rob...more >>

Data Movement from Prod to Dev
Posted by Ed at 3/31/2005 2:51:01 PM
Hi, I am asked to move all data from one database in Production to Development everynight. When I try to use the Import/Export Wizard, it fails because when the data in Development Server is droped, it will violate the Foreign Key Constraint because it drops One side of the table first w...more >>

Help with Select Case!
Posted by Bryan Rodrigues at 3/31/2005 12:35:03 PM
Hi, I'm writting some VBscript ActiveX code inside a DTS Package, and i'm getting a parse error. (This script runs fine in Access). I believe it has something to do with the "TO" porttion of the case statement ( case 1 to 30). any help would be appreciated. Here is the code. ' VBS...more >>

how to execute DTS as a script
Posted by Stefano at 3/31/2005 11:32:21 AM
Ho can I create a DTS, and run it as a script ? I mean... like cscript or wscript. I need to generate a DTS script for the testing environment, and then run it in the production environment. So I need to configure the script with the sql server password, etc. Thank you so much. Bye --...more >>

How to create a GUID in activex script
Posted by John Doe at 3/31/2005 8:25:47 AM
I need to create guid in a activeX script. How do I do this? *** Sent via Developersdex http://www.developersdex.com ***...more >>

ActiveX code to handle 'null' dates
Posted by Phil Cook at 3/31/2005 8:05:03 AM
I am re-writing an old BCP job using DTS. The job imports a fixed length text file which includes date fields in the format yyyymmdd. Sometimes there will be no valid date on a record and this is held as '00000000' in the text file. This should be moved into the database as a NULL date value. ...more >>

C# and DTS
Posted by Patrick at 3/31/2005 3:04:09 AM
hi All I am new to DTS... can anyone send me some good link or e-books which are freely available over Net for C# and DTS Programming Thaks Silent Ocean ...more >>



Read Excel-Cells
Posted by mhuhn.de NO[at]SPAM gmail.com at 3/31/2005 1:05:21 AM
Is JET-OLEDB really the only way to read data from Excel into DTS? I have values in several single cells and the Excel-Worksheet is more a form than a database-like table. Is there no way to read this? ...more >>

Dynamic transform: Source DB change gives problem.
Posted by Alex B. via SQLMonster.com at 3/30/2005 11:10:43 PM
Hi, I have a package that imports data from 3 different Access DB's into MS SQL. I am using loop mechanism expalined here : http://www.sqldts.com/default.aspx?298 I modified that sample to do double loop: outter loop itirates through recordset of databases, inner loop recordset of tables in cur...more >>

Beta newsgroup for Sql Server 2005 DTS?
Posted by Thomas I. at 3/30/2005 10:45:54 PM
Does anyone know if there is a beta newsgroup for Sql Server 2005 DTS? Thanks! ...more >>

DTS from VB.NET? oCustomTask1 = oTask.CustomTask error
Posted by Marcos Beccar Varela at 3/30/2005 7:38:50 PM
Hello to all.. (sorry but my english in´t that good) I read avrey article on how to execute the old VB6 DTSPACKAGE and everything goes well but this line is not working. oCustomTask1 = oTask.CustomTask An unhandled exception of type 'System.InvalidCastException' occurred ...more >>

ActiveX query - continue or stop process
Posted by Ben Rum at 3/30/2005 4:50:35 PM
In the below ActiveX script (taken initially from BOL) I compare file dates & only want to continue the DTS if if the file date is newer. However, if the file date is NOT newer the Step is "failing", whereas I just want to STOP The DTS is as follows (in my best plain text graphic desig...more >>

SQL Server 7 box in a workgroup DTS'ing data to a server in a doma
Posted by KnightFall1 at 3/30/2005 11:13:02 AM
Is it possible to setup DTS in SQL Server 7 in such a way to make a copy of a local database that is sent to a file share in a domain for archival purposes? Because the server doesn't meet certain company security requirements, the requirement is that it be moved into a workgroup. I am attem...more >>

Age Calculation
Posted by Robert Hamilton at 3/30/2005 10:49:03 AM
I'm trying to create an update query that updates a field to the persons current age using DateDiff. If the person's anniversary has occured this year, I need to subtract 1 from the DateDiff result to be accurate. The query logic below works perfectly in a Select statement, but I get a convers...more >>

Removing a precedence constraint
Posted by Aardvark at 3/30/2005 8:20:14 AM
Hello, I currently have a package that has 10 paths running in parallel. If any steps on any of the paths fail, then I want to send out an email. I would prefer to use a single email task. The task would loop through all of the steps and see if any failed. If anything failed it would include ...more >>

Calling a DTS package from Another DTS Package
Posted by programmer at 3/30/2005 2:02:37 AM
Hi I have two packages which are to be executed one after the other, so is there a possibility of calling a package in another. and also the the procedure or syntax of calling. Thanks Sunil *** Sent via Developersdex http://www.developersdex.com ***...more >>

call stored procedure from ASP page
Posted by tchangmian NO[at]SPAM yahoo.com.sg at 3/30/2005 12:07:11 AM
HI,i am trying to call stored procedure from ASP page, below is my coding. But i dun know why i fail to call the stored procedure.Can anyone tell me what's wrong with this coding? THanks Set objConn = server.createobject("ADODB.Connection") objConn.open Set objCommand = Server....more >>

Run dts package
Posted by Ed at 3/29/2005 7:41:03 PM
Hi, I have a DTS package which will be called by a front-end application (C#). The way we are handling it right now is to create a stored procedure to execute the Create procedure dtrun as master..xp_cmdshell 'dtsrun xxxxxxxx' the procedure "dtrun" will be called by the application. ...more >>

DTS Package Tasks and Workflow
Posted by dm4714 at 3/29/2005 1:35:39 PM
Hi - I have a DTS package that reads two flat files and imports the data into SQL Server. Our requirements have changed and the two files I have been importing are now merged into one file. Therefore, I would like to modify my DTS package to only import one file and redirect the DTS tasks...more >>

Calling a DTS package
Posted by bagman3rd at 3/29/2005 1:07:05 PM
I have a DTS package which imports data from an Excel spreadsheet into an SQL Server database. The package works fine, but I would like to take the package to the next step in automation. How could I call the package(from VB ..Net or QA) to be executed with only one change in the package: th...more >>

SSIS 2005 - lading multiple XML files
Posted by Michael Wall at 3/29/2005 12:35:04 PM
Is there a way, other than scripting a loop to utilize the Bulk utility, to Load all the XML files in a particular directory into a XML data type column in a 2005 table? ...more >>

EM crashes using DTS to export view to fixed-width file
Posted by mkerrigan NO[at]SPAM ktoys.com at 3/29/2005 11:59:52 AM
The subject header pretty much says it all, except that the only views/tables that it seems to have trouble with are ones containing fields with the text datatype - even if you don't put the text field in the view. Using the Transform Data Task, when I try defining the columns for the fixed-w...more >>

Error when exporting to file
Posted by DChateau at 3/29/2005 5:27:03 AM
Hello all, In some cases I get an error when I try export to a file (from another file or database table) which seems to be related to the amount of columns. When I export from a file to another file it works for 37 columns but SQL enterprise manager crashes when I try to export 38 columns. ...more >>

Appending to a text file in Sql DTS
Posted by Karunakaran at 3/29/2005 3:31:04 AM
Hi, I need to export some data to a text file from sql server. I'm using Sql DTS to do this. I also need to have a header in the text file followed by the data exported from the sql database. I created a text file with header then used dts to export but the header gets deleted when the dts ...more >>

Read Excel-data from columns instead of rows
Posted by mhuhn.de NO[at]SPAM gmail.com at 3/29/2005 3:16:03 AM
I have to read an Excel-File into DTS to append data to a SQL database. Within the Excel file I have my data in columns and not in Rows. Is there a possibility to read this directly through JET OLEDB? ...more >>


DevelopmentNow Blog