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 2006

Filter by week: 1 2 3 4 5

Scheduling database copy
Posted by hb at 3/31/2006 12:05:03 PM
Server: SQL2K I want to have a backup server ready to deploy in case my production server gets damaged. One of tables has identity column, and the other has no primary key. So, I gave up Replication method. (Does Replication still work?) I chose DTS to copy database. When the backup...more >>


migrate DTS from sql2000 to sql 2005
Posted by mecn at 3/31/2006 10:50:02 AM
Hi, I am trying to migrate DTS package from sql2000sp4 to sql2005/legacy. I got this error, an error has occurred while establishing a connection to the server. whne connecting to sql server 2005, this failure may be caused by the fact that under the default settings sql server does not allo...more >>

SSIS - Export to Excel
Posted by Pat at 3/31/2006 10:16:03 AM
I am exporting two different views to the same spreadsheet but different sheets. The first export works fine but the second creates the second worksheet with the same headings as the first. Both exports are created using the wizard so they are in different packages. Anybody tried this suc...more >>

Invoking a DTS Package
Posted by Jim Heavey at 3/31/2006 5:22:01 AM
I read in a book that the DTS packages could be invoked by a program (in my case a C# program) as long as you provided the login ID and password. Now I am looking for an example. Is it possible and where could I find an example. Thanks in advance for your assistance!!!...more >>

Copying Packages
Posted by Jim Heavey at 3/31/2006 5:17:03 AM
I want to copy the contents of one package into another package. I can bring up the 2 packages side by side in DTS Designer and I can copy things like the Connection and the Text file, but I can't copy the transform between the 2 opjects....Is there a way to copy the contents of one package i...more >>

Shortcut to start DTS
Posted by Waldy at 3/31/2006 12:00:00 AM
Hi there, is there any way that a DTS package can be executed via a shortcut? I need to make this as simple as possible for a customer who is not familiar with Enterprise Manager. ...more >>

DTS to Excel New Spreadsheet
Posted by javathehutt at 3/30/2006 3:37:35 PM
Hi I am trying to schedule DTS jobs that would pull from SQL and extract the data to specific Excel files. These jobs are being run daily at 8am. Eg. Pull data from SQL Table A and copy to Excel File A. Also, I am discovering some wierd behavior; the new data being pulled from SQL, adds to the...more >>

Handle task error
Posted by talldrink NO[at]SPAM gmail.com at 3/30/2006 3:26:54 PM
Hello all, quickly: I want to be able to be able to have a specific task fail, run a stored procedure to log the error, and then continue processing the package as if nothing had gone wrong. When it gets to the end, I'd like the package to act as if it had suceeded. More detail: I'm working...more >>



After install SQLServer2005_DTS.msi
Posted by mecn at 3/30/2006 11:37:45 AM
Hi, I have both sql2000 and sql2005 server in my computer. In order to open legacy/DTS package in design mode sql2005 I installed SQLServer2005_DTS.msi. I was able to open DTS in sql2005. Now my problem is I can user sql2000 anymore. It gives error says that The procedure entry point? pr...more >>

SQL 2K: Help needed with dynamic output file names
Posted by Matthew Speed at 3/30/2006 10:51:23 AM
I have been asked to produce a set of csv output files for a number of subsets of data from a database. I have created a DTS package that can output each query to a hardcoded filename specified in the Destination file object in the package. As I have to do this appoximately 160 times I need to...more >>

SSIS in sql2005
Posted by mecn at 3/30/2006 10:08:17 AM
I can't find SSIS in sql2005? the SSIS service is running. Thanks ...more >>

TDS package from sql2000 to sql 2005
Posted by mecn at 3/30/2006 9:50:15 AM
Hi, After I upgraded the sql2000 to sql2005. I see the dts package under legacy. but i can open it. WHY? Thanks ...more >>

Sql2k dts. Just a question
Posted by Enric at 3/30/2006 12:56:01 AM
dear gurus, I don't understand a feature. It is in Package Properties->Logging and it's called as 'Fail package on first error' What the heck! Any of our dts end up when any task fails. is it referring to warnings or something like that? Please, let me know how works that option button and ...more >>

Calling the same stored proc multiple times to execute diff DTS Pk
Posted by DeniseMe at 3/29/2006 1:31:01 PM
Hello! I have a stored procedure (FL_LIGenerateNextPkg) which I call to set the global variables of a DTS Pkg and execute it (Pkg A). Pkg A then runs a couple of stored procedures and after they have successfully completed, it calls FL_LIGenerateNextPkg again, passing different parameters ...more >>

Help: Using DDQ to update another DB's table
Posted by memiller NO[at]SPAM westernsurety.com at 3/29/2006 1:21:59 PM
I'm using MS SQL 2K. I'm trying to design a DTS that uses DDQ that uses a query as its source from DB1, then using that data it needs to update a table in a second DB (DB2). Both DBs are defined in the DTS as a Connection. I have the source query completed and tested, I've defined my binding ...more >>

DTS OWNER
Posted by Tom Reis at 3/29/2006 1:05:13 PM
Is there a way to change the owner of a DTS Package. I am running SQL 2000 Enterprise with SP4. Thanks. ...more >>

DTS - Multiple Column Lookup
Posted by Asim Siddiqui at 3/29/2006 10:51:02 AM
Hi, I would really appreciate if anyone of you can help me. I am new to the DTS and working on multiple column lookup under ActiveX script. I am using SQL Server 2000. Lookup Query: SELECT STATUS_DATE,STATUS_CODE,DELIVERY_DATE FROM PRODUCT_ORDER WHERE (PRODUCT_ORDER_ID = ?) The Trans...more >>

Keeping object selection when changing login
Posted by ksteilbe at 3/29/2006 10:23:02 AM
When I modify the server connection to change the login ID when I transfer a DTS package to a different server, the tables I selected for copy on the original package get de-selected. How can I preserve the object selection when changing a connection login? This is in SQL Server 2000. Thank...more >>

Copy SQL Server Objects task won't copy table
Posted by Francis at 3/29/2006 6:53:01 AM
I am using the Copy SQL Server Objects task in DTS on SQL Server 2000 sp4 to copy a number of specific tables from one database to another on the same server. The package fails with the error message "Could not find check constraint for table 'x', although the table is flagged as having one."...more >>

Import Multiple Text Files
Posted by molsonexpert at 3/29/2006 5:57:04 AM
I'm new to DTS so bear with me. I have an app that exports several tab-delimited files throughout the day. I'd like to then schedule a time when these can be imported into an SQL database. I've got it to work fine on a test server using DTS for one file. The exported files generated have diff...more >>

Sharing code between DTS packages.
Posted by John Peterson at 3/28/2006 10:47:35 PM
(SQL Server 2000, SP3a) Hello all! I've been trying to figure out whether DTS will allow for "shared" code. That is, I have a DTS package that has a file logging system. I'd like to somehow leverage that code inside of other DTS packages -- sort of like an "include" file, if you will. ...more >>

Monitoring DTS Execution
Posted by Cqlboy at 3/28/2006 8:36:01 PM
How do I identify running DTS executions? We have some DTS's which don't log to the system (DTS) tables and are absolute resource dogs !!! So, how do I identify them? All I can get from master..sysprocesses is "DTS Designer" and the enormous I/O being generated. Thanx. -Cqlboy...more >>

Cannot open a log file of specified name
Posted by Cismail via SQLMonster.com at 3/28/2006 8:27:14 PM
Hello, I have a DTS package called 'MASTER' which performs 8 execute DTS package tasks. There are no workflows defined for 'MASTER'. The 'MASTER' DTS as well as 7 of the 8 packages it executes all have the same error log file name specified in the logging tab of package properties. 'MASTER...more >>

On success not working
Posted by Andre at 3/28/2006 4:19:33 PM
I have a DTS package that, in a simplified version, does this: - step 1. script out indexes on tables to a text file - step 2. truncates the tables - step 3. drops the table's indexes - step 4. transfers data, using the Transform Data Task. This step has one "source" connection and one ...more >>

Exporting into open MDB
Posted by Jeff Swanberg at 3/28/2006 11:40:00 AM
Using SQLSever 2K, can I create a DTS package that can export the contents of a SQLServer table into the contents of a local MDB that is constantly in use by a local app? The local app has an import data feature but I've been asked to try to automate that process instead of having someone h...more >>

Search for text string within DTS SQL code
Posted by D''Animal at 3/28/2006 11:39:01 AM
Hello all, I have 100 DTS packages and I am looking for particular text string (for example: like '%table_name%'). How can I look for it without opening each DTS and going through every step? I'd like to perform simmilar search to the one that we do to find text within 100s of stored proc...more >>

Problems with DTS
Posted by Carlos Sanchiz at 3/28/2006 7:40:03 AM
Hi! I have a very strange problem. I must move all the databases from one SQL Server to another one, so I backup every thing, setup the server, restore the databases and no problem. After that, I install the Oracle Cliente 9 with no problem, and them starts the problems: If I run a d...more >>

Database Backup Error on Network Drive
Posted by Shailender at 3/27/2006 9:01:07 PM
I am facing some typical error while taking the Portal Backup from the front end servers. It was working fine for many days 2 days back it started throwing error. This is medium Server Farm Setup, with data getting stored on SAN . My data size is approx 20 GB Below are the er...more >>

Bulk Export Task collation problem
Posted by Tomer Shoval at 3/27/2006 8:47:14 PM
Hi Darren, We're trying to use the Bulk Export Task from sqldts.com in the log i get: ::Error:: [Microsoft][ODBC SQL Server Driver][SQL Server]Code page 862 is not supported by SQL Server [Microsoft][ODBC SQL Server Driver]Unable to resolve column level collations Is there anything i c...more >>

DTS to send mail
Posted by shobana.shetty NO[at]SPAM gmail.com at 3/27/2006 5:12:33 PM
Hi All: i have to write a DTS which has to run in the night check the values in a table and then get the email addresses from another table to send mail with some specific content.. Iam very much new to DTS. Anybody there to help me out...!! Shobana ...more >>

Connect DTS to Oracle database
Posted by dw at 3/27/2006 3:19:39 PM
Hi. We've got a SQL Server 2000 DTS package that needs to read/write to an Oracle 9i database. We're pulling our hair out and can't figure out how to do it. We've installed the Oracle Client Tools on the SQL Server database machine and on the workstation of the developer, but it's giving error...more >>

Insert Date Problem
Posted by Mike Voissem at 3/27/2006 12:19:02 PM
In t-sql, I can insert this date 20050712, to a datetime field, and it works fine. The date shows up correctlys as 2005-12-07. When I try to do a data transformation in DTS, using CopyColumn with that same date, to the same field, I receive an error. My problem is, I don't always know what th...more >>

DTS loop
Posted by SQLCat at 3/27/2006 11:39:02 AM
I have a staging db that has one field - col001 - and in it are ~300k INSERT statements to different dbs. I have the following code that loops through each line and loads the script accordingly. Problem is, this script takes forever to complete. Can anyone see if the code could be tweaked t...more >>

Data Flow Question
Posted by Gerard at 3/27/2006 2:44:02 AM
Does anyone know how to use the OLE DB Source/OLE DB Destination components in SSIS to carry out a load of data from a table whose name is determined at runtime? i.e. a variable which is assigned during the iterations of a loop I am trying to do load of several tables and dont fancy writing a...more >>

Execute SQL Task question
Posted by TA at 3/26/2006 10:47:02 PM
in executing a SQL Task, i will create a #temptable with records inserted in it. can i then save the record from #temptable to Excel ? if yes, now ? thanks....more >>

ActiveX...where do I start
Posted by Jim at 3/26/2006 7:26:37 PM
Hello, I would like to learn more about activex and scripting. any suggestions on book are websites that will ease me into the subject as i d not knoe much about it. Thx ...more >>

Execution of Job Failed - SSIS Package
Posted by MattODA at 3/26/2006 3:08:22 PM
Hi, I have a SSIS package that executes a SQL Task. It does a simple insert to a table. It works in the BIDS. When I deploy to SQL Server (same machine) it fails to execute the SQL Agent Job I have tried as many combinations of sa vs windows authentication, file vs server deployement as i c...more >>

how to define flow (Precedence) in DTS
Posted by Ghulam Farid at 3/25/2006 1:54:27 AM
Hi I have created a DTS in which first i m deleting values then populating data from text file. the problem is that i have to open the pakage and then execute each process manually in the pakage. wht i want to know how can i confiqure the flow that i only execute main package then, first...more >>

loading 40 MB SQL script
Posted by SQLCat at 3/24/2006 10:45:01 AM
I have a 40MB SQL script that I'd like to load into a DB using DTS. Can someone step me through setting this up in DTS designer? I believe I need to define the dynamic prooperties, point to the scripts location, etc. Any help will be greatly appreciated....more >>

Code Replication
Posted by Jon Derbyshire at 3/24/2006 1:32:02 AM
Hi, I have 10 different DTS's, all of which have the exact same ActiveX script task at the start. I'd like to know if there's a way of storing my vbscript in 1 location, rather than 10 locations, allowing for easier modification of my code? Thanks in advance Regards Jon Derbyshir...more >>

SSIS ODBC Query Time Out
Posted by Pasha at 3/23/2006 5:31:01 PM
Hi All, I'm trying to execute a 2005 package that retrieves data using the IBM RedBrick ODBC drivers and I get a time-out message. I can't find the option to set this time-out value to 0. I'm using the ADO.NET:System.Data.Odbc.OdbcConnection and DataReader Source in the DataFlow. How ...more >>

Create DTS task: Package error
Posted by Klaus Wiesel at 3/23/2006 3:55:47 PM
Hi I try to create a DTS package on SQL Server 2000 SP4 and keep getting a window "Package Error" saying "Parameter is incorrect" when I try to put a task or a connection in the empty package. All I can say is that I have the suspect that it might have something to do with the installati...more >>

Script component in ssis with multiple inputs
Posted by sqlboy2000 at 3/23/2006 1:59:01 PM
I'm using a script component in ssis to create some custom output columns with vb.net. This is working great, and I've read that I can use mutiple inputs to reuse the code with multiple data sources. However, when I create a second source and try to drag a path to the script component, I get t...more >>

SSIS Bulk insert task: Set the input filename at run time
Posted by Henrik at 3/23/2006 1:13:31 PM
Hi How can I set the input file name at run time in SSIS for at bulk insert task? In DTS I could set the filename using a Dynamic Properties Task, and in that way specify the name, which in my case change according to the date. But how do I do this in SSIS? I can set the SourceConnection prop...more >>

DTS, .NET and remote servers
Posted by craig_amtdatatechnologies NO[at]SPAM discussions.mi at 3/23/2006 12:49:16 PM
Hi, This is continuation of an issue I posted on before. Thanks to the responses for to that , as they gave some pointers - but problem is not fully resolved. The background is:- Server A is running SQL 2000 and in domain X Server B is running IIS and host web-sevvice, also in do...more >>

DTS - Trapping SQL errors
Posted by vsnk at 3/23/2006 11:15:09 AM
I am panning to write a DTS (SQLServer 2000) package whcih alters the table and output any error messages when failed. I have created Execute SQL Task in which I have wrote the following command. Alter table Employee ADD EmpStatus char(4) DEFAULT A not null; I have created a work flow t...more >>

DTS call SP with problem
Posted by TA at 3/22/2006 11:01:28 PM
hi, i'm using SQL Server 7. wanna use DTS to run a SP and save the result in Excel. In SP, temp table ( #xyz ) is created & used. however during the DTS creation, DTS will generate error msg " Error Desciption : Invalid object name '#xyz ' " do you have any idea how to overcome ? next...more >>

DTS in SP Error
Posted by Mike at 3/22/2006 12:01:10 PM
I have a DTS package already created on the server. I want to call it in a sp using the xp_cmdshell 'dtsrun ...' I'm getting "xpsql.cpp: Error 87 from GetProxyAccount on line 604" Any ideas how to fix this? Thanks Mike ...more >>

Simple dimension update in SSIS????
Posted by Jéjé at 3/22/2006 11:36:23 AM
Hi, SSIS doesn't provides an easy to use interface for a simple dimension update. have you any workaround? In my staging database I allready know which rows are new and which rows need an update. The new is simple, I insert, so the mapping is easy and automatically generated by SSIS. ...more >>

DTS Package Migration Wizard Error
Posted by Bong Kim at 3/22/2006 9:31:32 AM
I was trying to migrate DTS packages from SQL Server 2000 using Package Migration Wizard of SQL Server 2005 and successfully migrated 27 of them. When I tried the 28th DTS package, I got the following error message. From then on, I could not migrate any more DTS packages even from the same S...more >>


DevelopmentNow Blog