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 > may 2005 > threads for may 22 - 28, 2005

Filter by week: 1 2 3 4 5

run DTS in vb or through stored procedure
Posted by helenz at 5/27/2005 2:35:14 PM
I got a problem to call my dts inside vb code. I can run my dts successfully in sql server enterprise manager or in the command line. but when I try to call it through stored prcedure, it fail and I even can't catch the error. my stored prcedure is like: CREATE PROCEDURE [dbo].[CSCDDTSRe...more >>


Importing a large flat file through DTS
Posted by dverma at 5/27/2005 2:10:07 PM
I have a large text file which has columns name in first row (column separated by "|" char). The file contains 125,000 records when I use DTS to import this file the DTS hangs after importing 61000 rows (as per progress bar showing). Is there is any limitation on maximum number of rows the "t...more >>

Remote database backup
Posted by Jordan at 5/27/2005 2:06:19 PM
I need to backup a database on another server. And, unfortunately, I don't have permission to write to the hard drive on that server. The only way I can think to do it is table by table, using DTS. I would need to keep the DDL and sync and then for each table, truncate the destination and...more >>

DTS Package - Issues
Posted by dm4714 at 5/27/2005 11:51:45 AM
I have a DTS package that basically does the following: 1) Truncates a table called MYDB.tblParameters 2) Reads a CSV file called tblParameters.csv under the C:\DEV\MyApp directory 3) Writes CSV information to SQL Server 2000 to database MYDB.tblParameters using a specific username/pass...more >>

Running DTS Custom Task from VB .Net
Posted by Brett Ossman at 5/27/2005 6:31:02 AM
Created a DTS package and executed it successfully from a VB .Net program via the DTS Package Object. I then added a third party custom task to the package via the DTS designer. I can still run the package successfully from Enterprise Manager or DTSRun. However, running it in the VB .Net pr...more >>

OLE DB Driver DOesn't Support Dynamic Properties - HELP!
Posted by BC DBA at 5/27/2005 2:11:05 AM
Hello all, Sorry for the length of the post but I want to be thorough and not waste anyones time suggesting something I've already tried. I have an application that pulls data from an oracle (8i) db into SQL Server for processing. At the moment it copies all of the data from the oracle tab...more >>

Run DTS from stored procedure
Posted by helenz at 5/26/2005 1:38:03 PM
Hi, I am getting frastrated by trying to call DTSrun inside the stored prcedure. I want to my DTS triggered by user interface clicking. So I wrote a stored procedure inside sql server and call DTS inside the stored procedure: CREATE PROCEDURE [dbo].[CSCDDTSRefresh] AS EXEC master..xp_cmdS...more >>

Export data yield different results
Posted by Emma at 5/26/2005 12:57:12 PM
I have a DTS package scheduled to export data to a text file daily. Sometimes, on two consecutive days, the data exported are the same when the job runs as scheduled. If I run the job manually using the same parameters (date/time), the data are different. There is no particular pattern to it. ...more >>



Confirm email delivery from dts
Posted by Boycey at 5/26/2005 9:48:12 AM
Hi I have written a dts in SQL Server which uses the Send Mail task. I would like to log the details of a failure, if the mail fails to be delivered, ie if the email address is invalid. The problem is that the Workflow On Failure event will only fire if the mail fails to be sent, not if ...more >>

Copy Database Wizard
Posted by Ryan at 5/26/2005 6:56:02 AM
I am in the process of consolidating 17 SQL servers into 3 (yes they extremely under-utilized). I am trying to use the Copy Database Wizard to do this, mostly because there are a couple hundred databases that need to be moved and it would be very tedious to do each one via backup and restore ...more >>

Export a table to file txt by DTS
Posted by Serafino at 5/26/2005 1:25:21 AM
When I set the destination column, SQL craches. Anybody can help me?...more >>

It's me again... Excel and SQL Server issue
Posted by Drew at 5/26/2005 12:00:00 AM
My DTS package was working great yesterday, so I closed Enterprise Manager and started working on "prettying" up the excel file. Not anything too drastic, just validating cells and the like. I just updated all my Excel files and ran the package. Now the DTS package is importing 499 record...more >>

DTS - automation with scheduler problem
Posted by news.microsoft.com at 5/26/2005 12:00:00 AM
Hello All, im am experiencing difficulty with automating a DTS package. if i try to run it manually it work, if i try to automate it with the scheduler it always fails. to debug it i executed it using dts run to gain more information and i got the following output below C:\Documents an...more >>

Problems using DTS to build a table just for FT indexing
Posted by Brad Baker at 5/26/2005 12:00:00 AM
Description: We are using a DTS to build a table just for FT indexing. Basically we gather all of the words from the fields we'd like to search, and put them into a single table (moosejaw_tblFullText). Then we're using FormsOf (Inflecitonal...) to get results as the SQL below shows. For on...more >>

Loop that kind of loops . . .
Posted by Snake at 5/25/2005 3:46:01 PM
Hi, I have a package that starts and ends with ActiveX tasks. The first task locates a file and then enables the following step: Set stpStart = pkg.Steps("DTSStep_DTSDataPumpTask_1") stpStart.DisableStep=False stpStart.ExecutionStatus = DTSStepExecStat_Waiting The ending Active...more >>

Trace DTS
Posted by Nik at 5/25/2005 2:54:15 PM
Hi All is there a way to trace the DTS package. We use profiler to profile/trace the sql database. but is there a way to trace the dts package, each step of it. We have active x script and i need to trace thru each step as it executes. thanks in advance ...more >>

System Tables and DTS packages
Posted by Munch at 5/25/2005 1:38:02 PM
I have a number of packages that I need to move from one server to another. However, I also need to add owner and user passwords to each package. I am trying to find out if I can do this from the back end by select the records (DTS packages) and inserting them into the destination servers' sys...more >>

WHERE trouble (I think)
Posted by Chris Lieb at 5/25/2005 1:28:01 PM
I have some code that I am using to import a flat file into a bunch of related tables. I am trying to make it so that new records are added to the related tables of a new value appears. However, my code thinks that every value is new and unique and creates a new entry for it. For example, o...more >>

Link Server
Posted by news.microsoft.com at 5/25/2005 12:03:48 PM
I have a link server I'm trying to connect to in a DTS package. I'm not sure what connection to use and how to set it up. Any suggestions?? ...more >>

Problem passing dictionary as argument
Posted by JRStern at 5/25/2005 11:37:11 AM
OK, wrote a DTS package that has multiple ActiveX steps. In an early step I create and populate a dictionary object, create a new global variable on the fly and set its value to the dict, and then fetch the value from the global in later steps and use the values. It all worked fine until ......more >>

Change the File Name property of a Text File Connection from Activ
Posted by Snake at 5/25/2005 11:07:06 AM
I have a requirement to populate a table from a file whose name changes every time it is run. I can determine the file name using an ActiveX VBScript and would like to then point the Text File Connection to it. How would I do this? Or is this the best way to do this? I am learning but my ...more >>

1 data field contains new line characters. How do I ignore on exp
Posted by dataGirl at 5/25/2005 10:54:12 AM
Please help: I am trying to create a piple delimited text file through a DTS export which consists of about 93 different fields. However, there is one data field that is populated from a list of options. The user is allowed to choose one, click an add button, choose another, click add, et...more >>

Exporting Data
Posted by Ty-Ty at 5/25/2005 8:54:03 AM
Can someone please tell me how/where is the log file when I am scheduling an Export from one database to another. I would like to see the details of the success or failure of that job. Thank you. ...more >>

setting path for "text file (source)"
Posted by wireless200 NO[at]SPAM yahoo-dot-com.no-spam.invalid at 5/25/2005 1:02:23 AM
I'm running EM on my local box and sql server on a remote interne accessed box. How do I specify a file path for a DTS package to access files on th remote box For example, to run a local dts package the path i c:\filepath\file.txt How would I change the file name to allow the remote dts p...more >>

How do I trackdown/debug COMException -2147220441
Posted by Rob Booth via SQLMonster.com at 5/25/2005 12:00:00 AM
I have a DTS package that is used to import a flat file into my database. This file is a rotating log file that could hold information that has been imported previously so I was testing running the import multiple times when I ran into this COMExcpetion (I'm calling the DTS package from a C# app...more >>

Converting from Unix ({LF}) and DOS ({CR}{LF}) files in one DTS Package
Posted by Rob Booth via SQLMonster.com at 5/25/2005 12:00:00 AM
I have to create a DTS package that will import a file into my database. This file can come from a Unix machine or a DOS machine so the row delimiter will be either {LF} or {CR}{LF}. I know I can write my package to handle either of these row delimiters, but can I write it so that it will handl...more >>

dynamic export
Posted by TJ. at 5/25/2005 12:00:00 AM
Hi, As a beginner with DTS, I'd like to know if it's possible to export data from a sqlserver with a package, but without predefined tablecolumns to export. I want to build an export module from C# that exports columns the user has selected (thus at runtime). The DTS packages I have tried to ...more >>

Multiple Columns in Rowset?
Posted by Drew at 5/24/2005 11:03:21 PM
Ok, I am getting this project pinned down, just need some more help. My SQL Task uses a simple query, SELECT ExcelLink FROM Cardholder I would like to know if it would be possible to return 2 columns of data, SELECT CardholderID, ExcelLink FROM Cardholder and then use the ExcelLink ...more >>

create text file
Posted by JFB at 5/24/2005 5:12:44 PM
Hi All, I have to create a report text file but in special format base on information from a tables data. The text file I need to create it in a particular folder with this format: Report Date 5/24/2005 Batch: 001 From position: 532 To position: 543 Descri...more >>

Global veriable Problem in DTS Data Transform Task
Posted by Kris at 5/24/2005 4:48:04 PM
Hi , I am having probelm with Global Variables in my DTS Package. Data Transform Task is defiend between 2 SQL Server. I have defined Global variable in my Package and trying to pass variable value to SQL Statement defined in Data Transform Task. For Example 1) Gloabal Var : OrderNo,...more >>

MS CRM transformation
Posted by bchodorov NO[at]SPAM hotmail.com at 5/24/2005 2:02:01 PM
I am beyond my capability in trying to move MS CRM accountbase data via the CRM Data Migration utility. My difficulty is in handling the Uniqueidentifier Primary Key "AccountId" guid from the originating table and passing that 16 character GUID to an intermediate table which has a Primary Key "...more >>

DTS Package with if/then Logic
Posted by BSK at 5/24/2005 1:58:03 PM
I would like to create a DTS package that will accomplish the following: Check if a database table A has records. If Yes go Else Stop. Erase Replica table B. Copy Database table A to replica table B. I'm able to copy all records from one table to another automatically. I would like some ...more >>

Skipped steps
Posted by Mike at 5/24/2005 1:54:52 PM
My individual steps all work fine. If you click on each step with the mouse the whole DTS package will run fine. If you execute the DTS package, it will run with all success messages, however some blocks of code wont run, you'll have to click on them to execute even though messages say they ex...more >>

DTS Package Ignoring CR LF At End of Each Row in Text File
Posted by RitaG at 5/24/2005 1:31:02 PM
Hi. I'm using SQL Enterprise Manager 8.0 and importing a text file into a SQL table using a DTS package. The text file has rows with 542 characters in each row and a CR LF (0D 0A) at the end of each row in position 543. Using a Hex editor (Ultra-Edit) I was able to confirm the CR LF at the...more >>

DTS Import Wizard trys to Insert NULL into Identity field
Posted by hushtech at 5/24/2005 1:26:08 PM
I'm importing from Text (file) into a table that consists of 83 varchar fields, then an Identity field. The source file has no ID field, just CSV data ( max 83 fields ). In the Import Wizard as soon as I specify the field delimiter ( comma ) the display shows that all unspecified ( in the in...more >>

Installing Samples from sqldts.com
Posted by Drew at 5/24/2005 10:01:34 AM
Ok... I know this is probably a VERY dumb question, but how can I install the sample files (*.dts) into SQL Server? I searched the server for *.dts, with no results. Thanks, Drew ...more >>

Some sample of EDI processing into SQL or out of SQL
Posted by karenmiddleol NO[at]SPAM yahoo.com at 5/24/2005 2:06:27 AM
I have a urgent need to use DTS for processing some EDI files to be loaded into SQL Server and also outputting data in SQL Server to EDI. Can somebody kindly share a sample EDI file and an ActiveX script you have built to process this file inbound into SQL Server I would greatly appreciate the...more >>

Import text File Error
Posted by Ben Rum at 5/24/2005 12:00:00 AM
I am getting the following error: "Too many columns found in the current row; non-whitespace characters were found after the last defined column's data. " It seems a few people (going by google/newsgroup searches) have encountered this, but none of which had a very clear resolution. I am ...more >>

inserting / updating
Posted by Michael Vardinghus at 5/24/2005 12:00:00 AM
Is updating a much more demanding task than inserting ? If so would the best approach always be to construct the insert sentence with joins to as much table as possible in order to avoid updating ? Have 3 tables with a 5 mio b 11 mio c 5 mio d 0 When inserting a/b into d it only takes...more >>

.NET DTS package execution?
Posted by Paul Kleynhans at 5/24/2005 12:00:00 AM
Hi I've successfully executed DTS packages using Vb6, but need to do so in C#. Are there any libraries included in the .NET framework to facilitate this, or will I have to use the COM components found with SQL2000? (I'd prefer to be able to use the .NET libraries, but have been unable to fi...more >>

DTS Transform Loop
Posted by Drew at 5/23/2005 10:26:22 PM
I understand how to loop through a RS and extract data (using Active-X controls and SQL Task), but now I need to add a data transform in there (from Excel to SQL). Here is the lowdown, The SQL Task just uses a simple query, SELECT ExcelLink FROM Cardholder This returns about 7 records...more >>

Accessing global variables from SQL query
Posted by Chris Lieb at 5/23/2005 3:15:58 PM
I am trying to consolidate some code that I had replicated in many places in my DTS package by placing it in a Dynamic Property that sets a global variable. I can reference this variable through ActiveX Scripts with no problem. However, I can not figure out how to access it in an SQL query i...more >>

DTS package that uses a table to tell it what to do
Posted by Drew at 5/23/2005 11:05:53 AM
I am working on building an app for logging credit card transactions. I made a small excel file that the users edit and the user edits the file and then the file is DTS'd into a SQL Server database. I have the following tables, CREATE TABLE [dbo].[Cardholder] ( [CardholderID] [varchar] ...more >>

Connection failing...
Posted by phantom at 5/23/2005 10:44:49 AM
Hello, Two weeks ago we migrated our database to another server including our DTS packages. We went in and replaced the Server connections with the new server name where necessary including within Active X scripts where a connection is declared. The problem is, now all of the packages I run...more >>

OLEDB driver for Informix
Posted by Ken at 5/23/2005 10:17:15 AM
Anyone where I can download or purchase an OLEDB driver for Informix? Thanks!...more >>

SQL Job failing error 8198
Posted by robin9876 NO[at]SPAM hotmail.com at 5/23/2005 8:56:50 AM
When a SQL job has been created to run a local DTS package it fails with the following error message. The job failed. Unable to determine if the owner (DomainName\UserAccount) of job MyJobName has server access (reason: Could not obtain information about Windows NT group/user ' DomainName\Us...more >>

Kill job that is executing endlessly
Posted by Mark at 5/23/2005 8:52:46 AM
I have a DTS package that is scheduled to pull read-only data from an Informix server every 10 minutes. When it works, it takes less than 10 seconds. I have *zero* control over the Informix server, so all error handling *must* be done on the SQL Server side. At times, this job executes e...more >>

Reassigning DTS packages from one SS2K server to another
Posted by Leigh Gardner at 5/23/2005 4:04:55 AM
Hi, We have a situation here where a consultant has come in and developed approximately 45 complex DTS packages on the development server (lets say its called SERVER1DEV). Within an unknown number of the packages, there are references to SERVER1DEV. I want to make a working copy of the dat...more >>

process cubes via DTS on web server
Posted by Joel Leong at 5/23/2005 12:00:00 AM
Hi All, How I can process my cubes via DTS on my web server? My OLAP and OLTP databases is on a database server. I can run DTS package if no process cube task in my package but the task failed when process cube was added to the package. ASP.NET page return error Invalid class string. ...more >>

Last DTSRun OnProgress
Posted by steffi at 5/22/2005 12:00:00 AM
hi, I have a package that imports data from Informix 9.X to SQL Server 2000. I found the transformation always stop at the last DTSRun OnProgress for a long long time. Eg. there are 534330 rows in Informix DB and the transformation processes very quickly, but always stays at the last DTSRun OnP...more >>


DevelopmentNow Blog