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 8 - 14, 2005

Filter by week: 1 2 3 4 5

DTS Import Problem
Posted by GW at 5/14/2005 11:51:02 PM
Hi Experts, Appreciate if someone can help me. I'm trying to import a text file mytable.txt delimeted with pipe(|) and containing 300K of rows into empty table that I've created earlier. While I'm executing the DTS got this message :- There is already an object named 'MYTABLE' in the data...more >>


Architecture
Posted by Michael Vardinghus at 5/14/2005 12:00:00 AM
Getting two tables from one base with 4 mio and 11 mio records. The 11 mio records are dimension specification on the 4 mio records so I need to put these 11 mio records alongsid the 4 mio in my fact table. -- Example table 1 create view trans1 as select 100 as beløb, 1 as linje union all ...more >>

Is this a job for DTS?
Posted by Todd M. Taylor at 5/13/2005 5:31:12 PM
Hello; First off, let me say that I'm not a DBA, I'm more of a web application developer that has to wear many hats (but I did pass the 70-229 test ;) So, that being said... My client has two databases: Database A and Database B Database B was built off of Database A, but has a few mor...more >>

DTS Package Import
Posted by dm4714 at 5/13/2005 1:23:27 PM
I have a .dts file that I would like to open/setup within my SQL Server 2000 server. Does anyone know of a way I can insert the DTS package without using Enterprise Manager? I'm trying to automate via Inno Setup and can use OSQL. ...more >>

How do you really get OUTPUT parameters to function?
Posted by Snake at 5/13/2005 12:56:01 PM
Yes, yes I have read the article on SQLDTS regarding output parameters in Execute SQL Task. Well, it aint so easy!! Since there is no visibility into the processes involved, I can not debug it. Here is what I am trying to do: Execute a proc with two input parameters, and return the ReturnStat...more >>

DTS Parameter Queries & Comments
Posted by Robert Hamilton at 5/13/2005 10:41:07 AM
I get an error when I put comments at the top of my queries when trying to set them up to use parameters. Without the comments, I don't. Even if the comment is as simple as /* */, I get the error and it doesn't let me setup the parameters. I can put the comments below the query with out gettin...more >>

DTSrun package does not exist
Posted by TJA at 5/13/2005 10:15:19 AM
I'm running the following from the command line dtsrun /S"servername" /N"packagename" /U"username" /P"password" and receiving the following error Error: -2147217900 (80040E14); Provider Error: 14262 (37B6) Error string: The specified DTS Package ('Name = '"packagename" '; ID.VersionID = ...more >>

Executin DTSrun Utility under the xp_cmdshell
Posted by rallbee at 5/13/2005 10:00:02 AM
I am attempting to execute a DTS package from Query Analyzer using the DTSrun utility under xp_cmdshell. When I execute the package, I receive the following error: "DTSRun OnError: Copy Data from Results to J:\IDEAS40\TRISQL44\MJE\Data\MJE065d.txt Step, Error = -2147467259 (80004005) ...more >>



DTS export runs in Wizard, but not when saved and run in VB
Posted by poppy at 5/13/2005 2:16:05 AM
Hi Experts I have written a dts exporting data from SQL to Excel and the data is exported fine, however when I save the dts as VB and run it from VB, it just exports the headings of the table into Excel, but does not export the data in the table. What am I doing wrong? I know I have data...more >>

Linked server
Posted by Michael Vardinghus at 5/12/2005 9:15:59 PM
Hi All I trying to pull data from another server by the use of linked server. On the server pulling the data I have views accessing the linked server. My question relates to the remote user choice - when setting up linked server it seems as if I can only choose to connect using af databas...more >>

Can't exit from interactive DTS package under SP4
Posted by Jim Langley at 5/12/2005 8:00:08 AM
SQL Server 2000 Service Pack 4 When running a DTS package interactively in Enterprise Manager, there is no way to close the package when it completes. There is no OK or Close button on the form. Also Cancel does not work. The package remains open and you have to use task manager to kill Enter...more >>

Save DTS package with option /F
Posted by TerryMan at 5/12/2005 2:25:01 AM
I would like to save the definition of a DTS on a file. Besides I would like overwrite the file every time that the DTSRUN is performed, so that to contain the dimension of the file that grows always otherwise. Can you help me? Thanks ...more >>

ExecutePackageTask Filename property
Posted by Gerhard Wessels at 5/12/2005 12:00:00 AM
Hello All, I hope someone can help me with this, I couldn't find anything on the Internet. I have a master package that has to execute several other sub packages. I am using a ActiveX Script Task to set the filename properties of the ExecutePackageTasks that execute the sub packages. The...more >>

Transfering string data from Access
Posted by erymuzuan at 5/12/2005 12:00:00 AM
We had a DTS package written by presious staff. which import data from MS Access database to SQL Server 2000. So basically what;s he'd done was like direct mapping from Access Columen to SQL Server column. and we have a new request to somehow do some kind of upfront processing to the data. ...more >>

DTS Database Transfer Problem
Posted by Joseph Geretz at 5/11/2005 2:58:42 PM
We're backing up our database by using DTS to transfer it to another server. The DTS package is very simple, it consists of one 'Copy SQL Server Objects' task. This task is set to drop all objects, recreate them, transfer the data and then restore all constraints and relationships. We're se...more >>

Naming col001, etc of imported flat file for transformation
Posted by Zach.Baier at 5/11/2005 2:48:05 PM
How do you give user friendly name to columns from a text file connection? change col001 to AccountNbr, etc for use in script transformations....more >>

Documenting DTS Packages
Posted by Satish Balusa at 5/11/2005 1:35:29 PM
I have inherited fe DTS jobs without any documentation. Is there a way I can generate documentation or an easy way to document it? How do I figure out the starting point of a DTS package? Any pointers / info is appreciated. TIA ~Sat ...more >>

Aggregate Function in Set List of Update Statement
Posted by Robert Hamilton at 5/11/2005 1:10:06 PM
I want to use an aggregate function (Count) to set a field value in an Update statement. I get an error that states this is not allowed. I could do the aggregation in a view and then update the field value based on the view, but is there a better? Following is what I want to do: UPDATE PCP_...more >>

Executing a DTS package with "AT" command
Posted by Bill at 5/11/2005 12:37:38 PM
I'm using SQL Server 2000 SP4 and am trying to execute a DTS package using the DTSRUN utility using the "AT" scheduling command in Windows Server 2003. Unfortunately, the job fails and the reason is because the package is being executed by user SYSTEM. I can tell this by the log file. I've ...more >>

Dynamic DTS
Posted by goinesj NO[at]SPAM paec.org at 5/11/2005 12:10:02 PM
In am importing various delimited files in to different servers/databases. The DTS has dynamic properties, a execute SQL task to clear the tables, a text file source, a transform data task, a SQL server connection, and a execute SQL task to load the foriegn keys to the table. I have includ...more >>

DTSRun periodic problem
Posted by James Wilman at 5/11/2005 7:51:10 AM
Hi, I have a server running on Windows Server 2003 and SQL Server 2000 SP3a. It runs 16 DTS packages scheduled to run once per minute via SQL Server Agent. Periodically TDSRun will fail with the following message in a dialog box. The exception Illegal Instruction An attempt was made to...more >>

"FTP file using DTS"
Posted by Mônica at 5/11/2005 7:34:01 AM
Hi, I have two servers (I logon locally, but both are in a domain). And I have to use DTS to transfer some zip files and after use ftp. Well, I don´t want to left map the another server. I wanna using in the box of the component of destination field : \\10.10.10.10\dts But when I close I am ...more >>

DTS periodic failures
Posted by James Wilman at 5/11/2005 4:01:01 AM
Hi, I have a server running on Windows Server 2003 and SQL Server 2000 SP3a. It runs 16 DTS packages scheduled to run once per minute via SQL Server Agent. Periodically TDSRun will fail with the following message in a dialog box. The exception Illegal Instruction An attempt was made to...more >>

DTSRun Frequent Crashes
Posted by James Wilman at 5/11/2005 3:58:06 AM
Hi, I have a server running on Windows Server 2003 and SQL Server 2000 SP3a. It runs 16 DTS packages scheduled to run once per minute via SQL Server Agent. Periodically TDSRun will fail with the following message in a dialog box. The exception Illegal Instruction An attempt was made to...more >>

DTS Packages fail when executed from Jobs
Posted by Matt at 5/11/2005 3:10:09 AM
I am having trouble executing a DTS package from a SQL Job. It works OK for a while but then starts failing with the following error message: Executed as user: domain\SQLSvcAccount. DTSRun: Cannot create COM Server to load and execute DTS Package. Error -2147221008 (800401F0): CoInitialize...more >>

Transform Data Task and RowCount delivered
Posted by Guntram Ulrich at 5/11/2005 12:00:00 AM
Hi, I have a task delivering every 15 minutes a number of lines from a database. Is it possible to store the number of selected rows in a global variable for further use in the package? I don´t like to send two statements, one for the count and the next one for the resultset because of ...more >>

Query Statement in Import Wizard
Posted by The Gekkster via SQLMonster.com at 5/11/2005 12:00:00 AM
I'm working on a DTS Package that will need to be scheduled to pull data from a table on remote server, which I know can mostly be done via wizard. My question concerns the query statement used to select data within the wizard. The basic remote table (tblDealer) structure is this: DealerID...more >>

Structured Storage File import
Posted by P at 5/10/2005 7:26:04 PM
Hi All When I reimport a DTS from a Structured Storage file all the layout is screwed up. Is there any way to stop this happening? Thanks Pete...more >>

Removing carriage returns and line feeds characters from a flat fi
Posted by LP at 5/10/2005 4:40:02 PM
I'm getting a flat text file that I using in DTS. The files are fixed width but occasionally rows will have misplaced carraige return line feeds <cr><lf> embedded in them. I planing on using FileSystemObject to exam the rows and then Replace(sReadLine, chr(10) chr(13), chr(40)chr(40),,0) ...more >>

Storing DTS Package
Posted by Satish Balusa at 5/10/2005 2:28:41 PM
I need to make a decision whether to store a DTS package on the SQL Server or on the File system. Can the group please fill in Advantages and Disadvantages on either side. Thank you all in Advance ~Sat ...more >>

Dynamically Changing Filepath?
Posted by Mark at 5/10/2005 1:51:20 PM
Hello, I have a dts package that pulls data from a .csv file and then scrubs and loads it into a table. Is there a way to change the file path and/or name using t-sql prior to executing the package? Any help would be greatly appreciated! Thanks in advance....more >>

Edit DTS Packages without Enterprise Manager
Posted by Steve Kallal at 5/10/2005 10:50:05 AM
In SQL 2000, is it possible to edit or create DTS packages without Enterprise Manager? I know I can create a temporay package with the Import/Export wizard and then save the package. But I would like to edit a package without using Enterprise Manager to launch the tool. Currently, I launch the...more >>

step level errors in C++ implementation via DTS APIs
Posted by ezelasky NO[at]SPAM hotmail.com at 5/10/2005 8:56:53 AM
How can I get the detailed step errors I see in the DTS wizard -- the information which row is failing and why via the DTS APIs in C++ application? I can get the very general high level error with GetExecutionErrorInfo. Thanks! Elizabeth ...more >>

DTS Copy Database Task and ever increasing Transaction Log
Posted by Rob at 5/10/2005 8:36:08 AM
I am fairly new to DB management. One of the things I have to work with is a DTS Package that simply copies a database. One thing that I have noticed is that every time this runs the transaction log increases and doesn't seem to clean itself out even when I shrink the database. Is there som...more >>

Need Example exec proc from VBScript ActiveX DTS.
Posted by Snake at 5/10/2005 7:58:07 AM
I need to exec a stored proc with one int input param, one int output param, and a Return int from within an ActiveX VBScript. I have been working on this for two days and am stumped using an ADO connection. Can't find much on MSDN for VBScript. Thanks, Michael...more >>

ActiveX Cannot Create Object
Posted by Karunakaran at 5/10/2005 7:04:06 AM
I have a dts pacakge in which an ActiveX Script task probes outlook inbox saves the excel attachment. This runs fine when I execute the package manually, when I put the package on scheduler I get an error stating ActiveX cannot create object(Outlook.Application) Access Denied. What could be...more >>

DTS Package saves ODBC connection details.
Posted by Peter at 5/10/2005 2:41:09 AM
Hi all, I'm trying to load a couple of terabytes of data from an Oracle server onto a SQL 2000 box. The Oracle data comes from 616 different RDB files, each requiring a different "Attach" statement in the ODBC connection. To implement this, I have a worker package that copies all the table...more >>

xpsendmail task hangs...need to make it timeout
Posted by Edgar at 5/9/2005 10:05:01 PM
I am using xp_sendmail to send emails during execution of package via an ActiveX task. On occasion, our mail server gets full causing the package to hang. Is it possible to make an ActiveX task timeout like you can an ExecuteProcess Task? I'm looking to be able to cancel the xp_sendmail task ...more >>

DTS: Using look ups
Posted by RJN at 5/9/2005 10:03:45 PM
Hi I'm migrating data from the old schema to the new schema using DTS. The old and new schema are different. In the new schema we have identity columns as Primary keys and referred as foreign keys in the child tables. In the old schema Primary keys are not identity columns. So when I migrat...more >>

One to Many - DTS
Posted by apanchanathan NO[at]SPAM gmail.com at 5/9/2005 3:41:11 PM
Hi I have csv file which has about 150 records, I need to load this into a table. csv file look like this pen,80,90 1- record cup,60,100 Ineed to store into a sql sever table like this pen 80 pen 90 as 2 records cup 60 cup 100 I thought of using DDQ. I am really stuck... n...more >>

can't see my activex code in the activex script task
Posted by tj at 5/9/2005 1:21:05 PM
This has happened a few times, and sometimes it fixes itself, but this time it didn't. Not sure how i did it, but does anyone know how i can get the designer to display my code? Here's the problem: when i open the activexscript task, it opens the scripting window. It usually shows 2 frame...more >>

API in VB code is rolling back SQL import but wizard does not
Posted by ezelasky NO[at]SPAM hotmail.com at 5/9/2005 1:14:37 PM
I have a DTS package in visual basic that was created via the DTS wizard and it rolls back or empties the SQL table when a laod failure is encountered even though I have the following property set: oStep.RollbackFailure = False This doesn't happen in the DTS wizard, I get a partial load on t...more >>

data too large for specified buffer size
Posted by Dana at 5/9/2005 12:41:08 PM
I'm tring to import from Excel into SQL Server and get the dreaded "Data for source column...is too large for the specified buffer size." The source value > 255 bytes, destination column datatype is ntext. Per KB281517 I changed the registry entry TypeGuestRows = 0, even rebooted, but the pr...more >>

ActiveX task hangs in DTS
Posted by Sam123 at 5/9/2005 12:12:20 PM
Hi...... For some reason everytime I run a DTS package with an ActiveX Script Task it hangs. So I tried to create a test package with only an ActiveX Script Task and it still hangs. The code in the task does only 2 things (for testing), reads a variable and assigns a number to it. I tried reb...more >>

Unzip file using DTS
Posted by mvp at 5/9/2005 11:43:04 AM
Hello everybody, I have one XML file whcih is a zip file, which i do want to unzip using DTS and then want to load XML into SQL SERVER table, so can u pls let me know, how can i unzip file using DTS. thx...more >>

Generating one table with a terabyte of data
Posted by lee at 5/9/2005 9:15:22 AM
Hi All, I need ideas on how to improve a process that can generate a terabyte of data in a week. Our company produces software that analyzes code and one of the things we do is Code Duplication. We're processing hundreds of millions of lines against each other and generate gigabytes of resu...more >>

Inputs on SQL Server Migration Assistant (SSMA Tool) Oracle To SQL
Posted by Karthic Sankaran at 5/9/2005 12:38:02 AM
We're planning to use SSMA tool to migrate Oracle DB Objects/data to SQL Server 2000. I presume that this tool is not available in the market. In case if I need to use this tool, how should I go about the same? this is extremely URGENT!....more >>


DevelopmentNow Blog