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 > january 2004

Filter by week: 1 2 3 4 5

Environment variables
Posted by Spike at 1/31/2004 3:44:27 PM
Hi, What's the best way to have a single point of config for my databasenames? I use the dynamic property task in all packages to set the UDL path of a database connection with an environment variable. This works fine when I run it manually (because I set the variables manually as well), but w...more >>


2 questions about programatically package execution...
Posted by Antonio Lopez Arredondo at 1/31/2004 1:38:29 PM
Hi all !!! I need to execute a DTS package from a Visual Basic program. the questions are: Q1) it it possible to make the packages run asynchronously ? the package itself will notify the user by mail about the execution result, so I want the visual basic program to end inmediately after th...more >>

CDO script in DTS
Posted by Perry Provost at 1/31/2004 12:55:07 PM
Hi, I have created a VBScript in an ActiveX object using CDO 1.21 to connect to our Exchange server, look for an email with a specific Subject Line and save the attachments into a directory folder on the server. The attachments contain raw data which are later imported into tables. The...more >>

changing servers
Posted by Rita Ferreira at 1/31/2004 8:51:07 AM
Hi, can I change a DTS from a server to another server without having to redefine all connections inside it including transformations?? thanks in advance, Rita Ferreira...more >>

importing and maintaining identity columns
Posted by Glenn Carr at 1/30/2004 10:17:17 PM
I'm would like to import records I select with a SELECT from one database to another but maintain the identity column values. I've read where I can do this by setting IDENTITY_INSERT ON. From the Import wizard on the enterprise manager, I am selecting 'import using a query', then specifying: ...more >>

How to Install DTS Package in Client Machine
Posted by vasu at 1/30/2004 3:49:13 PM
Hi All I want to install the DTS package in client machine which is not = located in my LAN. Upto now iam saving the DTS package as .dts file and = copying that one in client machine manually. Is there any other way to = install the DTS package in client machine. Thanks, Vasu....more >>

Working with SQL2k VB6 DTS Packages in VB.Net
Posted by lover at 1/30/2004 2:59:50 PM
Hi! Anybody done this? (topic) I have started to manually convert the VB6 to .Net code. While i wait for the VS.Net IDE to complete a who-knows-how-long-? Search & Replace operation on this 3,771Kb .vb file, I am writing this message to see what the community's opinion is on how best to a...more >>

Executing DTS from Stored Procedure
Posted by Yama at 1/30/2004 12:51:06 PM
Hi all, I am getting this error message when executing a DTS from a Stored Procedure. DTSRun: Loading... DTSRun: Executing... DTSRun OnStart: DTSStep_DTSExecuteSQLTask_1 DTSRun OnFinish: DTSStep_DTSExecuteSQLTask_1 DTSRun OnStart: DTSStep_DTSDataPumpTask_1 DTSRun OnError: DTSS...more >>



DTS Package Stays Connected
Posted by Mike at 1/30/2004 11:19:05 AM
I use a Transform Data Task to copy several tables from a Progress database to a SQL Server database. Durring this process each table being copied uses another license on the source database and then releases them all when the DTS job completes. The problem is that sometimes there are not enough ...more >>

Importing mixed text from Excel
Posted by Sondra at 1/30/2004 11:12:09 AM
I'm trying to import a column of mixed data from Excel to SQL Server. This column contains some numeric values and some alphanumeric. I was getting null values for the alphanumeric values until I used disconnected edit to change the Extended Properties string to include the IMEX=1 parame...more >>

Active x Script for data copy from source to destination
Posted by desperate at 1/30/2004 10:53:48 AM
Hello, I'm dumping data into the database by 1. FTP the text files from unix server to windows. 2. Load the data into the temp table and wrote the vb script (if .. else..) to convert the dates and logical values and numbers. 3. Load the data to the base table from the temp table ...more >>

The Analysis Services Processing Task
Posted by Renita at 1/30/2004 10:49:33 AM
I am trying to execute a sub package that contains the Analysis Services Processing Task. For some reason the package will not execute. For example: Package 1 calls Package 2 that contains the Analysis Services Processing Task. When I execute Package 1 nothing happens. The task executi...more >>

Add own messages to DTS Package status messages?
Posted by Ray Rankins at 1/30/2004 10:29:10 AM
Does anyone know if it is possible to add your own custom messages to the DTS Package status messages from within an ActiveX script task in the DTS package? I'd like to put out some information at the beginning of the DTS package status message that you can see when you look at the job step hist...more >>

DTS Automation
Posted by Noah Ganter at 1/30/2004 8:50:47 AM
How reliable is DTS? I use the DTS utility at work a great deal and often either save the package to SQLServer or complile the package as a VB executable. I have often found the packages will not run properly, but will run smoothly after a reboot. Has anyone else experienced this behavior? -No...more >>

Is there a way to call DTS Designer programmatically ?
Posted by Lee Gillie at 1/30/2004 8:33:08 AM
I found a few entry points in dtsui.dll which look like they may do the job. ActivateDesignerWindow, CloseDesignerWindow, CreateDesignSurface, InvokeDesignerCommand. I have not found a COM interface for this DLL. I don't know what the call parameters are. We are doing package management outside ...more >>

Seeking simple way to limit access to production server.
Posted by Lee Gillie at 1/30/2004 8:24:35 AM
The scenario is probably pretty common. There is a lot of new DTS package development work by a number of people at our location, and others. The target for installation is a production server located elsewhere. Everyone here has access to the production server, to look at data, perhaps make schem...more >>

Dynamic Properties Task & SourceSQLStatement
Posted by patrickhuffer NO[at]SPAM hotmail.com at 1/30/2004 8:21:39 AM
I'm trying to import from a dBase table whose name changes every day based on the date. So I add a Dynamic Property Task, select the copy data task in the tree, then select the SourceSQLStatement property. At this point I have a choice of how to set the value -- based on a query, ini file, a con...more >>

Proccessing a row more than once with intel
Posted by Ray Higdon at 1/30/2004 7:44:03 AM
I am a newbie to active-x and am trying to use the code at http://www.sqldts.com/default.aspx?266 but to do something a little different. I have a last_name column in the source that I need to evaluate the number of spaces and perform an action based on it. If one space, take the data bef...more >>

Activex DLL Task scheduled problem
Posted by gorack at 1/30/2004 6:41:08 AM
Why, when i scheduled a dts package containing an ActiveX Dll Task, the job doesn't enter in the ActiveX?...more >>

Eliminate Duplicates while Bulk Loading
Posted by Reddy at 1/29/2004 3:36:11 PM
Is there any way we can eliminate duplicates while bulk loading the data from a text file to a Sql server Database Thank Reddy ...more >>

Global Variables
Posted by Olivia at 1/29/2004 3:18:20 PM
I'm very new with ActiveX Script and I would appreciate if you could review this script. The script works but I will need to add all the tranformations I have in my dts. Is there any way around that. If not, can my script be shorter than this? I feel I'm declaring too many variables. Func...more >>

Trigger and DTS
Posted by Danny Mansour at 1/29/2004 2:02:12 PM
Hi there, The insert trigger that I created on a table does not fire when I DTS data into the table. Is this by desgin or is there a way/switch to make the trigger fire? Please let me know if you have any ideas? Thanks, Danny ...more >>

multiple input files
Posted by GriffithsJ at 1/29/2004 1:44:19 PM
Hi I have a directory that will have many input files (~10,000), all with different names but following the same naming convention: nITEMS.TXT Where n is an alpha-numeric string of variable length; in other words, all the filenames will all end with "ITEMS.TXT" The structure of these...more >>

DTS Copy SQL Server Objects Task
Posted by Phill at 1/29/2004 9:58:44 AM
Hi All I'm looking for some information on how the 'Copy SQL Server Objects' task works. We do a nightly copy of 50+ tables from one database to another. Sometimes, after we have made some modifications in the source database, the copy fails. Say the task fails on table #40, what actuall...more >>

FTP task
Posted by Al Cadalzo at 1/29/2004 9:54:02 AM
I have a DTS package that creates a weekly text file on the desktop (e.g. WeekEndingYYYYMMDD.txt). I want the package to upload that file to an FTP site. Is that possible to do? I see that there is a File Transfer Protocol Task in the task menu choices but it seems like that can only be config...more >>

End of row cut off when importing a text file
Posted by dschrier13 at 1/29/2004 8:52:44 AM
I am trying to import a text file using DTS. The file is not delimited by tabs or commas so I have to use fixed length. When I scroll to the right of the preview screen, I see that the end-of-line (red vertical line) is at the end of the last character of the first line. But there are othe...more >>

Structured Storage File Transfer Problem
Posted by Andrew Mogford at 1/29/2004 8:11:16 AM
We have created a DTS package and moved it to another server as a structured storage file. When running it all the steps worked fine, but when schedules we noticed we had data missing from one table. After some time trying to track down the problem it turned out that one of the workflows was inc...more >>

Is this a bug in DTS ?
Posted by sudha at 1/29/2004 7:34:50 AM
Hi, I am having a problem executing dts package fron vb immediatly after first execution.I can do this in enterprise manager though. In order to reexecute it from vb i need to exit and then login back. i have code to close all the connections before executing the package in the vb prog...more >>

Dts Error: SQL Server does not exist...
Posted by Leonardo_Gaitán at 1/29/2004 6:40:45 AM
Hi, i have a DTS that connect to SQL Server database, the=20 settings and permissions of the conecction are right, =20 however, when i try execute it, the DTS failed with the=20 following error: Sql Server does not exist or access is=20 denied. Any idea, Thanks=B4, Leonardo Gaitan ...more >>

DTS & Windows Server 2003
Posted by Mike at 1/29/2004 6:37:51 AM
I'm setting up an FTP Package on windows 2003. Somehow, I have a quirk going on. When I try to use ftp.exe on Windows Xp it works fine, but when I use ftp.exe on Windows Server 2003 then it takes forever to list the directories and doesn't end up working. When I use that FTP task in a...more >>

DTS data type conversion error from excel to SQL 2000
Posted by Sam at 1/29/2004 12:55:50 AM
hello! I was trying to use DTS to copy data from excel to SQL2000. In the spreadsheet, it seems like if it is blank or empty values, it is defaulted to nvarchar (255). I tried formatting the columns in the spreadsheet to numbers, since my destination column in SQL2000 is a numeric (18...more >>

Rounding data on import.
Posted by shane at 1/28/2004 10:11:11 PM
I have imported data through dts. But when viewing the data it is rounding. eg 0.10 is imported as 0 What has happened with the import....more >>

Multi-Byte and Unicode support in DTS
Posted by Break It at 1/28/2004 10:06:10 PM
Does DTS support Multi-Byte and Unicode characters ?...more >>

sql execution log
Posted by pradeep.mittal NO[at]SPAM citigroup.com at 1/28/2004 7:40:19 PM
I am executing a sql file through dts. Is is possible to get complete sql execution log (i.e. so many rows updated etc.) and not just step failure reason. Please help me with this. Thanks, pradeep...more >>

Transfer DTS Package Help
Posted by Doug Gifford at 1/28/2004 6:33:56 PM
I am developing on a test system and I want to transfer several of my files to another test system (at home). Can you transfer a DTS Package from one server to another? Export does not have a utility to select a Package. Any assistance will be greatly appreciated. I would hate to have t...more >>

sp over 2 differente DB
Posted by Bruno Alexandre at 1/28/2004 4:58:47 PM
Hi guys, I wonder How can I build a Store Procedure with two connections? What I need is to develop a SP to backup the SQL DB that's on Internet (Hosting Company, and they do not replicate it, well, not without any more money). DTS does not have any tool to do that, just ADD, DE...more >>

global variable
Posted by Olivia at 1/28/2004 4:56:49 PM
Any idea how can I create a global variable to change the database name in the source and destination tab of the tranformation (the database name part only - my_db.table1 to my_other_db.table1)? I know I can create the global variable to change the name of the database in the tranformatio...more >>

Remote editing of DTS packages
Posted by Adam at 1/28/2004 3:54:21 PM
I can create DTS packages on my PC to be stored on another server, but I then try to open it to edit it, the DTS Package editor opens, but with no toolbars, menus and DTS tasks - just an empty white box. My client PC is WinXP, the server is Win2k and the database SQL2000 SP3 Any ideas anyon...more >>

DTS Source Column Size Error
Posted by Unsure at 1/28/2004 3:46:12 PM
I created a DTS package that produces this error when run: "Data for source column 1 ('Text') is too large for the specified buffer size." When I looked at the column within the Transformations tab, it has a datatype of varChar(255). I believe that the problem is that the data from the source...more >>

DTS Questions
Posted by Unsure at 1/28/2004 3:41:10 PM
I have created a DTS Package with the following Lookup named LookupID: select ID from ut_TableName where (PersonName LIKE '%' + ? + '%') The code simply searches for a phrase (represented by '?') and gets all similar matches within the table ut_TableName. I have a transformation (VBScript) ...more >>

DTS with FTP
Posted by Alexis Arrowsmith at 1/28/2004 2:52:24 PM
I have a package that performs a FTP task to download a file. The FTP step completes successfully but the file is immediately deleted. I can watch the file download, complete downloading and then it immediately disappears. It seems to be associated to one particular file. The file is a zip file...more >>

Global Variables in DTS
Posted by Terry Hannon at 1/28/2004 2:32:10 PM
Hi Everyone, I am pretty new to DTS and am trying to setup a global variable. Basically I want to do the following: 1) Select Max(date) from table into global variable 2) Use global variable in the SQL portion of my transform data task to only select rows that have a date greater than my ...more >>

How to execute two Process tasks.
Posted by Venkata at 1/28/2004 2:26:05 PM
I had created a package with Two Execute Process Tasks (Each execute Process task bcps the data into separate table) One Activex script Task. Overall the Package Behaviour is Whenever the Activex Script Task is sucessful automatically Two Execute Process Tasks should run in Parallel (...more >>

VB Code it generates
Posted by Mike at 1/28/2004 1:55:49 PM
I noticed that you can save the dts package as a visual basic module. If you do that, how can you execute the code? Do you have to do additional programming or is it a plug-and-play type of scenario. I made a form and included the references for DTS using VB6, but it did not work. In f...more >>

DTS
Posted by va at 1/28/2004 1:25:17 PM
Hi, Do the users have to be OFF the database system when DTS jobs are executed? Please let me know. Thanks...more >>

Executing Access Query From Within DTS
Posted by qqqq at 1/28/2004 12:42:18 PM
Hi Everyone Is it possible to execute MS Access Query from within a DTS package. In the connection to the Access database the queries within the .mdb don't seem to be exposed Many thanks geoff ...more >>

transfer database task
Posted by Yuling at 1/28/2004 10:31:07 AM
Hi I am trying to use transfer database task to move/copy some database from A server(sql 2000 server) to B server (sql 2000 name instance which has SQL 7 as default instance). But, the task failed with "unspecified error" message. I couldn't find more information other than "unspecified error...more >>

DTS Execution error from remote computer
Posted by Tim at 1/28/2004 10:20:53 AM
--SQL SERVER 2000-- I created a DTS Package to export to a text file and when i execute it on the SQL server itself it works fine. But if i execute it from a sql client workstation it gives me an error that say's "Error Opening Data File: The Device is Not Ready". Hmmmm having trouble fi...more >>

create comma delimited file using DTS
Posted by va at 1/28/2004 9:13:31 AM
Please let me know how to create comma delimited file and comma tab delimited file from database table. Which components i should use in DTS. Thanks...more >>

DTC transaction
Posted by calvin23 at 1/28/2004 7:51:06 AM
Hello, I am new to MS-SQL server and am trying to do something some of you have done before. I am attempting to build a DTC that will run two sql statements in one transaction. First SQL statement-clear the table I am working with delete from APPDEV.IVRtrst Second SQL statement-grab data f...more >>


DevelopmentNow Blog