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

Filter by week: 1 2 3 4 5

DTS from paradox: time datatype
Posted by Gil Yoktan at 8/28/2005 12:00:00 AM
SQL-SERVER 2000 Hello - I want to import data from a paradox table. In this pdx table I found 2 fields: one for Date defined as pdx Date datatype and one for Time defines as pdx Time datatype. I cannot change that. I built a DTS - which fails on the Time field (defined as SmallDateTime in the SQ...more >>

Dynamic properties n INI, any safe way to store username and passw
Posted by k_s at 8/27/2005 3:49:01 AM
hi all, I want to use ini files to store server details, but feel that storing server username and password in ini file is not secure. Any suggestions? regards, kshitij...more >>

Package as a Job
Posted by TroyS at 8/26/2005 12:30:01 PM
I have a package that executes just fine when i select 'execute' When i go to schedule it, the corresponding job is created. But when i run the job, it fails. It says: "Cannot connect to the Analysis server on computer 'ENG1SQLV1'. Connection to the server is lost Error source: DSO" ...more >>

DTS LARGE TABLES ACOSS THE INTERNET
Posted by AG at 8/26/2005 8:57:03 AM
I have to move tables of aproxximately 15 million and 1 million records, would either replication or DTS able to do this for me? What would be the best practise to move this amount of data across the internet using dts/replication? Thanks in anticipation. Ajay ...more >>

running DTS from Stored Proc
Posted by Sinisa Stokic at 8/26/2005 8:13:01 AM
I've created a DTS that gets data from a foxpro source into a SQLServer destination. The DTS runs perfectly fine through the Enterprise manager, and infact works fine on the command line, but when I try to initiate it through a Stored Proc (I use : EXEC @result = master.dbo.xp_cmdshell 'dtsr...more >>

DTS bulk insert task loads 1194 rows of 504,000 – “Completed Successfully” etc
Posted by SJM at 8/26/2005 7:32:59 AM
I have a DTS bulk insert task that is behaving oddly. It runs and indicates that it ran successfully; however, upon examination of the data in query analyzer, it is clear that the data loaded fine BUT only 1194 of the 504,000 rows loaded. No error message or other messages are received. The ...more >>

Moving DTS packages
Posted by TLD at 8/26/2005 7:26:06 AM
How can I move a package from one server to another?...more >>

Import to SQL from Excel, only 3 of 2050 records
Posted by mike at 8/26/2005 7:06:21 AM
When I use the DTS wizard to import data into a SQL table only 3 out of 2050 records are imported and I get no error messages. When I select the SQL table of the same name with a $ on the end I can preview the first 100 records and the import seems to succeed and show 2050 records are importe...more >>



dynamically set location for .ini file in DTS
Posted by Aengus at 8/26/2005 6:52:03 AM
I don't want to change anything in my DTS when moving from DEV to UAT to PROD. So, I have an activeX script (see below) at the start of my DTS that looks for a DTS.ini file in the same folder, gets the path & then sets the SourceIniFileFileName. - this works fine when the DTS is executed with...more >>

Dynamically set Datasource
Posted by GeorgeTAI at 8/26/2005 6:38:13 AM
How do I set the datasouce to dynamically change to the server it resides on?...more >>

RUN DTS PACKAGES FROM CLIENT
Posted by Marcela Cure at 8/26/2005 6:15:45 AM
How can I run a DTS package from a network client computer? When running, will the error messages show as it does when running in the SQL server enterprise manager? *** Sent via Developersdex http://www.developersdex.com ***...more >>

Scheduled Jobs
Posted by A.B. at 8/26/2005 6:01:08 AM
I have created several scheduled jobs a few update some tables while the rest are the Backups, made with the DB Maint. Plan Wizard. The ones that updated the tables will not work while I am sitting at my computer but they will if I am working on the server. I am using remote desktop when worki...more >>

recovery of dts packages
Posted by chriske911 at 8/26/2005 12:00:00 AM
is there a procedure for recovery of dts packages of a crashed server? I have a colleague who was developping a dts package on a test server off course, the inevitable happened without a backup at hand where can I find the DTS packages and how can I get them back PS: it was a diskcrash with ...more >>

SQL 2005 books
Posted by Blackduke at 8/26/2005 12:00:00 AM
I am trying to get into SSIS I am not a developer but a complete newbie, I want and need to bring together data from different sources for reporting services, score carding and anaysis services ect for our company I am managing to move data from a to b ok however this does not cover all the task...more >>

DTS and parameters inside the select clause
Posted by Scott Lam at 8/25/2005 10:52:02 PM
Hi, I'm trying to create a DTS package using a Transform Data Task using the following query: "Select field1, ? from Table1 ". I want to pass a parameter inside my select query so I can populate the destination with the parameter that I'm passing. Is it possible to pass a parameter inside...more >>

trying to bind 2 global variables in a DTS Execute SQL Task
Posted by Spaz at 8/25/2005 1:33:04 PM
I am writing a DTS package that gets executed remotely. The remote exectution passes a value that populates the global variable of the main DTS package, MainVar1. There are several other variables in the package that are dependent on MainVar1 variable. What I am trying to do is concatina...more >>

can dts "invert" data
Posted by ChrisR at 8/25/2005 1:28:50 PM
sql2k sp3a Dont know if "invert" is the right word, but the only one I could come up with. I have a flat file that displays data like: GEN_PROREGCTCTXT CRZCODE S_GENERATION 1 CB 1 1 CS 1 That top row is data, not column names FYI...more >>

Workflow: Failure Step
Posted by Stephen Costanzo at 8/25/2005 1:10:27 PM
I have a simple workflow that executes three tasks and in the final task I have a success branch and a failure branch. The final task is a sql statement to delete rows in the table. I intentionally misspelled the column name and saved the package. My thought was it would go to the failure step...more >>

DTSRun Command Line
Posted by EoRaptor013 at 8/25/2005 12:39:18 PM
I'm trying to run a very simple DTS package using DTSRun command line but keep getting a cryptic error that has stumped everybody in-house on three continents. The DTS pacakge (really just a test) simply inserts one record in a table. The paraphrased command line is this: DTSrun -s MySQLServ...more >>

Update Database Performance Question
Posted by cleo at 8/25/2005 11:43:53 AM
I have a Source and a Destination with the exact same structures. The information in the Source Table for a given Key (example Customer) replaces all of the information in the Destination Table for the Key. Is it more effective to create a task to delete all the records for the customer in...more >>

ActiveX Error
Posted by JLFleming at 8/25/2005 11:42:26 AM
I am modifying a DTS package that had an existing ActiveX script. When I try to execute the DTS package, I get the following error when the package tries to execute the ActiveX script: "ActiveX scripting was not able to initialize the script engine" Why would this happen? Thank you, ...more >>

DTS Pump Vs Update
Posted by Raja Voleti at 8/25/2005 10:14:01 AM
While using the SQLServer DTS package. If I use Datapump to insert data from text file to table into a single column will be faster or into a multiple columns will be faster. If I insert data into single column, then I need to write a sql script or procedure, use string operations to split th...more >>

Problem with executing a DTS from a remote machine
Posted by Friso Wiskerke at 8/25/2005 9:04:46 AM
Hi all, We've created a VB.NET application which runs a couple of DTS packages on a SQL Server in a specific order using ADO.NET. When we runs this application on the same machine that SQL Server resides on it works fine. However when we run the application on another machine in the domain ...more >>

DTS and Agent Jobs missing on restore
Posted by Gary at 8/25/2005 8:48:26 AM
Our data center recently backed my SQL server to install new hard drives. Upon restore I noticed that all my DTS's and Job's are missing. When I brought this to the Datacenters attention , they stated that all data was successfully restored from tape. They are no asking be for the file na...more >>

CSV File application error
Posted by Andy C at 8/25/2005 1:25:10 AM
I'm using a SQL 2000 SP3 client on XP against a SQL 7 database. I'm trying to output a table to a CSV using a SQL Connection to a Destination Text File. Any table in my database that has records longer than a certain length will not allow me to execute the columns to create a new text file - ...more >>

Error while creating excel work sheet
Posted by ha5 at 8/25/2005 12:37:44 AM
Hi I have a problem with a dts on sql7. The dts runs every x hours and it worked find for months. Suddenly i get the ffw error: "Unspecified error. Too many fields specified". The error is displayed when started from enterprise manager,local packages. If the package is run from jobs, the ffw...more >>

Need a substitue for string data type to store long strings
Posted by Sourabh at 8/24/2005 8:06:02 PM
Hi, I want to know if there is any way by which I can use a global variable having data type other than string which can let me store more than 4000 characters ie more than allowed in a string. It seems like string data type has length limitation (limited to 4000 chars). I want to use a ...more >>

EXPORT DATA TO CREATE FLAT FILE USING DTS
Posted by Marce at 8/24/2005 4:08:13 PM
I need to create a flat file, with no delimiters between columns. I tried using DTS, made a connection and a destination text file. I see no options to create the file without column delimiters , it asks for the options: comma, tab,etc. The file has to be with no fixed column width. How can I d...more >>

Trying to read extended properties on Excel OLE DB connection
Posted by Andy S. at 8/24/2005 2:49:10 PM
I'm trying to load an Excel spreadsheet into a SQL table. The trouble with the spreadsheet is that it has links that prompt the user on whether to update them or not. I worked around opening the spreadsheet with the Excel Application object by turning off interactive prompts and passing 0 to...more >>

DTS Package
Posted by richard s via SQLMonster.com at 8/24/2005 1:38:27 PM
Any viable way of how to automatically re-execute the failed package. That is, to re-execute it three times then exit if failed again? what steps and what will the code look like??? Thanks -- Message posted via SQLMonster.com http://www.sqlmonster.com/Uwe/Forums.aspx/sql-server-dts/200...more >>

problem migrating data from as400
Posted by אלעד שלום at 8/24/2005 11:48:24 AM
hi all, I'm re-posting my question here. it's seems more reasonable then posting it on the general forum. we are running a dts that migrates data from an as400 to sql 2K. the string data is hebrew (code page 1252). for that, we have been using a hit odbc: ODBC OPTIMIZED (READ ONLY) 32 BIT ...more >>

Execute DTS Package from .Net - Problems setting global variables
Posted by LucasC at 8/24/2005 11:20:53 AM
Hi, I'm running DTSs from a Windows Service developed with VS2003 (.Net 1.1.). I need to update some Global Variables values (in the same way I do with parameter /A of DTSRun.exe). Those Variables are String Variables. Those variables are used from a DynamicProperty Task to update the Output fi...more >>

DTS Interop question.
Posted by Wade at 8/24/2005 10:25:40 AM
Hi all, (Note: I originally posted this in the microsoft.public.dotnet.framework.interop newgroup, but got no response. Thought I'd try here.) I've created a .NET app that executes a DTS package. Everything works great if I pass the appropriate parameters to the application; if I purpose...more >>

archiving of database
Posted by catweezle2010 at 8/24/2005 8:53:47 AM
Hello, I'm rather new in sqlserver and dts. I have to archiv old data from our main database to an archivdatabase (data older then a year). I build a dts package which shoud run following: Copy the needed tables to from database to archiv (runs without an error just the first time, I know). O...more >>

Import from Excel options?
Posted by Ada at 8/24/2005 8:46:34 AM
Hi All, I have some excel report files to be imported into SQL Server. - Files are in a local directory. - Need to pick year and month info from the file name and add as additional columns on the SQL Server table (Ex: ABC2005_T06.xls -> "2005" goes to year column and "06" goes to Term col...more >>

DTS and "Jet Database Engine"
Posted by robboll at 8/24/2005 6:42:42 AM
Hello, Is it true that Data Transformation Services (DTS) uses the Microsoft Jet Database Engine? I have a DBA that has set up a daily job that parses, slices/dices raw data using Microsoft Access and then DTS' it into SQL Server. It works and has worked without incident, but I'm just curi...more >>

MS JET database engine error: workgroup information file is missing or opened exclusively by another user
Posted by Tina at 8/24/2005 12:00:00 AM
Hi, I am trying to import a spreadsheet into MS SQL 2000 via a DTS packaget using Microsoft JET database engine, but it gives me an error saying " Workgroup information file is missing or opened exclusively by another user" This error only exists if i use an MS SQL login with a password b...more >>

new to VBScript
Posted by Fab at 8/23/2005 11:24:03 PM
Hello, Im new to VBScript and need to learn how to use it in SQL DTS packages. Any of you know of some good starting websites? Thanks. ...more >>

Which to use?? DTSRun v/s DTS.Package v/s sp_start_job
Posted by Rodrigo at 8/23/2005 10:59:55 PM
Hi I have a DTS that send mails through a DTSSendMailTask, so I need to execute the Package as a Domain User. The same package, before sends the email, executes a series of steps that ussualy takes 4-5 hours to completion (the mail has the "job successfully completed" message) The server...more >>

ExecSQL not returning output parameter to global var
Posted by Andy at 8/23/2005 12:48:01 PM
I have an execute SQL task that is running a stored proc that returns either a 1 or a 0.......which I have declared as a char. Here is the code I have in my execute SQL task. declare @Result char(1) exec usp_CheckFreeSpace @Result OUTPUT, ? select @Result as StagingSpaceResult I have th...more >>

DTS Designer Error
Posted by Frank C at 8/23/2005 12:06:01 PM
Cannot start Dts designer. Every time I try to create a new package I get this message: Error in dll with the caption DTS Designer Error: CoCreateInstance. I am running SQL 7.0 SP4 with post security rollup. (Version 7.00.1094) Running on Windows 2000 Server, SP4 and all additional updates t...more >>

DTS "Invalid Pointer" error (using table vars?)
Posted by Mike Austin at 8/23/2005 9:28:09 AM
I'm running two transformation tasks in my DTS package that are using table variables. Basically, I am using two table variables to pre-filter my data before the final query (which cuts the execution time by 2/3). This works fine from Query Analyzer. However, when I put this code in a transfor...more >>

DTS restore
Posted by Stephen Lonsdale at 8/23/2005 9:20:29 AM
After backing up a SQL installation (all databases) and restoring to another machine (all databases) we can not find our DTS packages. Please help many thanks Stephen...more >>

Difficulty parsing text file
Posted by kayda at 8/23/2005 9:07:49 AM
I've been given a series of text files where all the fields are delimted by a vertical bar, but each row takes up two rows in the text file. So if I use any delimter like CR or LF etc., it treats each row like two rows, since each row just finishes with a vertical bar and then a return. Is th...more >>

Can we run DTS without using enterprise manager
Posted by Gottu at 8/23/2005 6:45:33 AM
I want to know if there is any other way to run a dts, like using a query, if yes plese let me know the query or where can the information...more >>

DTS Noobie - import random files
Posted by millersd at 8/23/2005 2:18:42 AM
Hello I have managed to import a file within a DTS package into a table in my SQL server, however as a noobi this isn't quite what I want and now I have NO idea how to progress. What I want is to pick up random files, all same extension, same format data, process them into my database and the...more >>

Generate SQL Script?
Posted by Rohit at 8/23/2005 1:37:01 AM
Hi, I have many DTS packages created on a Server. I am now planning to shift the SQL Server Database on a new higher capacity server.I want all the packages those are there on the current server to be available on the new server. How can I achieve this? Can I generate scripts for these packag...more >>

Loop thru files and process each one
Posted by dw at 8/23/2005 12:36:01 AM
Hello... A customer will be sending me several files each day and I want to try and write a DTS Package to loop through the files and process each one. I have figured out how to read through the contents of a folder/directory and look at each file, but how do I get to the next step and pr...more >>

Reference a custom assembly in a script task (SSIS)
Posted by \ at 8/23/2005 12:00:00 AM
How can I reference a custom assembly in a script task? All I can reference is assemblies in a static list. I can not browse for assemblies. Any ideas? Is it possible? Andreas :-) Note: I use VS.NET 2005 Beta 2 with SQL Server 2005 CTP. ...more >>

Incoming SQL Server data all has nulls - how to handle that?
Posted by bill NO[at]SPAM sempf.net.nospam at 8/22/2005 10:31:07 PM
I am trying to transfer one SQL Server database into a new one. The old one supported nulls on every colum, and the new one, well, doesn't. In order to use DTS, do I have to make every transformation a ActiveX script that checks for nulls and uses the default value for the column if it fi...more >>

OLE DB vs ODBC
Posted by fleo at 8/22/2005 6:08:02 PM
Maybe I should ask this question in another group, but since I'm using it for DTS... I don't know... I'm copying data from DB2 and the existing packages use ODBC for DB2. Should I switch to OLE DB? Is the performance better? Thanks...more >>

Execute DTS Package Through T-SQL
Posted by Stephen Costanzo at 8/22/2005 4:10:53 PM
http://www.sqldts.com/default.aspx?104 This URL was extremely helpful, however I am having difficulties with the example provided. The example loops through the steps within the DTS Package to return the result of the steps in the DTS package. I have a conditional branch in the DTS package ...more >>

DTS Designer Error: The system cannot find the file specified
Posted by Mike Pearce at 8/22/2005 9:02:33 AM
I have started receiving the following error whenever I try to open an existing DTS package or create a new one: The system cannot find the file specified. I can continue to open the DTS package, but the Task pane is completely empty. Hence, I cannot add-to or create any packages. I am runnin...more >>

Record causing an error
Posted by Ed at 8/22/2005 7:09:02 AM
Hi, I think the major issue when I import data from Excel, Text, or Access into the database on SQL Server, if the error occurs, I really cannot tell what record(s) is causing the error of the package. Is there anyway I can find out the bad record(s) casuing the error??? I used to check o...more >>

dts import excel files procing error: open method of workbooks..fa
Posted by Ben at 8/22/2005 6:28:02 AM
I am trying to read all excel files in a directory, and the code that opens the files is pasted below. When i run the code some excel spreadsheets open while others give me the error: "open method of workbooks class failed" I have narrowed the problem down to the fact that when i manually op...more >>

Cannot run DTS through job on one server
Posted by Mike Logan at 8/22/2005 4:17:03 AM
Hello. Below is the setup of our environment to run the DTS job. This setup will work numerous SQL Server 2000 machines, 2 Developer Editions, and 2 other Enterprise Editions. The only one it cannot run on is a Enterprise Edition box (our Production, bummer). We have tested on other edit...more >>

passing Server name as parameter to Querry, can't use procedure.
Posted by k_s at 8/22/2005 3:03:04 AM
Hi, I need to pull data from an application server. I am using Transform data task. I want the Source server to be passed as a parameter. I know it can be done using Dynamic SQL and use of procedure. My source of Transform data task is a sql querry, which uses OLTP database as source. I c...more >>


DevelopmentNow Blog