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

Filter by week: 1 2 3 4 5

Dts Global Variables in VB.NET
Posted by Mike at 11/28/2003 3:40:27 PM
I have created a DTS Package in SQL Server 2000 that imports a single file into a table in a local database. The file and path to the file are defined through GLOBALVARIABLES. When I execute this code in the DTS Designer it works fine however, when I instantiate the DTS Object Library I try t...more >>


Email in DTS and setting up SQL Mail
Posted by Dina at 11/28/2003 10:28:24 AM
Hi. I need to set up SQL Mail and then implement it to email an Excel File that I created within a DTS package. I've tried setting it up and no tutorials are helping. I follow it and I continuously get the error that Outlook needs to be set as the default mail and running, which are both true! I...more >>

Need tools to Convert Access to SQL environment
Posted by guy NO[at]SPAM graphic-designer.com at 11/28/2003 6:25:53 AM
I got a big Access file (1 400 tables) to convert to SQL and I would like to be provided with some automated tools, except upsizing wizard and DTS, to convert it on my own. I got a lot of forms and query to convert too. Can someday provide me with at least one tool name ? Thanks, Guy...more >>

DTS speed?
Posted by Peter at 11/28/2003 5:26:13 AM
Hi Allan, With your help I have successfully loaded a big text file into SQL database using your Article “Processing The Same Row More Than Once” (http://www.sqldts.com/default.aspx?266 I have one more question to ask you regarding to the DTS Speed The data I have in source has 10,000 rows...more >>

DTS & SQL ServerAgent
Posted by Peter Newman at 11/28/2003 3:50:53 AM
The current DTS i am creating sits on the SQL2000 server and picks up files dumped by our users into a specific directory and imports them into two tables. I have set a global Varaible in the DTS that flags if the DTS is already running. The DTS is set as a job in the SQL Server Agent to...more >>

DTS Globals
Posted by Peter Newman at 11/28/2003 2:11:26 AM
I am using an execute SQL task to obtain a record from a table and export the parameters to DTSGlobalVariables as strings. The next Step in the DTS is to check that a record was returned. How can i check this as in EM the DTSGlobalVariables are returning <not displayable> ? thanks Sql2...more >>

error saving DTS
Posted by bd207-1-adsl at 11/27/2003 5:14:22 PM
Hello, I have an SQL server 7 on NT4SP6a. A DTS was created on this server. I want to save it to a file. But when I do it, I've got the following error : "Error Source : Microsoft Data Transformation Service (DTS) PAckage. Error Description : Access Denied". I checked the NT rights, the log...more >>

Rolling Back a commited transaction
Posted by Daniel Jorge at 11/27/2003 2:23:45 PM
Hi there, One of our user had (and still has) the right to post DELETE commands to one of our main tables in the Database. I usually hate when managers has this kind of rights. Generate a lot of trouble. The scene is as following: he deleted some records from a very important table in...more >>



Row Truncation
Posted by Siobhan Power at 11/27/2003 8:46:31 AM
Hi I have a file with a row lenght of 350, of which 315 places are populated. When I do a preview of the file in DTS I see the correct row data BUT when I import into the database table it truncates the row to 270.... (the column length of the table is 450)... Is this a known issue, ...more >>

Any examples of Controller/Worker Packages Best Practice?
Posted by James McMorrough at 11/27/2003 6:41:05 AM
Hello All I'm developing some packages to be used generically between multiple projects, to handle file imports, and I'm creating a Controller/Worker pair of packages. I'd like the controller package to determine the directory path(s), and filename(s) of the files I want to get imported and I'd li...more >>

DTS script failure to execute other DTS scripts due to various errors
Posted by richard_moss NO[at]SPAM aimtechnology.com at 11/27/2003 6:19:18 AM
Hi, I'm new to this so please be gentle if I make a faux pas. I have a DTS script designed to run other DTS scripts in parallel, but its failing on the first script. I'm trying to run it from Enterprise Manager. The errors are logged as follows: Step 'Execute APOeWFM Load Incremental Meta...more >>

Merge 2 tables into 1 text file
Posted by Tim Allen at 11/27/2003 4:35:27 AM
Hi Can anybody provide me with a link or an insight into how to tackle the following task. I have 2 tables of different structures with a one to many relationship and I wish to merge them into 1 text file. The output file would have Table1, Patient1, line1 followed underneath by Table 2 ...more >>

Server not configure for Data Access
Posted by Tim Allen at 11/27/2003 4:12:22 AM
Hi there. I have a problem within DTS design. Out IT dept changed our server name without us knowing.. Great! I have run Sp_dropserver and sp_addserver to rename the server fine. However when I go into DTS i establish the server connection ok, but have problems when I try and build an exec...more >>

DTS Import/Export Wizard fails on databasenames with a dot
Posted by Jan at 11/27/2003 3:32:53 AM
Hi, I have a database with a dot (actually 2 dots) in its name, lets call it [foo.bar]. Selecting this database as source or destination in the DTS Import/Export Wizard gives me an error-message when I select "copy tables and views": Server 'foo' could not be found in sysservers. Sel...more >>

dts import excel into sql server
Posted by J Harrigan at 11/26/2003 2:48:48 PM
I'm very new to DTS...this is the 2nd time I've used it. I have an Excel file that I want to use to UPDATE a sql server table. I'm walking through the DTS Import Data Wizard until I come to Column Mappings. My only options are to 1. create a destination table, 2. delete rows in destination table,...more >>

Creating DTS pckage: query DB to Excel
Posted by Dina at 11/26/2003 2:22:27 PM
Hi Everyone. I need to create a DTS package that queries a table and sends the output to an Excel spreadsheet. I don't know enough about the way the tasks and connections in DTS work to make this happen. I already have my query that produces the right data but what do I do with it? :) In...more >>

Create DTS package sending query results to Excel
Posted by Dina at 11/26/2003 2:15:16 PM
Hi Everyone. I need to create a DTS package that queries a table and sends the output to an Excel spreadsheet. I don't know enough about the way the tasks and connections in DTS work to make this happen. I already have my query that produces the right data but what do I do with it? :) In...more >>

Why only local users run scheduled jobs?
Posted by Don Walter at 11/26/2003 1:38:53 PM
Weird situation on my SQL 2000 server: Trusted domain users can create scheduled jobs under SQL Server Agent. When the users execute jobs, the jobs get failed. The owner of these jobs have to be chenged to a local user of SQL server. Then trusted domain user can execute the jobs. I do no...more >>

Error Trapping
Posted by Peter Newman at 11/26/2003 11:43:11 AM
can anyone give me an example of how to trap for an errors in and active x task if an error occours i want to execute a different step to the normal one how can i write an on error goto or on error do loop any one give any examples ...more >>

Importing Blanks
Posted by Sam G at 11/26/2003 9:58:15 AM
Hi all, I am performing an insert from a csv file into a table. For some reason when the data arrives there are spaces. He spaces are not apparent on the imported file. Has anyone else come across this? Many thanks Sam *** Sent via Developersdex http://www.developersde...more >>

ActiveX Scripting was not able to initialize
Posted by Daron at 11/26/2003 8:48:04 AM
I have an ActiveX opbject in one of my packages and when trying to run the DTS package by using the dtsrun command I get the results below. Is this a server configuration that I need to make? DTSRun: Loading... DTSRun: Executing... DTSRun OnStart: DTSStep_DTSActiveScriptTask_1 DTSRun...more >>

Package failed messages
Posted by Don Walter at 11/26/2003 8:04:47 AM
My DTS package worked before. But today it failed. From 'View Job history' I got the following error message: Error string: OLE DB provider 'SQLOLEDB' reported an error. Execution terminated by the provider because a resource limit was reached. Error source: Microsoft OLE DB Provid...more >>

Secured MDB
Posted by Cathy Emmons at 11/26/2003 7:54:05 AM
I am trying to connect to a secured microsoft access db in the create a new DTS package program. I browse to the access db I want opened and I enter userid and password for the access database but I keep getting the following error: "The workgroup information file is missing or opened ...more >>

Programmatically Creating Lookup Objects in an ActiveX Script
Posted by James McMorrough at 11/26/2003 6:06:19 AM
I'm reading the Timothy Peterson 'Microsoft SQL Server 2000 DTS' book, page 200 indicates that I can programmatically create Lookup Objects in an ActiveX Script I'm trying to do this in an ActiveX Script Task...ie. not a DDQ or transform task, and I can't seem to get it to work. Can this be done...more >>

DTS Packages saving during a Rebuild of the Master Database
Posted by Paul Blackler at 11/26/2003 4:30:27 AM
Hi I am about to rebuild the master database. The DTS packages that are on the current system I intend to open up and save to another system, then rebuild and save them back to the existing system. Any problems with that or is there an easier way. Cheers Paul...more >>

DTS & Server Agent
Posted by Peter Newman at 11/26/2003 1:18:04 AM
I have read the articles that darren suggested from a previous post, but an still at a loss as how to get this scheduling working. We are running SQL2000 where user login using a user name and password. The DTS opens text files from a network directory on a different server, read the file...more >>

Question about DTS strategy
Posted by nitugatogris NO[at]SPAM hotmail.com at 11/26/2003 1:05:10 AM
Friends, I'm going to run a dts package which transfers data from some tables in a local database to a hosted database over Internet. After transfering the data I need to perform some aggregation and so on. I'll set passwords on the dts package but will this security level be high enough be...more >>

Exporting a DTS Package
Posted by C at 11/26/2003 12:58:40 AM
Hi, I have a Database on one server and the same Database on another server. One Database has a DTS Package that I need. Can I export this DTS package to my Database that does not have it without doing a backup of the one that has it and restoring it to the one that does'nt? C ...more >>

double entry when export to Excel
Posted by Sebas at 11/25/2003 8:17:28 PM
When exporting data to Excel file, i always got a double entry on every data. Can anyone help ?...more >>

Foxpro For DOS 2.5 to SQL Server Date field problem
Posted by John Daly at 11/25/2003 1:49:45 PM
I am upgrading an old system that was written in Foxpro 2.5 for DOS. The tables have various date fields that include schedule dates and completion dates. Not all of the fields are populated. When I import these fields that do not conatin valid dates, SQL Server sets them to '12-30- 1899'. ...more >>

Launching a Package with VB
Posted by Brandon Campbell at 11/25/2003 11:23:31 AM
Hello, I have a DTS package that operates correctly from a VB module. I need to have two clients operate this Package on an as needed basis. The problem is that these clients don't have the dtspkg.dll library on their computer. I wrote an install program to register the library, but I d...more >>

Unchecking "Fast Load" allows Nulls rather than table defaults
Posted by John Kotuby at 11/25/2003 10:54:34 AM
I have developed a number of Packages that convert DBase 5 tables to SQL Server (using multi-phase datapump) for an upgrade of production systems from DOS to Windows. Recording Transform and Insert failures in the logs is necessary. If I allow Fast Load, in order to record the failures, I must se...more >>

COM object with CLSID {10020200-EB1C-11CF-AE6E-00AA004A34D5} is either not valid or not registered.
Posted by Eddie Suey at 11/25/2003 10:38:53 AM
"COM object with CLSID {10020200-EB1C-11CF-AE6E-00AA004A34D5} is either not valid or not registered." I created a package that imports data into sqlserver and exports data from sqlserver. When I run the package on a remote machine (remote from sqlserver) I get the error quoted above. What's ...more >>

Import Logic Puzzle
Posted by Buck Woody at 11/25/2003 9:46:16 AM
Hello - I have three feeds from sources around the world, each coming in at a separate time. These feeds move into a large table (3GB) that is queried by managers. The feeds are loaded sequentially, and then the previous day's feed rows are deleted from the table (this is done so that the user'...more >>

DTS service not available to remote clients
Posted by anonymous NO[at]SPAM discussions.microsoft.com at 11/25/2003 6:27:14 AM
DTS service is shown as running OK in Enterprise manager locally, but when I connect from a remote client the service is not available. Any ideas ? ...more >>

Formating Decmial Places in an Expression
Posted by Anthony Boyd at 11/24/2003 6:33:07 PM
I'm trying to find a way to set the decimal places returned in an expression through a view, I've listed the SQL statement below. The two expressions I am looking at are the PagesHr and the BatchesHr, they are showing 12 decimal places and I would like the to show only 2. I've used the LEFT and...more >>

DB2 --> SQL DTS
Posted by Guille!.Net at 11/24/2003 4:14:03 PM
Hello, I have this situation: I have an Stored Procedure in my AS400. It has an IN parameter and = return a Result Set with 3 fields. I want to take this Result Set and save it in a table in my SQL. I did a DTS: .. Source : SQL Query in the AS400 : { CALL LIBRARY.NAMESP ( 'TEXT' ) } = a...more >>

Gobal Variable
Posted by Nick Patel at 11/24/2003 2:11:05 PM
I have one I need some assistance on using DTS global variables as parameters in a Data Transformation Task where the error message comes back as the data provider does not support parameters thanks...more >>

Package to execute remote backup
Posted by Microsoft at 11/24/2003 1:33:18 PM
I need run a backup in my SQL 2000 that write in a remote disk. So, when I try this with TQL command BACKUP DATABASE this is very slow. I need some tips or tricks to run this. I someone can help, I thank's regards, Marcelo Roza mroza714@msn.com mroza714@ig.com.br ...more >>

tracing junk objects
Posted by Andrius at 11/24/2003 12:22:06 PM
Hi, I have inhereted a db with 550 tables & 1300 sps. 80-90% of this is a junk. I am looking into ways to clean up. Problem is, isn't clear which part is a junk :) I was thinking of creating some type of trigger and attaching to every object to update a table with a last access da...more >>

DTS copy job truncates BIGINT fields
Posted by mcqueene NO[at]SPAM hotmail.com at 11/24/2003 12:06:52 PM
Was there ever a solution to this problem? I find these posts below but I don't find anything at MSDN or any solutions? I'd like to know if there was at least a work around. http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&frame=right&th=c349d5fe2b20f475&seekm=WyB3TkB1lqF7Ew90%40sqld...more >>

Pkg owner change fails
Posted by Rafael at 11/24/2003 11:51:10 AM
Hi I have some DTS packages whose owners are network IDs which have been removed from our domain. I cannot find a way to open them so I tried using the spDTSChangeOwner.sql script as described in http://www.sqldts.com/main.asp?nav=1,6,212, The displayed owner name changed however I was still not...more >>

DTS Row Delimiter
Posted by Shawn Moon at 11/24/2003 10:59:01 AM
We are having a rather odd problem with one of our DTS packages that creates a text file. The package is changing row delimiters between CR-LF and LF. We are not modifying the package but when the client attempts to import the file the delimiter changes. Anybody ever run into this behavior? Th...more >>

Scheduled DTS import and Delete Query
Posted by Guy Hocking at 11/24/2003 10:54:43 AM
Hi there, I am new to SQL Server, we are running SQL Server 7 I am having some trouble with creating a delete query. Basically, i have developed a Access database that exports data to a .csv file, to be imported to SQL server via a scheduled DTS package. Most of the .csv files will only hav...more >>

DTS - VBA to VBScript - Not Working
Posted by BJ at 11/24/2003 10:34:34 AM
Executed in a DTS package. Noting seems to happen when this code is executed as part of code below: 'Let user select a folder to export Set nms = xlOut.GetNamespace("MAPI") Set fld = nms.Folders(olFolderContacts) This is part of the code in the DTS: Set xlapp = CreateObject("Ex...more >>

Capturing 'print' statements with DTS
Posted by A. Backer at 11/24/2003 10:17:35 AM
I am wondering if there is any way to capture 'print' statements from a SP? We would like to be able to grab the debugging information that is being printed by the SP and use DTS to display it somehow, i.e. in a popup to the DTS admin who runs the packages. So... anyone know a way ...more >>

Importing Multiple Files
Posted by tomtiv NO[at]SPAM rogers.com at 11/24/2003 10:02:36 AM
Hey All, I am trying to write a DTS that will import all the files in a particular folder to a Single Table. Say for instance i want to import everything in c:\Test (which is File1.txt, file2.txt), into a table named people. How would i go about doing that? I did it in access like this.....more >>

DTS owner
Posted by supernova at 11/24/2003 8:58:22 AM
How do I change the DTS owner? Thanks. ...more >>

Money data type conversion
Posted by Trociu at 11/24/2003 3:31:08 AM
How to prepare ActiveX script, that convert data with "," to data with "." so it is properly written to column with money data type Or how to change settings of money type so it uses "," as a decimal sign?...more >>

Dynamically changing connection datasource
Posted by stu.hall NO[at]SPAM ntlworld.com at 11/24/2003 2:55:36 AM
I have developed a dts package that executes a datapump task against a list of destination servers. The package loops round and picks up the next destination server from a file and dynamically changes the datasource property of one of the connections. This works fine but now I need to add in an ...more >>

Call activex script function from another package
Posted by Ajit at 11/24/2003 12:41:07 AM
Hi I need to write a function fnCheckInputData(taskname ) which can be reused by multiple packages. This function will reside in package 1 Other packages consist of Data Driven Query tasks, I need to call above function fnCheckInputData(taskname) from activex script used in each DDQ My query: Is...more >>

partitioning schemes
Posted by John at 11/23/2003 8:40:34 PM
hi, is dts able to specify partitioning schemes without changing business logic (separation of logical and physical)? Thanks...more >>

import data models from CASE tools
Posted by Quest at 11/23/2003 8:30:25 PM
hi there, would like some help here. would anyone know if we can import data models from CASE tools? Do reply Thanks a milion...more >>

distributed deployment
Posted by Jenny at 11/23/2003 8:27:19 PM
hi, i have a question on DTS,does DTS support distributed deployment (many servers with 1 metadata repository or many distributed servers with localized repositories). Thanks Jenny...more >>

how run a dts package local on a client
Posted by Guffens Francis at 11/23/2003 8:16:08 PM
Hello, How can I run a DTS package local on a client. Wich files do I have to install local? Thanks Francis Guffens ...more >>

Newbie help with DTS
Posted by Don Grover at 11/23/2003 10:55:55 AM
on w2k I have a DTSpackage with one ActiveX script in it, for some reason it just sites thier with the arrow going through the cogs, and will not cancel, I have to Ctrl Alt Del to kill it. If I run he vbsscript from the cms prompt it works as expected, And If i execute the ActiveX script it w...more >>

DTS from ASP Domain vs. Workgroup
Posted by dan foxley at 11/23/2003 9:48:08 AM
I have an ASP page that calls a DTS package (SQL 2kSP3). It runs fine when run from a member server (IIS 6) on the AD domain. When I run it from a Workgroup Web Server (IIS 6) it does not run, I get the following: How can I run the DTS package successfully from the Workgroup Web Server? Thanks, ...more >>

DTS Windows Authentication
Posted by Marcy at 11/23/2003 1:38:30 AM
I have created a Windows NT account that I wish to use to establish a DTS Connection as I am requied to use a Windows Authenticated account. Simple enough, except that the account that I am creating the DTS job in DTS designer is not the account that I wish to use as the Windows Connecti...more >>


DevelopmentNow Blog