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 > november 2003 > threads for november 1 - 7, 2003

Filter by week: 1 2 3 4 5

Executing vb script from a dts package to execute a stored procedure
Posted by ajayz90 NO[at]SPAM hotmail.com at 11/7/2003 1:42:23 PM
I am new to using scripting in DTS.I want to call a stored procedure using VB script, I happednd to get some code for doing this.. I am reproducing it below.... however had two questons before i implemented it.... '********************************************************************** ' Vi...more >>

Long filename issue on server
Posted by Jason at 11/7/2003 12:11:13 PM
Has anyone run into an issue where a long file name for a source file (particularly DBF 4 or 5) when running the DTS package through development, but when you go to schedule the package so the package is running completely on the server, the import fails because the server can not locate the long fi...more >>

Determining data to transform from destination
Posted by Paul Lucas at 11/7/2003 11:23:08 AM
Hi, I'm new to DTS so forgive me if this is a bit trivial I want to transform data from one database to another on a regular basis. I have set up a Transform Data Task no problems that will initially copy the data as required. However, when running the package on subsequent occasions, I only...more >>

How can i call a stored procedure in an activex script...
Posted by ajayz90 NO[at]SPAM hotmail.com at 11/7/2003 11:01:28 AM
I have written an activex script to disable a data transform task when the file size is zero and put it in the work flow properties ti not run a task of uplaod if the file size is zero. The script is as given below.. Function Main() Dim fso Dim f Dim FileName ' file to check ...more >>

Embedding global variables into SQL statement of Dynamic Properties Task
Posted by David Morrison at 11/7/2003 10:47:19 AM
I've created a Dynamic Properties Task that uses global variables to substitute the server name and database name into the connections and tasks of my DTS package. The global variables worked great for setting the server name property of the connections (which were values), but now I have a pr...more >>

Global Varibles in Execute SQL Tasks
Posted by Mary at 11/7/2003 9:57:39 AM
We have designed a DTS package in SQL 2000 that moves data from the source DB2 to the destination Oracle. As each row successfully inserts into the destination table, a flag is changed on the source table to indicate it was processed. Currently we have an ActiveX script task with code to...more >>

Parsing a Text column into table
Posted by JAB at 11/7/2003 9:10:24 AM
I need help on this. This is a problem I just inherited from someone else. There is one table which has a text field/column. This column in the table A have multiple records stored as one field. example: rec1: This is a test rec2: This is a test2 rec3: This is a test3 In this table, al...more >>

DTS Lookup/Update problem
Posted by Garrett at 11/7/2003 8:53:17 AM
I have a DTS Package that pulls information into SQL Server from an ISeries AS/400 System. in one of the fields, There is some records with data and some without. I want to do a DTSLookup but i dont know i can fill in the blanks with information from another table without overwriting the f...more >>



Call DTS with SQL DMO in C#
Posted by hrhoe at 11/7/2003 8:22:19 AM
Hi, I'm trying to import/export data between SQL Server, ..dbf file and text file by using SQL-DMO in C#. Is there anyway I can call "DTS Import/Export Wizard" from C# program? I know how to use existing DTS packages, but I need to add user interface. I think one of DTS method or function ...more >>

Yukon DTS
Posted by David S. Dudley at 11/7/2003 7:51:18 AM
I know DTS has been redesigned for Yukon. Will our existing SQL Server 2000 DTS Packages work in Yukon or will they need to be rewritten?...more >>

Error when running package
Posted by Toby at 11/7/2003 7:26:05 AM
I keep getting the following error message when trying to run a package that contains only two steps... An ActiveX Task that is declaring properties for an Bulk Export Task Error Source: Microsoft Data Transformation Services (DTS) Package Error Description: General Error -2147220501 (800403EB). ...more >>

Creating dynamic file name
Posted by Peter at 11/7/2003 6:57:22 AM
Dear All, I would like to configure DTS to create dynamic filenames for a text file i.e. File_20031107.txt, does anyone know how to do it ? Thanks Peter...more >>

DTS to automate OLAP cube copy / paste
Posted by Craig Farmer at 11/7/2003 5:31:06 AM
Does anyone know if it is possible to automate analysis service cubes to copy and paste from within a dts package? If so could you point me in the direction of any reference material. Regards Craig ...more >>

how to check table existence before transform task?
Posted by Martin Nicholson at 11/6/2003 5:58:43 PM
Would anyone know how to check for the existence of a table before starting a transform task against it? I.e. if the table exists, go ahead and copy it, but if not, exit the package without an error message. thanks, -marty nicholson ...more >>

Download a text file from internet in DTS
Posted by HL at 11/6/2003 4:36:11 PM
Is there any way to download the text file from website: (http://www.federalreserve.gov/releases/H10/hist/dat00_sd.t xt) into SQL Server using DTS package? Thank you ...more >>

Scheduled DTS Job - running as Who ?
Posted by Andrew at 11/6/2003 3:37:49 PM
HI, my DTS package is using NT-authentication when logging in to Sql Server. The intention is to have it scheduled, and kicked off by the Agent Service. The question is: what kind of credentials will by DTS process have ? My own feeling is the DTS execution will inherit the user-ID from...more >>

DTS database flexibility
Posted by David Morrison at 11/6/2003 1:50:39 PM
I have a DTS package that copies data from tables in one database to the same tables in another database, deleting records in the destination tables first. How can I easily change the source and destination database references throughout the DTS package so I can reuse the DTS package elsewhere?...more >>

Date Conversion: AS400 -> SQL Server 2000
Posted by Tim O'Keeffe at 11/6/2003 12:40:00 PM
I am attempting to pull tables from a JD Edwards install on a as400. I am using Client access odbc driver, and each time I do the copy of the table I get screwed up fields where the date fields are supposed to be. In fact the date fields are converted to decimal. thus 9/9/2003 becomes 10123...more >>

restore only one table from backup
Posted by dane at 11/6/2003 12:35:17 PM
a table got screwed up and I need to restore it from a nightly backup. All I can find to do is restore the entire database, how do I restore only one file at a time?...more >>

FTP on DTS...
Posted by FubarZA at 11/6/2003 11:59:40 AM
Could anyone tell me how to setup FTP on DTS to transfer files from the FTP server to the server drive, check for only the new files on the FTP and then transfer them to the server. Thanks for your feedback ...more >>

export and append
Posted by Gina at 11/6/2003 11:19:37 AM
I am looking for information on how to use DTS to export a text file and to have it append to this text file when the DTS package is run in the future. Any information is greatly appreciated. Thank you. ...more >>

Disk Space
Posted by Sanka at 11/6/2003 10:36:13 AM
Hi All, Is there a way to find the Drive / Disk space from Activex Script. Cheers, Sanka...more >>

Accessing SQL in Transform Data Tasks
Posted by Jason_Constant at 11/6/2003 8:57:27 AM
Is there a way through ActiveX script to access the SQL in a transform data task?...more >>

Parsing the long char column in SQL Server
Posted by Jeffrey at 11/6/2003 8:48:25 AM
I just received a table migrated from the ServiceCenter. There is a long char column, which is in fact a series of column in ServiceCenter data. How can I parse it into additional fields in SQL Server; or is there any instruction/guideline, from which a utility tool, e.g. Crystal Report...more >>

Bcp and datatypes
Posted by Rulle at 11/6/2003 7:19:41 AM
Hi! I want to import a tab separated textfile to a SQL 2000 table. The row terminator in the textfile is newline. Funlayer.txt: Value1 003 Value2 4,7625 value3 7,0000 ************************************* Commandline: bcp TEST..FunLayer in FunLayer.txt -Slocalhost -T -r\n - fbcp....more >>

Transformations Source Columns Not Appearing
Posted by Melanie at 11/6/2003 6:46:28 AM
Hello, I have a DTS package that needs to export the results of a stored procedure into an Excel spreadsheet. The stored procedure is returning results from global temporary tables. I have a transform data task. The source tab contains the stored procedure name. But on the transform...more >>

DTS caused tlog backup to faile
Posted by armin at 11/6/2003 2:07:02 AM
Hi all! Past few days I tried to find out what is going on, but without results, so please find some time if you know wjat is going on here... SQL Server 7.0 SP 2 NT 4.0 SP6a... - One database, daily full database backup, backup of tranasction log each hour during working hours, everythin...more >>

Transfer DTS package
Posted by hb_zhang at 11/6/2003 12:11:21 AM
How can i transfer a DTS package (the job run well on server1)from server1 to server2, i try open 1 package from server1 and then save the package to server2. I can run the package on CMD use DTSRun and on SQL Enterprise Manager, but while i schedule the package as job , the job on server2...more >>

Cancel Stored Procedure execution
Posted by Lenny at 11/5/2003 10:43:16 PM
Hello, Is there a way to stop stored procedure execution upon user requests. A stored procedure is called from APS.NET page. Actually a new thread is started that calls sp, the page is then reloaded every 5 seconds and progress bar is displayed. Usually it takes a few seconds to 10 mins to ex...more >>

Teradata ODBC
Posted by Nick Djurovich at 11/5/2003 6:08:14 PM
Hi, Info: WinNT 4.0, MS SQL 2000 + SP3, NCR ODBC driver I've set up a Teradata connection using the Teradata ODBC. I've set up a transform task to query the Teradata db and insert the results into a SQL 2000 db. When I perform simple queries, there's no problem. When I try to use a much l...more >>

Storing DTS package
Posted by sree at 11/5/2003 6:08:12 PM
Hi, Can anybody help me out. How to store the dts packages as vbcode/vbscript file through programatically. I tried to store using dts package object using the method SaveToStorageFile and SaveToStorageFileAs. But it is storing in binary format only. I want it in VB Script form similar...more >>

FTP parameters
Posted by Benoit at 11/5/2003 4:58:54 PM
My DTS create a different text file every day. I need to send that text file via ftp. I pass by a Execute Process Task and i use ftp -s:file.txt(that file icluded the ftp parameters and mput command). How i could pass the dynamic file name to my ftp task? Thanks...more >>

BulkCopy master/detail id's
Posted by Darian Miller at 11/5/2003 4:03:35 PM
Given master table of xid (identity), fa,fb, etc... and detail table(s) of xid, f1, f2... What's the standard practice for performing a bulk import (from another SQL Server or file based) that handles keeping the master/detail id's in sync? Obviously cannot keep the same ID's but do need to us...more >>

VBScript Runtime Error
Posted by Tim Harris at 11/5/2003 3:32:26 PM
I have a DTS package that has been running for months now without a = problem. One of the steps checks to see if it can get a lock on a cube = so the package can loop until another DTS package can finish processing = a different cube in the larger virtual cube. All of a sudden I get a = Microsof...more >>

Run DTS from VB
Posted by li at 11/5/2003 2:13:27 PM
I have a VB application running DTS package on a client machine. Looks like I have to install enterprise manager on the client machine, otherwise the application cannot create the dts package object. Is it the only way to make it work?...more >>

Delete database records based on EXCEL file
Posted by AJ at 11/5/2003 1:55:40 PM
I have a SQL table where every record needs to be deleted unless the record is listed in an EXCEL spreadsheet. I am thinking that DTS is the way to go. I have used dts to export and import data, but haven't tried anything like this. Does anyone know if this is possible to do or how to d...more >>

Control of workflow steps
Posted by Toby at 11/5/2003 12:36:20 PM
Hopefully this posts... I have a DTS Package that is pulling in a text file, importing the records into a temp table. While in the temp table, 2 queries are ran against the data to move any "incomplete" or "dup" records into 2 separate "user" tables... Then run a count statement against the "dup"...more >>

Error with DTS
Posted by Martin vom Bruch at 11/5/2003 11:53:58 AM
Moin Peoples, I have a problem with Export from MSSQL to MySQL. The DTS write INSERT Error Collumn 5 (DVDB, DBType_STR) DATA Overflow (or something like that In German is this Datenüberlauf). The item from the tables are identical (means type= varchar lenght=255) What means this error and where ...more >>

Error code: 80004005 when transfering row to DB2OS390
Posted by John at 11/5/2003 9:01:40 AM
The log shows the following message when trying to transfer rows from MS SQL SERVER to IBM DB2 OS390. **************************************************************************** ************* Execution Started: 11/4/2003 2:49:40 PM @@LogSourceRows: C:\temp\mssqlgbd2Trace\dtsErroLog2.txt.So...more >>

DTS Error of Foreign Key
Posted by Chip Melton at 11/5/2003 8:38:31 AM
I am trying to run a DTS package that basically copies an entire database to another location. But it runs until it gives me this error: "ALTER TABLE statement conflicted with TABLE FOREIGN KEY constraint 'cimalloc_fkc1'. The conflict occurred in database 'CIM_BU', table 'SMPKDT'." I...more >>

Call DTS with Parameter
Posted by Ben W at 11/5/2003 8:29:53 AM
I have a stored procedure on SERVER_A, which I want to call via DTS on SERVER_B. The DTS has a connection to, and calls the stored procedure on SERVER_A, but has a parameter which needs to be a variable. I have made this parameter a global variable in the DTS The DTS is called by a user log...more >>

Import data from Excel-duplicate rows
Posted by Ava Meng at 11/5/2003 7:26:57 AM
Hi, I use DTS to transfer data from Excel to SQL table. There are some ids appear more than one times in the file but I just want the latest one. How can I eliminate the previous rows for the same id? Thanks Ava...more >>

Backing Up DTS Packages
Posted by Paul Blackler at 11/5/2003 6:24:07 AM
After creating some quite complex DTS packages, we need to ensure that they are backed up. I wanted to use a maintenance plan but cannot see any options for this. Help please, as I cannot find the files using search either Cheers Paul...more >>

schedule DTS job do not stop
Posted by HB_Zhang at 11/5/2003 12:07:41 AM
I create 1 job on server1 and save DTS package DTS_server1 on server1. Then i need transfer the job to server2, i open DTS package DTS_server1 and save as DTS_server2 on server2. On server2 ,execute the DTS package DTS_server2 is normal, but schedule the package DTS_server2 to a job DTS_se...more >>

DTS File Name
Posted by Anita at 11/4/2003 6:45:11 PM
I need to DTS a text file that is placed up on our network and named file.daily.20031104 (today's date) How do I get DTS to grad that file since everyday it has a different name? Someone told me to set up a stored proc that renames that file first...then let DTS grab it, then rename it bac...more >>

Changing database destination globally
Posted by David Morrison at 11/4/2003 4:57:52 PM
I have a simple dts package that copies data from one table to another (deleting rows in the destination table) for about 20 tables. The source database will always be the same but I'd like the ability to quickly change all references to the destination database for the deletion and insertion. ...more >>

DTS from shared hosting environment
Posted by robrichard at 11/4/2003 4:10:40 PM
All: I've got a scenario where I need to export SQL tables to MS Access and then allow a user to download them. A couple of questions: 1) Is DTS the way to go, even if the environment is a shared hosting environment? 2) If so, how in the world would I deal with communication between the ...more >>

DTS and Excel dates
Posted by Colin at 11/4/2003 4:00:54 PM
I have an external Excel spreadsheet which I am importing via DTS. The spreadsheet is divided into sections and therefore the format of each section is different. I've overcome most of the issues this raises, but one remains. Seemingly the DTS engine makes it's decisions of a rows type ba...more >>

Multiple column primary key?
Posted by EPPack at 11/4/2003 1:38:45 PM
New to SQL server here, so if this has been asked, apologies in advance. Using DTS to convert a file, and running into a key problem creating the new file. The file has a two column primary key, and I'm not sure of the syntax to set this up as part of the DTS package. Books online says I can do...more >>

Changing owner in DTS package and Job Schedules
Posted by Steven Wong at 11/4/2003 1:38:16 PM
Hi: How do you change the "owner" in a DTS package and a scheduled job? After my organization migrated all user signons to a new Active Directory domain, the domain sign on to the PC changed. Since we are using Windows authentication for SQL server security, I no longer can change my ...more >>

Running things in Order?
Posted by Andrew at 11/4/2003 12:54:08 PM
Ok, Trying to work around the bugs using MS DTS in VB... Cannot use the "WithEvents" keyword in VB, soooo, ....cycle through the Stesp in DTS.Package.Steps from the loaded package - Hooray, everything seems to execute .. HOLD IT! ...Now the "For Each" loop in VB executes the steps out of...more >>

leading zeros
Posted by warrenG at 11/4/2003 12:52:57 PM
I'm not very familiar with excel, but i'm having trouble importing some fields into sql which are droping their leading zeros. ie. 001 becomes 1 in my table. the column in SQL is char (10). thanks in advance, Warren...more >>

DTS Recovery
Posted by Bri at 11/4/2003 11:49:55 AM
We lost our SQL 2000 Server to a disk error. We had a few DTS packages but they are gone after reinstall. Some of the old SQL directories are still accessable but I can't find the DTS definitions to restore. Does anybody know where they are stored and how I can get the back without recr...more >>

Can I change the connection properties dynamically?
Posted by Narendra at 11/4/2003 11:23:42 AM
Is there a way I can change the connection properties (Server Name, DB Name etc) dynamically. Basically I have a Table consisting of Server Name, DB Name, user name and pwd fields. I have a DTS job that should be able to read each record from this table and change the connection properties...more >>

DTS Memory Violation under VB6 - SqlServer 7
Posted by Andrew at 11/4/2003 11:11:50 AM
I recently replaced 1500 lines of older VB code (some of it faulty) with 3 DTS packages under SQL Server 7 - All service packs are up to date (VB and SQL): I am getting errors when running the package under VB6. I'd be very appreciate if someone more experienced in DTS from VB could take a pe...more >>

how to use activeX script in dts
Posted by Samantha at 11/4/2003 11:09:38 AM
Hi, I am new to dts. I would like to add activeX script task to my DTS package. when I executed in designer, it failed, and says "Active Scripting was not able to initialize the script execute engine". what do I need to do? Do I need to do somthing on db server or on my box? Thanks...more >>

Which faster: update qry OR DTS
Posted by JonathanK at 11/4/2003 10:44:59 AM
I need to import a CSV file, 5 million records, into SQL server. I will need to add a new field and then map data into that field based on an existing field and a small lookup table. Which is faster??? Get the data into SQL Server and then running an update query OR doing mapping during...more >>

Structured Package
Posted by Joe Linares at 11/4/2003 10:41:00 AM
I saved my DTS package as a .dts file. It has a few versions. Now that it works I want to delete the old versions so it only has one version, the latest. How do I do that? Is there a utility I can download that will do that.? Saving to the SQL server is not an option, our DBA won't let us do...more >>

where can i find the step
Posted by Edward at 11/4/2003 10:30:39 AM
Hi, I have a dts written by somebody and is running, but I doubt it eveer worked. When I check the output file, it says: Step 'Create Table Step' succeeded Step Execution Started: 11/4/2003 10:12:25 AM Step Execution Completed: 11/4/2003 10:12:25 AM Total Step Execution Time: 0 seconds P...more >>

send mail in dts
Posted by Jen at 11/4/2003 9:51:51 AM
HI, I have a function worked before in DTS, but I got error recently: DTSStep_DTSActiveScriptTask_1, Error = -2147220482 (800403FE) Error string: Error Code: 0 Error Source= jmail.SMTPMail Error Description: The message was undeliverable. All servers failed to receive the mes...more >>

Write File Transformation
Posted by Jeff Block at 11/4/2003 9:37:45 AM
I have a sql server connection, a text file (destination connection), and wish the dump the contents of a table to a delimimted text file. I am not new to DTS but have never attemtped this particular function before. I have read about the dummy file table etc, but am still not getting this. Can ...more >>

DTS Package exists with success without performing all steps
Posted by Michel Habib at 11/4/2003 8:47:32 AM
Hello, I have SQL server 7 SP4 running on Win2k SP3 and MDAC 2.6 (sp2 I guess) I have recently run into problems with DTS Packages scheduled to run some queries and then export tables to text files. The query step would run, but the export to text file step will start exporting and then t...more >>

Data Transform to Excel - apostrophe
Posted by Liz at 11/4/2003 8:08:59 AM
When I export numeric fields to excel using a Data Transform task the fields become text with an apostrophe. What is the best method for handling this? Currently I am copying a blank spreadsheet then exporting the data. Can I use an Active X script to format the columns in Excel? If so, pl...more >>

Conflcit of DTS transaction and SP transaction?
Posted by Larry at 11/4/2003 7:36:07 AM
I am running a DTS package from a stored procedure using XP_CMDSHELL and sending it parameters. (I just initiate the SP from Query Analyzer). The package typically runs properly. When I was experimenting with the DTS package & transaction control from DTS, I set the Package Property ...more >>

error is processing cube
Posted by dschrier at 11/4/2003 6:23:13 AM
I am using SQL2000. I have a DTS package that incrementally updates 2 dimensions, then incrementally updates the cube. Not always, but sometimes, I get the error 'Invalid Clipboard Format' when trying to process the cube. I get the same problem if I incrementally update the cube and dimensi...more >>

DTS Job Alerts
Posted by Tim Savery at 11/4/2003 6:19:50 AM
Is there a way to send an email alert based on the current run time of a job? For example, I want to send an alert if a certain DTS job runs for more than 2 minutes. Is this possible? If so, can anyone tell me how to set this up?...more >>

DTS Scheduled Job Data Warehouse Update
Posted by Jael at 11/4/2003 3:10:03 AM
The statement has been terminated. (Microsoft OLE DB Provider for SQL Server (80040e2f): INSERT statement conflicted with COLUMN FOREIGN KEY constraint 'FK_fctSales_dmProduct'. The conflict occurred in database 'MgkOlap', table 'dmProduct', column 'item_code'.) Package failed because Step...more >>

DTS Update scheduled job
Posted by Jael at 11/4/2003 3:05:07 AM
The statement has been terminated. (Microsoft OLE DB Provider for SQL Server (80040e2f): INSERT statement conflicted with COLUMN FOREIGN KEY constraint 'FK_fctSales_dmProduct'. The conflict occurred in database 'MgkOlap', table 'dmProduct', column 'item_code'.) Package failed because Step...more >>

saving the query analyzer results to .rpt format and opening it in a xlsheet
Posted by hari at 11/4/2003 1:00:24 AM
hi, I am trying to save the SQL Query Analyzer results to a .rpt file. and i open it in a XL sheet. every thing is ok, but when the numbers like ex: ClientNo 0069007 after saving it to rpt file and if i open in XL sheet , the the two zeroes of the ClientNo are being supressed. i.e. ...more >>

Import from Excel
Posted by Chrisyeh at 11/4/2003 12:25:21 AM
I am trying to import from Excel without success. The problem seems like a data convertion problem. The destingation table is DBTYPE_BOOL and the source is DBTYPE_R8. How can I force the excel into a fixed format (say boolean) so that this error will not occur. I tried it with other forma...more >>

Scheduled Job failure
Posted by Mike at 11/3/2003 5:34:18 PM
"If the SQL Server was started using the Local System account, the DTS package has no permissions outside of the computer that is running SQL Server." My server is logged on by the local system. I have a DTS package that needs to email files. The scheduled job is being executed via the sy...more >>

Insert DTS-Package by VBScript
Posted by Frank Matthiesen at 11/3/2003 3:11:42 PM
Hi NG, i got some DTS-packages saved as structured-file (.dts) Is there a way to store them into a sql-server by vbscript (like an installroutine)? kind regards frank ...more >>

Automatic generating oF SAMPLE DATA
Posted by jay at 11/3/2003 2:29:13 PM
Hi, Please provide me the details about the data tool which generates sample data(I want atleast million rows)....more >>

script out DB with VBS???
Posted by chris at 11/3/2003 2:00:18 PM
Howdy all. Im not a guru VBS guy and Id like to use it to script out SQL2K db objects. Say I just wanted to script out the views and nothing more. Can VBS do this? Can someone get me pointed in the right direction? TIA, Chris ...more >>

DTS Designing Error
Posted by Robert E. Flaherty at 11/3/2003 1:33:02 PM
On SQL Server 2000, when I first go to DTS/Local Packages/New Package, I get a popup message "DTS Designing Error". Within the package, I created an Oracle/ODBC connection. Created a connection to the local SQL Server. Attemped numerous times to create a transformation data task from the Oracle...more >>

DTSRUN failing....
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 11/3/2003 11:50:25 AM
Hello, I'm calling a dts package inside a Stored proc (exec xp_cmdshell..dtsrun)and I'm getting an error: Error: - 2147217900 (80040E14); Provider Error: 14262 (37B6). Microsoft said they have fixed this bug in the sql server 2000 sp2 release. We are using sp3 but I still get this probl...more >>

Compact an Access database from DTS package
Posted by Ric at 11/3/2003 11:21:11 AM
Hello, I have created a DTS package that inserts and deletes records in an Access database. I would like to run the Compact method against the Access database when the package completes. I imagine this will have to be done with an ActiveX script task. Is there anyone who can show me som...more >>

DTS Package Status
Posted by Scott Lindsey at 11/3/2003 10:52:29 AM
I have a DTS step that on failure sends an email through an ActiveX script. I do not want the package to indicate that it has failed though. How can I set the execution status of the package to be successful and not failure?? TIA, Scott Lindsey...more >>

sa login failed
Posted by Jen at 11/3/2003 10:07:24 AM
Hi, I have a DTS, there is a connection in it. I use the use sa to connect, but I got "Login failed for user "sa"". I can login by sa in QA. what's the problem? Thanks...more >>

DTS error
Posted by Li at 11/3/2003 9:27:00 AM
I'm running SQL Server 7.0. Once a while, I got an error message when I executed a DTS package. This problem disappeared after I restarted the database service. Below is the error message: Eror Code: -2147217887; Error Source: Microsoft OLE DB Provider for SQL Server; Error Description...more >>

DTS Run Utility
Posted by Renita at 11/3/2003 8:53:07 AM
MS online books say the following: Use the schedule option in the DTS run utility (dtsrunui) if you need to schedule a package saved as a structured storage file. Well, I've tried using the dtsrunui but it does not allow me to "schedule" the package. I can run the package but not schedu...more >>

DTSRUNUI
Posted by RTSToday at 11/3/2003 8:44:10 AM
MS online books say the following: Use the schedule option in the DTS run utility (dtsrunui) if you need to schedule a package saved as a structured storage file. Well, I've tried using the dtsrunui but it does not allow me to "schedule" the package. I can run the package but not schedu...more >>

Import Deleted Rows from dBase in Transform Data Task
Posted by Steve at 11/3/2003 8:28:20 AM
Hi all, I have a DTS package with a transform data task which takes data from a dBase III file and inserts it into an SQL table. The source connection is a dBase III connection. The destination connection is a Microsoft Data Link file, which points to an SQL 2000 server. The task imp...more >>

newbie question - DTS & VBA
Posted by JonathanK at 11/3/2003 5:46:47 AM
I need to trigger a CSV file import into a SQL Server database from Access, using VBA code. Is there a way to trigger a DTS local package from an Access VBA module ? Many thanks for any help, Jonathan....more >>

Safety of calling DTS package from sproc with sp_oacreate
Posted by Barry Courtois at 11/2/2003 11:06:02 AM
Due to some operational constraints, I've written a procedure to create, set some properties and execute a small (time, size) DTS package from a stored procedure. It just moves some data from one place to another with some fairly simple tranforms. I'm using the sp_OA* family of procedure...more >>

dts works from Sql but fails using C#
Posted by Keng at 11/2/2003 10:00:08 AM
Hi: I've covered a number of newsgroups and web sites today, but still cannot seem to find out why my DTS package (which works fine via SQL) fails to work correctly when I execute it from a C# program. Here is the code I use: object pVarPersistStgOfHost = null; string val; try ...more >>

BCP Import error
Posted by Colin Larcombe at 11/2/2003 9:44:36 AM
Trying to import the following line using bcp 1;1;Tiger Woods;64;25.7;296;1,152 with the format file 7.0 7 1 SQLINT 0 4 ";" 1 THISWEEK 2 SQLINT 0 4 ";" 2 LASTWEEK 3 SQLCHAR 0 100 ";" 3 PLAYER 4 SQLINT 0 4 ";" 4 ROUNDS 5 SQLFLT8 0 8 ";" 5 PERCENTAGE 6 SQLINT 0 4 ";" 6 BIRDIES_EAGLES 7 SQLI...more >>

DTS failed
Posted by Jen at 11/1/2003 8:28:08 AM
HI, I have a DTS run under sqlagent. I got the error: DTSRun: Loading... DTSRun: Executing... DTSRun OnStart: DTSStep_DTSActiveScriptTask_2 DTSRun OnError: DTSStep_DTSActiveScriptTask_2, Error = - 2147220421 (8004043B) Error string: The task reported failure on execution. Error...more >>


DevelopmentNow Blog