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 > december 2004 > threads for december 22 - 28, 2004

Filter by week: 1 2 3 4 5

Scheduled DTS package won't execute all steps
Posted by Eric Laney at 12/28/2004 8:25:03 PM
I have several DTS packages scheduled as jobs in SQL Server Agent. All the DTS packages execute flawlessly when run manually. When run through the job subsystem, the DTS packages execute, but packages in which the final step is to FTP the results to another server will hang on that final step....more >>


Identity column in dts
Posted by smk23 at 12/28/2004 8:21:02 PM
I'm trying to use DTS to upload data via a query statement. The PK is an identity column. I tried running the query without saying anything about the PK, thinking it would supply those values (like MS Access does for me) but it failed because those were left null. What should I do to import my...more >>

DTS Global Variables
Posted by francis at 12/28/2004 4:54:06 PM
Does anyone know how can I use DTS global variables in DTS SQL statement? Thanks a lot. ...more >>

DTS File Open
Posted by RV.Krishnan at 12/28/2004 4:42:10 PM
I received from DTS File and related Excel Sheet from my customer. I could be able to open the DTS File. It showd a connection between Excel and OLE DB Data Sources. Then I treied to run this , it says ' Trasform Data Task:Undefined ' Kindly let me know the procedure to run Am totallay ...more >>

Invalid string format for source file names
Posted by Tim L at 12/28/2004 11:27:03 AM
I'm trying to pull files from an ftp site. Part of the file name is the current date. I have put together an Active X script task to generate the file name, but cannot get the dynamic properties task to use the generated file name. I read that following the file name with 3 semi-colons (;;;...more >>

bulk insert from a remote machine
Posted by RJ at 12/28/2004 11:19:02 AM
Hi, I've been trying to get bulk insert to work and have this statement bulk insert dbo.myTable from 'c:\test.csv' with (datafiletype='char', FIELDTERMINATOR = ',',ROWTERMINATOR = '\n') I'm trying to get this to work in the SQL query analyzer. But i see that it is trying to find this file ...more >>

Fine in Query Analyzer, not in DTS
Posted by Mike Morella at 12/28/2004 9:23:05 AM
The script is exactly the same, but doesn't work as part of a DTS package. -- ************** -- ************** SETUP TEMP TABLES -- ************** declare @logsize real declare @logspaceused real if exists (select * from tempdb..sysobjects where id = object_id(N'[tempdb]..[#tmp_sfs]')) ...more >>

cursor in dts package
Posted by usha at 12/28/2004 9:12:29 AM
Is it possible to execute a cursor in DTS package? HOW? Thanks in advance!! ...more >>



Transform data task parameter not changing
Posted by DBA72 at 12/28/2004 2:49:04 AM
I have set up a loop in DTS which connects to various servers and collects data from them. I have two parameters which are fed into my transform data task query from global variables. EXECUTE uspGetAlertPool @LastRun=?,@ServerID=? For some reason, the LastRun is not updated every time it l...more >>

Is my DTSRUN working
Posted by Jess at 12/28/2004 2:39:01 AM
I'm using SQL DTS to import data from files with dynamic names into a SQL table but I'm stuck at STEP 7 of the batch file.(as in the link) http://www.databasejournal.com/features/mssql/article.php/10894_3325731_1 I'm saving my DTS package as a Structured Storage File. I'm able to capture t...more >>

Max records for DTS
Posted by Ann at 12/27/2004 10:23:09 AM
Does anyone know if there is max number of records DTS will import into a table. I'm getting an error saying there are too many delimeters in a record but that record looks fine to me. I'm wondering if this error is just a generic one and really means something else?? Thanks!...more >>

Sql Task with Oracle
Posted by Denis Desjardins at 12/24/2004 8:41:01 AM
I'm fairly new to DTS. I'm running a Dts where the source and the destination are Oracle databases. I need to run some Sql statements to create temporary tables and proper indexes before doing any more complex stuff. When trying to run those statements in an Sql Task, it seems that i'm only ab...more >>

DTS & Cube processing
Posted by Dave Williams at 12/23/2004 1:23:39 PM
I having problems with the following scenario. (1) When I run a DTS package that processes a cube it works fine. (2) When however I run this package from within another package it just hangs, i.e. starts but nothing happens. Both packages run under the same Windows authorisation which is ...more >>

Importing text data containing fixed width fields
Posted by Amit at 12/23/2004 10:30:34 AM
Hello, I'm trying to import a text file with fixed width fields. I've noticed the following problem regarding this: Let's say I have four fields in my text file. When field4 is blank, i.e. there is a {CR}{LF} after field3 the import process does not mark field4 as null. Instead it goes to the...more >>

How to upload a microsoft excel file or microsoft word to the website?
Posted by Jules at 12/23/2004 9:11:03 AM
Wonder if there is any way that I can put up my microsoft files into the website? And have it design as whenever I save the latest edited files it will be captured on the specific website as well?...more >>

Job -> xp_cmdshell 'DTSRun ' - Access Denied !
Posted by Johnny Silvestre at 12/23/2004 4:42:46 AM
Hi Friends, I have a SQLServer Job that try to execute a command DTSrun using the proc xp_cmdshell, but I receive "Access Denied" when the DTSrun are executed my configuration: SQL Server 7.00 - 7.00.1063 (Intel X86) - SP4 Windows 2000 - Service Pack 4 Someone can help me ? thx Jo...more >>

Populating a global variable.....
Posted by John Brian at 12/22/2004 8:03:58 PM
How to populate a global variable by reading the data from a database. Basically I want to find out the max date from a field and poulate the variable. SQL2K. Thanks Brian ...more >>

Win Server 2003 Web Edition Problem
Posted by m.ahrens at 12/22/2004 11:21:02 AM
Hi all I have a Windows Server 2003 Web Edition running. No i have one problem...I can't install the Enterprise Manager on the Web Edition of Windows Server 2003. How can i still get a DTS running on a SQL 2000 MSDE Version? how can i copy it or move it over to that machine? thanks for y...more >>

SQL DTS Job Status
Posted by DavidM at 12/22/2004 11:19:07 AM
I have a DTS Job that is scheduled to run daily on our SQL Server 2000 server. Is there an easy way for me to determine if the DTS job ran successfully? Does DTS provide anything for this or must I use DMO to look at the jobs collection? ...more >>

"Invalid Class String" on Custom .NET DTS Task
Posted by Wm. Scott Miller at 12/22/2004 10:47:42 AM
Hello all! I've created a custom DTS task in the .NET Framework 1.1 and have it installed and partially working on the server it will be residing on. If I log into the machine using my account and manually open and run the package, everything works. If I log in and use the limited SQL Ser...more >>

Using UNC (or Mapped) Drive Pathing with DTS
Posted by mts at 12/22/2004 9:17:11 AM
I run several DTS packages each day, I would like to convert from an e-mail based export system where I save the exported file locally to the server, then pick it up as an attachment and email it to a system where I export the data file to a network share location. The issue I am having is ...more >>

How to export a table into .xml and .xsd
Posted by karenmiddleol NO[at]SPAM yahoo.com at 12/22/2004 3:35:48 AM
Hello All I want to create a export of a given table as a .xml file with a .xsd Can somebody please point me in the right direction how I can do it. Also, once I have created a .xml and .xsd how do I import the table structure and contents after having dropped the table to recreate it fro...more >>


DevelopmentNow Blog