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

Filter by week: 1 2 3 4 5

Required bandwidth to DTS from VFP to an offsite SQL Server
Posted by jim_sweeney NO[at]SPAM hotmail.com at 3/28/2005 12:01:19 PM
We have a DTS package that loads VFP data into a SQL Server on a separate machine on the same network. This process takes ~12 minutes and involves many of the records in many VFP tables (1.3GB). Our CIO has expressed an interest in moving our SQL server to a remote location and keeping our Vis...more >>


DTS hangs
Posted by Sam at 3/28/2005 9:10:20 AM
Hi, I have created a VB program to perform DTS tasks for data transfer from ACCESS database to SQL Server. The DTS are created by saving the actual DTS packages as VB file and used those bas files in VP app to run the DTS programmatically. The process works fine most of the time. But occa...more >>

To show date and time for field type of datetime during export to
Posted by cet at 3/28/2005 5:27:03 AM
Hi, Currently when I perform a export to excel, those fields with datetime will only show date. I understand that I can open that excel file and change to the correct format. But I would like to have it set automatically after the export is done. How should I do so that it can show out the...more >>

DTS ActiveX transformation error
Posted by c-lemale at 3/28/2005 12:06:59 AM
Hi, Could someone help me. When I execute my DTS batch with a script ActiveX in VBScript, I have the following error message : "ActiveX Scripting Transform (DTSTransformation__5) doesn't succeed to initialize script execution engine". Thank's a lot in advance. Christian ...more >>

Copy Tables/Views from a Suspect Database to New Datbase
Posted by khcrookie at 3/27/2005 7:15:01 AM
When using DTS to copy Tables/Views from one SQL to another, some of the tables/views start to copy but error out. Is there anyway to fix/rebuild the existing tables/views before copying or worst, is there anyway to let as many copy before it fails. I understand this would not get me a c...more >>

Date formate
Posted by Adel at 3/27/2005 3:23:02 AM
I used DTS to transform data from ORACLE 8.1.7 to SQL Server 2000. an error message appears while moving data in new table DBTYPE_DBTIMESTAMP "Data overflow. Invalid character value for cast specification". field in oracle with Date type. the retrived information through oracle ODBC ...more >>

Run DTS from ASP
Posted by RogerC at 3/27/2005 12:02:02 AM
Hi, I have a DTS package that imports data into SQL 2000 from an ODBC source on another server. There are only 2 steps, empty the sql table and import new data. This package runs with no errors when it is run from EM on the SQL server. I need to be able to trigger this package from a ASP pag...more >>

ActiveX Script to import flat file
Posted by anthony.boud NO[at]SPAM ccsit.co.uk at 3/26/2005 12:41:50 PM
I have a fixed length text file that I wish to import into SQL tables. The text file will contain 2 different types of records. Firstly, a header record, which is immediately followed by X number of detail records. Each record is 80 characters long, separated by a CRLF, and the type of reco...more >>



Different columns in text file
Posted by Krish at 3/25/2005 10:55:52 AM
I have data in text file , delimited with Pipe and with help of DTS package pump data to SQL server. The issue is, the text file some rows can have 32 columns and some can be 33 columns and so on. Number of columns range from 32 - 40. How do i tell DTS package (vbscript) to recognize the c...more >>

Flaw in my DTS design
Posted by Jim Abel at 3/25/2005 9:14:55 AM
I need some help with the way I make dts packages that bring in data from outside data sources. A typical DTS Package that I've made Deletes the records of a table then on success connects and pulls down a new set of records and then on success does and update to another table from the ne...more >>

DTS Package and Delete
Posted by dm4714 at 3/25/2005 8:29:46 AM
I have a DTS package the does an FTP --> Text File Data Source -->>> Multiple Tasks -->>> SQL Server database. The input source file has one row that has12 fields. The multiple tasks basically read 3 columns from the source record and insert a new row in the destination table until all 12 ...more >>

As Job stuck running Step 1
Posted by AshleyT at 3/25/2005 7:45:02 AM
I have a DTS that uses global variables to got to the network, get a file, unzip the file, import the files into sql and then move the file to an archive. It works great as a DTS. But when run it as a job it sits at Running Step 1...and I have the manually Stop Job. Then I get no errors...more >>

insert based on global variable
Posted by arthur at 3/25/2005 7:23:30 AM
sorry in advance for the newbie question. i need to insert into a table using a global variable in a "where" clause. so something like insert into datasourceA.table1 (field1, field2) select field1, field2 from datasourceB.table1 where field1 > aGlobalVariable i can do the part without t...more >>

DTS different Flat files
Posted by John Doe at 3/25/2005 6:57:40 AM
What is the best way to import different flat files that are in the same directory using one package? *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!...more >>

DTS way to tell if DTS job is being run in batch or manually via Designer?
Posted by doug at 3/25/2005 6:40:55 AM
without having a manually controlled external value set to test, is there a global property or something that can be tested to let the scripts control flow, even just whether or not to issue MsgBox statements? doug ...more >>

DTS package missing values
Posted by point99 via SQLMonster.com at 3/24/2005 8:11:40 PM
I am trying to import some data from excel to SQL server table. In excel file there is a column which is mostly empty [around 99 % rows] so when I am importing the file. the DTS package is putting null in all rows even if there is a value in that row for that column. is there any bug in it? do I ...more >>

Datapump task qustion for temporary and Global temporary table
Posted by Kris at 3/24/2005 3:19:04 PM
Hi there, In DTS, Can we use temporary or global temporary created table in DATA PUMP TASK for Exporting data from Server1.DB1 to Server2.DB1 ? Here is case : In DTS Package. Create table ##Global(xyz int) on Server2. Server1 ----- Data Pump Task----->Server2 In Data Pump Task ( My...more >>

DTS import error "not a valid account name or password"
Posted by skiz at 3/24/2005 2:25:57 PM
Hi, I'm trying to import an ms access database into SQL server using DTS. I have read all the postings and tried all the suggestions and I keep getting errors. I'm getting: "not a valid account name or password" "error during initialization of provider" Here's how I tried importing this: ...more >>

Excel to SQL Server Help!
Posted by Test Test at 3/24/2005 1:27:57 PM
H! I need to export Excel worksheet data into a SQL Server table. The Excel worksheet has 5 cells in it and I need to insert 5 cells data into a text field of a table. Is that possible? All I am looking for is ActiveX code. I used this article (see the link) to set up my script (just to make ...more >>

Copying DTS tasks from one SQL Server to Another
Posted by William at 3/24/2005 11:01:06 AM
I have written several DTS tasks in EM that run nightly. I am moving my data from one SQL Server 2000 installation to another SQL Server 2000 installation. Is it possible to copy my DTS tasks from EM on one machine to EM on another machine? -- Regards, William...more >>

bcp Question
Posted by David Franklin at 3/24/2005 10:00:01 AM
Is there a switch that can be used with bcp to include the column names as part of the resulting file from a queryout command ? Thanks in advance ...more >>

DTS from local txt to remote server
Posted by andrea favero at 3/24/2005 8:13:02 AM
I've a minimal SQL Server installation in my desktop PC and a source text file containig my orders. From my desktop is it possible in DTS to channel data from my single source text file to a remote destination table in a remote SQL Server? In my network environment is forbidden to share folder...more >>

DTS Package fails in cluster
Posted by David Portas at 3/24/2005 6:56:48 AM
Enterprise 8.00.818 DTS package on an Active/Passive cluster with a transform data task that loads data from some Excel spreadsheets. The package works fine when one node of the cluster is active but consistently fails on the transformation task (see error below) if we failover onto the oth...more >>

Copy Table Request Failing
Posted by Julie at 3/24/2005 2:19:02 AM
Dear All we recently put in a DTS request to move 36 million records from a non SQL Server to ours. At 33 million it failed, which was a bit annoying as it had been running about 19 hours. Is there a way of stopping it from rollbacking the records ? Thanks J...more >>

Out of Memory Error
Posted by Akber at 3/24/2005 12:47:04 AM
I am using Transform Data Task to transform data from table to text file. I am using lookup query to get the value of a single column using VBScript in transform data task. But when I test the particular VBScript task it gives me the following error Error Code:0 Error Source: Microso...more >>

Passing global parameters to package from dtsrun
Posted by Snake at 3/23/2005 11:53:03 AM
DTSRUN is said to allow values to be passed-in to the DTS package. Books Online has no complete example of this being done so I have to rely on the syntax alone. Fine, but . . . The syntax for DTSRUN shows /A global_variable_name:typeid=value. but I don't know what values "typeid" take...more >>

DTS package execution time
Posted by RayAll at 3/23/2005 10:51:02 AM
Is storing the package into the metadata services the only way to get the DTS package excution time? Thanks Ray ...more >>

Data Driven Query Task Update Query Not Proper Syntax Problem
Posted by Winoo at 3/23/2005 9:45:07 AM
Hello Everybody, I'm trying to use the DTS package to run an UPDATE query but it looks like the DTS query designer isn't accepting a properly formatted query. I'm looking at an example given on the Microsoft website that says I should use a query like this: * UPDATE Account SET Company...more >>

Search DTS Packages
Posted by Buddah1957 at 3/23/2005 9:33:02 AM
Hello: I am working with SQL Server 2000. I need to search thousands of DTS packages across multiple servers to locate those DTS Packages that reference a specific server. The server is being replaced and the server's name is being changed to accommodate corporate guidelines. Is the...more >>

Create a log entry from ActiveX Script task?
Posted by Lamont at 3/23/2005 9:30:08 AM
Is there a way to stick something in the package's configured log from an ActiveX Script? I've got a script that uses an external component to help parse an XML document that's loaded from a text field in the source table. If the document is invalid, I want to log the record's key value and ...more >>

DTS and VSS
Posted by dm4714 at 3/23/2005 9:03:26 AM
Anyone know of a way to put DTS packages in source safe and use keywords? ...more >>

Differentiate flat files for different tables.
Posted by Jesse Fitterer at 3/23/2005 7:24:02 AM
I have 4 different flat file struture in on folder(_001.dat,_002.dat,_003.dat,_004.dat)each going to a seperate table. Right now the logic below grabs all files. I want to be able to filter on the file extension and send that to its own particular table. Function Main() ' Declare FS...more >>

Problem with ActiveX Component in DTS Package
Posted by Dhiraj at 3/23/2005 5:59:01 AM
hi I am using SQL Server2000. I want to use the "microsoft.xmlhttp" ActiveX Component in DTS Package (using VB Script) By that method “Set objXML = CreateObject("MICROSOFT.XMLHTTP") “ But if run that code then server was not responding and also don’t send any error...more >>

ALTER ALL SERVER AFTER A BACKUP & RESTORE OF A GROUP OD DTS
Posted by Ricardo Silva at 3/23/2005 4:09:02 AM
Hi all, i've an aplication called DTSBackup (Copyright © 1999 Darren Green) that i don´t know if you've eard about. But this app backup one or more DTS into a DIR and then u can restore them from there to another sqlserver instance. Nothing new! My problem is that after i restore the DTS...more >>

job scheduled on SQL Agent
Posted by gogerc at 3/23/2005 3:03:03 AM
We are trying to run a job scheduled on SQL Agent that has only 1 step. The step is an Operating System Command of: DTSRun /s <Server> /n NEW Email Team Managers /e which attempts to run a DTS package. The DTS Package itself has only 1 step which is an ActiveX Script Task. The task connect...more >>

Logging--
Posted by Kandachar at 3/22/2005 8:39:07 PM
Hi In my DTS package i have "Truncate Table task" followed by "Package Success" and "Package Failure" tasks. "Truncate Table task" is connected to "Package Success" using "On Success" workflow. "Truncate Table task" is connected to "Package Success" using "On Failure" When there ...more >>

Batch file not found after restart of Enterprise Manager
Posted by Cory Rammer via SQLMonster.com at 3/22/2005 6:43:59 PM
I set up a very simple Execute Process Task which runs a batch file on our server's local drive. The process works fine until I close and restart Enterprise Manager. Then when I attempt to execute the package (which contains only 1 task - the "batch file" task), execution fails. It will only ...more >>

Stripping a 'TAB' from a text field
Posted by Steve at 3/22/2005 5:15:29 PM
Hello I'd like to thank everyone who has helped me in that past. You guys have been great. I am outputting various fields from a table to a tab delimited text file. (Thats the vendor requirement). One of those fields is a varchar field that appears to have a 'tab' buried in the data......more >>

DTS PACKAGES
Posted by Gina Hernandez at 3/22/2005 5:12:57 PM
Hello: what is the sql command to be able to see the packages in the database? Thanks ...more >>

EXECUTING A PACKAGE FROM A VB. APPLICATION
Posted by Gina Hernandez at 3/22/2005 4:58:59 PM
Hello: I have a WEB.NET 2003 program service. This service lets me check if a file exists in the hard disk of the server, if this is true a need to execute some packages that read text file and bring the information to SQL tables. Currently, I have structured storage file created, b...more >>

DTS calling Oracle procedure
Posted by Calvin KD at 3/22/2005 4:25:06 PM
Hi everyone, Can someone let me know if there's a way of calling Oracle's procedure within a SQL Server DTS package please. If there is a way, an example would be greatly appreciated. The reason for this is that I need to execute the Oracle procedure to extract data from Oracle tables, then ...more >>

Using trigger with a datapump
Posted by RayAll at 3/22/2005 3:31:37 PM
I am transferring records from one table to another table using a Datapump task.each record looks like the following: Field1 Field2 Field3 Field4 While transferring the field1 to 3 ,I update Field4 (it's my flag) and when the control gose to the next record field4 has a value of either 1 o...more >>

SQLAllocHandle on SQL_HANDLE_ENV failed
Posted by Brian at 3/22/2005 1:43:32 PM
Can anyone throw any light on why I'm getting the following error... Step Error Source: Microsoft OLE DB Provider for ODBC Drivers Step Error Description:[Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed Step Error code: 80004005 here's the setup.....: ...more >>

system function syntax
Posted by Lena at 3/22/2005 10:23:02 AM
What does letter 'N' means in this syntax? if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[ImportFileData]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) Thanks...more >>

DTS Step Error
Posted by Tom Lang at 3/22/2005 10:21:04 AM
We have been encountering this message when running three DTS packages between two database servers: Step Error Source: Microsoft Data Transformation Services (DTS) Package Step Error Description:ActiveX Scripting encountered a Run Time Error during the execution of the script. Step Error c...more >>

DTS Connection Information
Posted by cazar at 3/22/2005 10:10:45 AM
I am trying to modify a DTS package connection to use a .udl file. When promoting the package I have to ensure that there is a .udl file on every environment using the same name in the same location. That is not a problem, however, I would like to know if there is a way to dynamically se...more >>

Import data error
Posted by so3 at 3/22/2005 8:17:02 AM
Dear All, I want to copy all the stored procedures from one sql server to another sql server by using Import, then I get "Fail to copy objects from Microsfot SQL Server to Microsfot SQL Server" error. I can't find any detail of the error. The source database info is Microsoft SQL Server ...more >>

Scheduled Jobs
Posted by רומן at 3/22/2005 7:59:02 AM
When executed manually all is well, connection is made to both sides and data flows nicely. When I schedule this package to a job it runs but step is stucked. There are no logs or any other information. Thanks, Roman...more >>

Query to show local dts packages that refer to a table.
Posted by Mike O. at 3/22/2005 7:51:09 AM
I'd like to know if there is a way to identify all the local packages that refer to a specific table or specific stored procedure. I know that the master and msdb databases contain special tables that can be queried when examining database structures and executed jobs. But I don't see anyt...more >>

Question for Darren Green if you're available and willing
Posted by ddobier at 3/22/2005 4:55:01 AM
Hello, I've used your tips from http://www.sqldts.com/default.aspx?218,1 (multiple paths in workflow) and the above article on performing a multi-step in my DTS package. What I can't figure out is this: 1. If I have two multiple paths in workflows in my DTS package and one of the paths ...more >>

Provide Text file name in parameter
Posted by Farhan at 3/22/2005 4:05:03 AM
I have created DTS Local Package for Migration of data from Text file to Database Table. This is working fine. I change the file name often times when I execute the DTS Package, for this purpose I have to change this DTS with parameter so kindly guide me how can I change my this DTS Package wi...more >>

Vb & DTS
Posted by Peter Newman at 3/22/2005 2:37:04 AM
VB6 ( SP6 ) & SQL 2000 In my vb code i have a public connection to to the SQLServer by using the following code Set UserDbconnect = New ADODB.Connection UserDbconnect.ConnectionTimeout = 60 UserDbconnect.ConnectionString = "DSN=MyDSN;UID=MYUID;PWD=MYPWD;" UserDbconnect.Open This works...more >>

how to change customtask destinationObjectname with vb
Posted by eddy van beek at 3/22/2005 2:03:07 AM
I have serveral dts packages saved on the server. they contain a very large amount of tables(hundreds) i have made a ini file to determine the source database and the destination(db and server) that works fine. however dts package stored from a wizzard contain full DestinationObjectName =...more >>


DevelopmentNow Blog