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 > february 2005 > threads for february 8 - 14, 2005

Filter by week: 1 2 3 4

DTS 2005 Problem
Posted by HuyLN at 2/14/2005 7:13:01 PM
I want to use Script Component in DTS 2005 to transfer data. But I don't have any document or sample script to solve it. Pls send to me some. Very urgent, because my project maybe fail in next week. Thanks...more >>


Set up connections once per task?
Posted by Rick Brandt at 2/14/2005 1:06:14 PM
If transferring multiple tables between source connection and destination connection I can create these connections once and then define multiple tasks between those two connections, but I don't appear to have any control over sequence or "only do this if this other has succeeded". If I create...more >>

Execute Process Task catch return code
Posted by xyc at 2/14/2005 10:50:03 AM
Hello: I have a DTS package and it will call a .exe file in Execute Process Task. I need to catch the return code from the .exe after it executs. However, the Return Code in Execute Process Task is what the DTS step will return if it's successful. So how can I catch any retrun code from ..exe...more >>

Web service credentials from DTS object.
Posted by Backslider at 2/14/2005 6:45:43 AM
I created a custom DTS object that does its work by calling a webservice. When you create the object in DTS, it lets you set the user/pw you want to use to authenticate to the webservice. The problem I am having is that once I authenticate to the webservice within DTS, it always uses the same ...more >>

Export database to a txt file.
Posted by Stanko Milosev at 2/13/2005 7:38:41 PM
Greetings from Serbia, as subject saids, does anyone had expirience with it? I need to find a way to export a database, with all tables, and relations if it is possible to a one or more txt files. This is my first task in this new company (http://www.netcomp.co.yu/) and only idea which I have ...more >>

Filtered Recordsets
Posted by database_princess at 2/13/2005 2:11:05 PM
I have to pull in some data from a huge table on another server. I have a local table containing the acctnumbers I need. But, I cannot figure out a way to bring in only the records having an acctnumber in the local table. I have tried to configure a lookup, but that doesn't work to filter t...more >>

Dts import
Posted by chinna jambu via SQLMonster.com at 2/11/2005 8:54:15 PM
I have 10 csv files with different names in c:\mydirectory\. I created global variable "ImportFolder" which has value "c:\mydirectory\ LDP_*.csv" files names are LDP_aaa.csv, Ldp_bbb.csv, LDP_ccc.csv ADP_aaa.csv, ADp_bbb.csv, ADp_cc.csv. .... My question here is i want to import onl...more >>

how to keep the DTS layout
Posted by jeff_y at 2/11/2005 4:31:54 PM
Hi gurus, When I try to use ActiveX script to load a DTS package from one server (package.LoadFromSQKServer) and then save to another server (package.SaveToSQLServer), I can succeed in doing this but the layout of the DTS package on the destination server is totally trashed. Anyone with excelle...more >>



I want to run a bunch of DTS packages
Posted by LP at 2/11/2005 10:59:02 AM
I want 10 packages to run in sequence. I was told the Execute Package Task would do it but it looks like it can only call one other package. I want it to call all 10 in order. Am I missing something Thanks, LP...more >>

csv import to SQL Server triggered by file movement
Posted by mark.jackson NO[at]SPAM ncumbria.nhs.uk at 2/11/2005 5:56:03 AM
Hi, I'm new to DTS and am trying to work out the best way to approach a task. I was wondering if anyone could advise me? The situation is that we have a folder which, every few hours, will have a number of .csv files deposited into it, which will all have unique filenames. What I need to do...more >>

Errors when Importing foxpro tables into SQL
Posted by Wimtien at 2/11/2005 5:27:04 AM
When i am importing a foxpro table, linked by ODBC, i have a problem with date field. The definition in foxpro is standard date. The program is from a third party, so everything is defined and we cannot change anything. We want to analyse a lot of data with crystal report in SQL server. ...more >>

Dynamic properties to get table structure
Posted by Subbaiahd at 2/10/2005 5:09:38 PM
Allan, I wanted to get definition of a table dynamically from source whenevr it runs, source is a file system , it has odbc driver to support the file system. when i run manually thru wizards it is creating table and loading data. when i save the package, create table script is saving as sql s...more >>

SQL 2005 - Validation Error - Access Autonumber Field
Posted by dfin at 2/10/2005 5:08:48 PM
I'm trying to load data into an Access table that has an autonumber field. The message "There is no column object mapped to the non-nullable column CityID in the database". Is there a way to turn off this validation? ...more >>

Large Database
Posted by Jim Heavey at 2/10/2005 3:29:03 PM
I have an Oracle table which has about 30 millions rows on it. I have a SQL table which has about 20 thousand rows on it. I want to pull from the Oracle table the corresponding rows from the SQL table. Would I use DTS for this? Is there a way for me to join the information from these two t...more >>

How to remove unwanted Preceding Constraints ?
Posted by Hemil at 2/10/2005 2:11:02 PM
Hello Friends, I have created a DTS package and created workflow connections between my different tasks. I also changed the default Task and Step names as per my conventions. All of the individual steps execute fine. However, when I try to run the package as a whole, it stops afer the fi...more >>

return codes from external processes
Posted by Steve Skidmore at 2/10/2005 9:25:03 AM
Hello All, I need to run an external command (secure ftp client) that will return a 0 if successful or 1-8 to signify different error conditions. My DTS job will need to branch according to the specific return code. I spoke to MS support and they tell me there is no functionality in DTS t...more >>

Import Oracle CLOB?
Posted by Pradip at 2/10/2005 8:17:08 AM
I am trying to import an Oracle table with CLOB datatype. The ODBC and OLEDB drivers does not provide this functionality. Is there any way to import the CLOB data? Are there any ODBC drivers(preferably free) that can provide this functionality? Thanks in advance. ...more >>

Best Practice ?
Posted by jmeyers at 2/10/2005 8:13:01 AM
I'm wondering what the best approach to this would be.... I have an Excel spreadsheet that users update and then save to a common area on a network drive. I then need to get the data from the Excel spreadsheet into a SQL table. Once the data is in the table, I then use some matching softw...more >>

Problem getting data from Oracle 8i
Posted by Wayne at 2/10/2005 7:23:05 AM
Hi, I'm trying to extract data from an Oracle 8i database to convert it to SQL Server and I'm having a problem with one table. This table has a CLOB column (text in SQL Server) and I believe that this is the problem. I'm using DTS and I've used both the ODBC provider and the OLE DB provider...more >>

Date Sensitive Extraction
Posted by Jim Heavey at 2/10/2005 5:33:03 AM
I am pretty much a novice on DTS, I have used it on very simple extractions from Access to SQL. I am wanting to set an extract from an Oracle Table which has a very large number of rows (millions) and I want to set up a DTS package which will run weekly and pull 1 weeks worth of data and alwa...more >>

DTS Csv Files Import into SQL Server
Posted by chinna jambu via SQLMonster.com at 2/10/2005 2:50:18 AM
I have 10 csv files with different names in c:\mydirectory\. I created global variable "ImportFolder" which has value "c:\mydirectory\ LDP_*.csv" files names are LDP_aaa.csv, Ldp_bbb.csv, LDP_ccc.csv ADP_aaa.csv, ADp_bbb.csv, ADp_cc.csv. .... My question here is i want to import on...more >>

Import Multiple Files using dts
Posted by chinna jambu via SQLMonster.com at 2/9/2005 10:27:11 PM
Hello, I want to create a DTS, it must import multiple csv files from the same Folder into two different tables. The files are "LDP_" + 3 letter code( like LDP_CCC,LDP_XXX) and "ADP_" +3 letter code (Like ADP_AKC,ADP_MEM) .. I know how to load it to the database, I am using looping method.I c...more >>

Query excel meta data
Posted by pm at 2/9/2005 9:07:18 PM
How can i query excel meta data. I need to know column name, datatype, maxcol size. I want to use this information in importing excel into SQL. Thanks PM ...more >>

DTS Package Error
Posted by Provost at 2/9/2005 7:54:34 PM
Hi there, I have created a DTS package that copies data via an ODBC connection into a MSSQL 2000 Server + SP3 on a Win2000 server + SP4. The package runs as a scheduled job at 15 min intervals due to data volumes and network bandwidth to keep the transfers small. The package ran fine ...more >>

(Date Returned, DBTYPE_DBTIMESTAMP)
Posted by Ramiro Cubillan at 2/9/2005 4:53:17 PM
When i try to import from access, some date field fails with the following Messages (Date Returned, DBTYPE_DBTIMESTAMP) who can help me with this error? ...more >>

DTS Failure Problem
Posted by Roy Goldhammer at 2/9/2005 3:15:32 PM
Hello there I've created dts that sends data from one server to another I got an error: BACKUP LOG permission denied in database 'destination database' Whad is wrong? Any help will be useful ...more >>

DTS ftp
Posted by Chuck P at 2/9/2005 2:57:01 PM
I want to get a file via ftp. Using the ftp control I connect to the remote server how ever I can not specify the file, because I can not change to the directory I need. The directory does not show up in the file list. The directory is hidden. How can I download the file? I can't unhide t...more >>

Capture database error message within "Post Row Transform" phase
Posted by Massimiliano Melega at 2/9/2005 2:41:31 PM
Hi, I have written an ETL application with SQL Server 2000 DTS that, among other thing, loads sequential files into an ODS database. I have used Data Driven Query component, with Data Pump Phases turned on, and Microsoft Data Link Component to insert or update rows in tables. When databa...more >>

Dynamic Column Mapping
Posted by pm at 2/9/2005 1:25:18 PM
I need to load various excel file into SQL server. For every excel file i have mapping table mapping excel column to SQL column. I am currently dynamically generating insert statement from this mapping table and then use to load records into sql server. For taking data from excel i am using dist...more >>

Environment Variable in SQL jobs
Posted by Mike Torry at 2/9/2005 11:39:05 AM
My DTS package contains Environment Variable assigned on local server. When manually run the DTS, it works fine. But when I schedule this DTS as SQL server job and run as job, I get error: "Environment Variable not found." Are there any recommendations to solve this ptoblem? Thanks in advance,...more >>

Trigger Insert VIA DTS
Posted by DeMoN at 2/9/2005 11:29:00 AM
Hi All. I have an insert trigger into a table, but when I insert data using a DTS, the trigger is not shot. If I insert data manually, trigger works sucessfuly. There's any way to make trigger works using a DTS?? thansk for your help. ...more >>

View to Table using designer instead of Import/Export wiz
Posted by Vinod at 2/9/2005 8:16:18 AM
Hi, I want to transfer some views from one server to another. But I want the views to be materialized into tables on the destination server. The views are different with different structures (different number of columns, name...etc). I have to materialize them as tables in order to improv...more >>

Update Query
Posted by anonymous at 2/9/2005 7:06:40 AM
Maybe some one can help me... I have 2 tables with the following structure: CREATE TABLE [table1]( [GRID] [int] IDENTITY (1, 1) NOT NULL , [GID] [varchar] (10) NOT NULL , [RID] [int] NOT NULL ) On primary CREATE TABLE [table2] ( [RID] [int] IDENTITY (1, 1) NOT NULL , [RText] [varchar] (4...more >>

Update and SQL
Posted by eleftheriak NO[at]SPAM hotmail.com at 2/9/2005 7:06:28 AM
Hi I have the following code and I get an error. Propably syntax but I m new to DTS sql = "UPDATE Weeks SET WeekStart = '"& ww &"' FROM CurrentWeek WHERE Weeks.WkNo = CurrentWeek.Wkno + 1" ww is a global variable Can anyone help? Thanks in advance RIRI ...more >>

Insert and DTS
Posted by eleftheriak NO[at]SPAM hotmail.com at 2/9/2005 6:25:22 AM
Hi, I would like to ask what is the syntax error in this: sql = "UPDATE Weeks SET WeekStart = "& ww &"" & vbCrLf & _ "FROM CurrentWeek WHERE Weeks.WkNo = CurrentWeek.Wkno + 1" ww is a global variable Thanks in advance Riri ...more >>

Dynamically FTP file
Posted by PLSH at 2/9/2005 3:57:07 AM
Good day, I hope someone can help. I am using the FTP task from SQL Server 2000 DTS. I have an application in place that every day creates a log file with the date as the file name, eg 20050209.txt Every day a new file is created. I need my FTP task to automatically pick up the lates...more >>

Sticky destination database name
Posted by JRStern at 2/8/2005 4:44:50 PM
I build a fancy DTS package to migrate data from a source database S to a destination database D. But, I can't touch D right now, so I actually build the package to use destination X. Everything works. Now, I try to use a dynamic connection to set the destination initial catalog (aka databas...more >>

Tricky query...can it be done in a DTS?
Posted by Steve at 2/8/2005 4:15:14 PM
Hello Everyone - I'm new to DTS so I appreciate any help. So far I haven't been able to figure this out. I want to left join one table (TableA) to 3 other tables (TablesB, C, D) . (I need all the data in Table A returned). If there is a match between TableA and TableB, then I just want...more >>

Global Variable in Sub-Select Query
Posted by Steffany at 2/8/2005 3:50:08 PM
I thought I knew a lot about DTS, but I realize what a novice I am after reading this news group. I am not new to DTS, but new to Global Variables. I am trying to loop through a global variable rowset and update data in a table. Here is what I am trying to do... I need to mark a Primary ...more >>

DTSDataPumpTask -- dynamic transformations?
Posted by slapdash at 2/8/2005 3:32:41 PM
I've been googling around and haven't quite found what I need... I'm trying to DTS some tables from one database (Pervasive 8.50 wrapping Btrieve files) to another (SQL Server 2000), but not quite directly. The DTS is looping through a set of tables, creating them in SQLServer from CREATE TAB...more >>

Just reinstalled SQL Server 2000...now DTS pkgs fail!
Posted by mwmiller78 at 2/8/2005 1:41:03 PM
We had some serious server problems and ultimately had to reinstall SQL Server 2000 on a Windows 2000 Server box. Initially, we installed SQL server under a domain account named srmsql. Under this installation we created everything, (DBs tables, DTS pkgs, jobs, etc.) Before we did our seco...more >>

DTS Programming Question -- how to remove custom transformations
Posted by Andy S. at 2/8/2005 12:52:04 PM
In SQL Server Books Online, there is a great programming example where you can modify the properties of a data pump task to add new transformations. My question is how do you remove them when done? Those transformations stay saved so you cannot recreate them later. Here is the code I am usin...more >>

How to copy a excel file to Destination server while copying DTS package
Posted by Sanjeev Dharwadkar via SQLMonster.com at 2/8/2005 11:58:26 AM
How to copy a excel file to Destination server while copying DTS package to different server? -- Message posted via http://www.sqlmonster.com...more >>

Permission problem calling DTS from ASP page
Posted by Chris Kennedy at 2/8/2005 11:53:30 AM
I have created a DTS where owner is the administrator of the SQL server. It import data from an access database sitting on a different server. When executed manually it works. When it's executed from an ASP page I get the following error in the log. How do I give the ASP page the right permissio...more >>

Scheduled DTS Package
Posted by Travis Sharpe at 2/8/2005 11:47:38 AM
I have a DTS package that will run fine in almost every place except when it's scheduled. I can right-click on the package and select "Execute" and it runs ok. I can open the package in design view and run it, and it's ok. I can open up a command prompt on the server and run dtsrun and it ru...more >>

ftp
Posted by don at 2/8/2005 8:49:03 AM
Is it possible to ftp to a remote UNIX site and execute a shell script at that site? -- Don ...more >>

Date and DTS
Posted by eleftheriak NO[at]SPAM hotmail.com at 2/8/2005 8:10:12 AM
Hello, I would like to take the next week's date( for example next Monday) from an ActiveX in a DTS package. Can I do that and how? Thanks in Advance Riri ...more >>

Log gets filled
Posted by Yog at 2/8/2005 7:25:08 AM
I have a DTS job which copies 20 tables from a Sybase database to Microsoft SQL Server database. The sybase connectivity is a ODBC Connection, and SQL server native connection. The tasks are deleting from the SQL Server tables, and then Copy from Sybase to SQL Server tables (select * f...more >>

Scheduled DTS Package
Posted by jmeyers at 2/8/2005 5:37:07 AM
I have a DTS package that is schedule to run daily. The DTS package was created and made the connection to the SQLServer using Windows authentication. When the package runs, it runs under the user/password of the SQLAgent. About every 3 months, we go through a security cycle in which the ...more >>

DTS query result to file - can I loop it?
Posted by len at 2/8/2005 4:05:02 AM
Hi there. I have a scheduled DTS package set up on my SQL Server with the following properties: Source: a stored procedure which can take a parameter Destination: a csv file on disk with a dynamic filename (each time the task is run, a new filename is generated from an SQL query using get...more >>

Scheduling DTS package use 50% of my cpus
Posted by Jéjé at 2/8/2005 12:28:02 AM
hi, I have a lot of packages executed from 1 package. when I execute the main package interactively, my 2 processors are used at 100% (execution directly from the DTS designer) when I schedule the same package using a .BAT file and executed from the SQL Server agent, the CPU usage is 50%...more >>


DevelopmentNow Blog