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 > july 2003 > threads for july 1 - 7, 2003

Filter by week: 1 2 3 4 5

Column Name Not Found
Posted by bernif at 7/7/2003 3:29:01 PM
Hi All, I hope someone can help me, I created a DTS job using the wizard which reads a tab delimitied text file and inserts it into a table, and saved it to a bas file because i need to use it in VB and dynamically change the filename. However when I run (having referenced the three dlls, dts...more >>


Failed DTS Package Log
Posted by Donna at 7/7/2003 1:41:48 PM
Hi, I would like to see only error messages of packages that fail. I have setup packages that import data from text files that are FTP from the AS400. I have a file that all failed error messages go to, but my problem is that successful messages are also going there. In DTS package prope...more >>

saving .txt file
Posted by Raka at 7/7/2003 1:07:37 PM
Hi , I have created a DTS package in SQL server 2000 which will write the contents of the table data to a text file. When the Job is invoked it creates the .txt file and saves it on the above server.It works fine for now If i decide to save the .txt file on some other server how should ...more >>

change pat for .INI file
Posted by Roberto Galbiati at 7/7/2003 10:51:42 AM
Hi all I have a package reading data from an ini file in the first step. I need to move the package on production server (on e:, i developed on my PC in c:) , but I haven't found any way to change the path of the ini file Exporting in BAS, it seems not bo be a properyt of dynamictransformation...more >>

Slow DTS server performance
Posted by Fred Jones at 7/7/2003 8:19:10 AM
Hi, I'm running SQL2k sp3 on a dual Xeon w/four drives/arrays (SCSI)(OS on C:, Logs on E:, tempdb on F:, Data on G: (500GB)). I have a large DTS package for processing text files for billing and reporting purposes. The input file averages 400,000 rows per day and ends up creating a dozen ta...more >>

DTS, Transactions and MSDTC Error/Problem
Posted by Joe Smith at 7/7/2003 4:29:50 AM
I'm attempting to use Transactions within a DTS package but am experiencing problems and receiving the following error: "Package Error Error Source: Microsoft Data Transformation Services(DTS) Package Error Description: The Microsoft Distributed Transaction Coordinator (MSDTC servi...more >>

How do I scan records and assign values to fields using DTS?
Posted by Greg_Del_Pilar at 7/6/2003 11:08:17 PM
Hi! I am new to DTS scripting and I was wondering if there's any way in DTS to scan an existing table and change a field's value. I am generating a lookup table as I load my raw data. As this lookup table will be used later on to populate a dimension table, I need to programmatically scan its ...more >>

Translation
Posted by ScubaFrog at 7/6/2003 9:40:51 PM
I was wondering if anyone could point to a website that would help translate VB into VBScript.. Reason is that I had a developer create a VB application tied into a SQL server. A lot of his code is outdated and not very useful. I'm trying to convert as much of it into DTS packages. Howev...more >>



Package Seen More than Actually Present
Posted by Aneesh at 7/4/2003 10:22:17 AM
I have a problem Package is stored in msdb database.But I was surprised to see many package in the database table sysdtspackage. How is this possible. Would it have some effect in my website if I am using this package there. Is there any way through Which I can Stop such recreation. ...more >>

Query ntxt fields
Posted by Charles at 7/4/2003 7:45:43 AM
Hi there, I=B4m trying to export a "ntext" field in which I have=20 stored notes (a lot of text). I'm using the Query=20 Analizer, but the select command only returns the first=20 line of the text in each field. It seems that when an=20 enter is found it just finishes displaying the text of=2...more >>

change dts-creator
Posted by Hans Neckebroeck at 7/4/2003 5:16:17 AM
Hello, How can I change the creator and computer of a DTS-package with something simular to sp_reassign_dtspackageowner. Regards, Hans...more >>

Register Custom Task automatically
Posted by Frank Matthiesen at 7/3/2003 10:49:48 PM
hi ng, is there any other way to register a custom task (written in VB) in the DTS-Designer as register it within the DTS-Task-UI? I've read something about the "Register Custom Task command" on msdn but i don't find any further information. Any suggests, hints or informations? regards ...more >>

Need script for processing next row of data if error is encountered in row
Posted by Elgar Esteban at 7/3/2003 7:14:19 PM
Hi! I am a newbie to DTS. Below is a sample code which copies the data from a source text file to a destination text file. Assuming that there are 3 columns in the source text, if one of the rows has a missing column (the last column), DTS encouters an error and then stops processing the...more >>

dts from 7.0 to 2000
Posted by Salim Afþar at 7/3/2003 6:48:46 PM
Hi, Can I transfer datas form SQL Server 7.0 to 2000 with DTSs. Thanks a lot, Salim ...more >>

Heirarchical data to relational
Posted by michael at 7/3/2003 2:26:42 PM
I need to take a hierarchical text file and import into a set of relational tables. The first three characters of each line identify the format of that line. The goal is to do this with a DTS package that can be executed as new files are received. Has anyone got an example of something li...more >>

Problems with Export of table to Acess and Text file
Posted by Sammie Barnes at 7/3/2003 2:23:36 PM
Hello, I have tried to export a table that contains fields of datatype decimal, however, when I export the data to MS Access, the values to the right of the decomal point are never present. The number is rounded to the nearest whole number. I tried creating the target table in MS Access, a...more >>

Failure creating file
Posted by El No at 7/3/2003 2:13:33 PM
Hello, I have a package built in EM that gets columns from a table and transfers them to an existing Excel document. The package creates the appropriates columns in a new page an does the transfer. Everything works well in EM and dtsrunui. Using the code generated by dtsrunui, I execute th...more >>

dts error 2147220440
Posted by Fabiana Sasia at 7/3/2003 2:05:58 PM
I have a dts where I am transfering data from dbf to sql server database. I receive de following message but I did not find answer in microsoft knowledge base. Do you know something about it? -2147008507 (80074005); Provider Error: 0 (0) Error string: Could not acquire a FastLoad ...more >>

backup,zip and restore
Posted by Salim Afþar at 7/3/2003 1:58:15 PM
Hi, I need to export only the data from server1 to server2 without deleting and creating the existing data on server2.Can I do that? Also,can I backup the db on server1 and zip the backup file and send the backup file to the pc which runs the server2 and unzip the file and restore it?Can I do t...more >>

Reusing DTS Package w/ new columns
Posted by jmirsky NO[at]SPAM hotmail.com at 7/3/2003 10:24:34 AM
I've set up a bunch of DTS packages to import from delimited text file where the first row has column names that match exactly the field names in an SQL table (sql 2000). Runs beautifully when no changes occur to tables. However when columns change in SQL, the new columns populate with NULLS ...more >>

DTS problem
Posted by Emil Nadzhafov at 7/3/2003 9:02:28 AM
I have a stored procedure that runs simple DTS package. The DTS package that exports SQl table to .csv file on another PC. Runs fine as long as the destination is located on my local drive. However, when I modify the connection to point to a folder located on a network drive, I get the fol...more >>

dynamic properties task and olap processing task
Posted by Rea Peleg at 7/2/2003 10:47:33 PM
Hello everybody I want a dynamic properties task to set the treekey property of an olap processing task to one of its partitions. From some reason this wont work and I always get the following massage: error: "-2147221499 Exception_Access_Violation. Need to run the object to perform this opera...more >>

DTS SQL-Oracle
Posted by erica_santosa NO[at]SPAM yahoo.com at 7/2/2003 5:43:26 PM
I am trying to fetch data from an Oracle database to SQL Server 2000 database. The fetching does not take very long time (around 2 mins) if it's just simple query eg: select * from TABLE where DATE = MyDate But when I try to put additional condition in the query: select * from TABLE ...more >>

problem importing csv
Posted by rk at 7/2/2003 2:56:06 PM
SQL gurus, please help... I am trying to import a .csv which has date and time in a column in the format "01Jan00:00:01". When I specify the field to be datetime in SQL, I get errors saying that a string cannot be converted to datetime. any help would be much appreciated. thanks, ...more >>

Converting string to datetime format
Posted by Rajesh Krishna at 7/2/2003 1:50:09 PM
I am migrating data from mainframe to SQL Server 2000. The mainframe has a utility that dumps all the datatables in the mainframe database as .csv files to a windows system. There is another utility that gives me the schema for each datatable. I upload these .csv files to SQL server usin...more >>

DTS - running package async
Posted by Greg Hayes at 7/2/2003 11:46:07 AM
Hello, I have DTS packages being run within a VB client through the DTS object library, and would like to run the packages in an asynch fashion if possible. At present, once a package is executed, the rest of the machine is blocked until that package finishes. Is there any way to prev...more >>

IBM iSeries Client Access OLE DB problems
Posted by jroloff NO[at]SPAM horizonhobby.com at 7/2/2003 11:42:47 AM
I am working on a project where I need to connect some Windows 2000 (SP3) servers to an IBM AS/400 database. I'm using IBM's Client Access OLE DB driver (V5R2 with SI08894 patch installed) on each server. The first serve is dual-processor, running SQL Server 2000 (SP3), and I have a DTS package ...more >>

text file connection
Posted by please help at 7/2/2003 10:26:42 AM
I'm trying to copy the data from 1 file to another file. When I create the task transform copy and specify the text file name in the source tab and go to destination tab it comes up with a dialog box which gives all the fields. When I hit execute to define the same no. fields for the desti...more >>

SQLSERVER TO AS400
Posted by Marco at 7/2/2003 10:10:00 AM
Hello, I try to send data from sqlserver 2000 to a remote DB2 as400. The AS400 is connected with a dedicated line. Now, if i run the DTS package from Enterprise Manager all is ok. If i run the same package from Query Analizer or from my application programm it never goes to the end. No response ...more >>

Data Export to Excel in activex script
Posted by gsv at 7/2/2003 6:35:09 AM
Dear Experts.. How can I Transfer data from sql server table to excel file programatically in DTS activex script?? 1)Table data need to fetch from a sql querry that change every time the Package is excuted i.e I want to pass the sql querry(with lots of joins) every time the packeage is...more >>

Error in Execution of a Job
Posted by Harcharan Jassal at 7/2/2003 3:26:15 AM
I am getting an error while executing a Job ..Has anyone got an idea about the same..The error goes like this... Executed as user: GECCEFDBY\##MSSQLServer. SERVER_NAME.master.dbo.xp_fixeddrives [SQLSTATE 01000] (Message 0) Access to the remote server is denied because no login-mapping ex...more >>

Using wildcard..?
Posted by Kent Johnson at 7/2/2003 1:21:39 AM
Hi all, I have a file that looks like: 123456.pms03071 The first part, 123456, is unpredictable. The second part is pmsYYMMDD. What I want to do is to load the file with todays suffix. How can I do this in a simple manner? I have a path in a DTS-package that looks like: sFilename = "d...more >>

DTS Excel sheet import help..
Posted by John Pether (john NO[at]SPAM at 7/1/2003 10:24:17 PM
I have an xls file that I want to import into a table within sql2000. I have built a DTS that does a simple column copy with a lookup to import the data and everything works fine, locally. However when I try and set up the dts on the hosts sql server it only gives me the option of connecting to a...more >>

Export to Excel losing primary key data for some records
Posted by Phillip Barwell at 7/1/2003 10:19:26 PM
I am attempting to export various tables to Excel 2000 - however am finding that some of the table records are losing their key field data - and are not being exported to Excel. The key field is an auto inc field, and is clearly visible in the SQL database. In one table all the keys are m...more >>

Lookups
Posted by ScubaFrog at 7/1/2003 5:26:51 PM
Is it possible to have a lookup with multiple parameters? If so, how do you pass them via an ActiveX script? Example: Select * from employee where jobid between # and # Thanks in advance...more >>

Excel Sheet data export
Posted by Ricky_Singh at 7/1/2003 4:29:51 PM
Hi All, I have an Excel sheet which I recieve every week. Its not too much data and the present process is to manually load that data into a SQL Server 2000 EE table. But I would like to automate this process. I have tried using the DTS, but it doesn't work. What I wud basically need is tha...more >>

Output Variable assignment to Global Variable in DTS
Posted by Dhanraj Mahendra at 7/1/2003 2:55:11 PM
Hi Folks : I have an excute SQL Task in DTS Package. I am excuting a sproc which has three output parameters . I would like to assign the values to the Global Variables in the Package so that I can use the Global variables in another Task . But when I parse the code and click for the Parame...more >>

Scheduled FoxPro Import Fails.
Posted by Ron Huffman at 7/1/2003 1:06:49 PM
I am trying to import FoxPro tables from a NT4 server. The DTS package fails during it's scheduled operation. It says it can't find the FoxPro tables. What appears to be happening is the FoxPro ODBC driver wants a mapped drive to the table locations and the Schedule service doesn't have the...more >>

Import Mainframe Flat Files Data into SQL 2000 tables
Posted by fungek_aa NO[at]SPAM yahoo.com at 7/1/2003 12:55:57 PM
I have some flat files stored on mainframe tapes. How can I configure the DTS in SQL2000 to get those files? What driver should I use? These files are hugh (approx. 9GB). Is it possible to connect to those files directly without FTPing into another machines before sending into SQL? Any add...more >>

Copy DTS Pkg saved in SQL Server
Posted by Joseph at 7/1/2003 12:06:42 PM
I need to copy a rather complex DTS package from a Dev server to the production server. The package was saved in SQL Server. Is there a way to do this? -Joseph...more >>

How do I add three columns and data to a csv?
Posted by nmyerson NO[at]SPAM hotmail.com at 7/1/2003 11:15:59 AM
Hi, I'm trying to use DTS to solve the following mess: 1) I have 120 excel spreadsheets/day 2) I run 120 macros on these excel spreadsheets - the macro does the following: 1) Inserts three columns 2) Enters in data: server, date, time. These are all the same for a give...more >>

NT authentication logins vs. SQL server authentication
Posted by Helena Silva at 7/1/2003 9:37:44 AM
I use login authentication for all my DTS and job. But recently my jobs have failed because the domain that authenticates these logins are having trouble and that is out of my control. So, I'm thinking about changing the loging for the packages and jobs to a sql server login. Here is the q...more >>

Connecting to Oracle via DTS
Posted by Andy at 7/1/2003 9:28:44 AM
I am running some DTS tasks against an Oracle database and have some questions. I can establish my connection alight via OLE DB. When I query the Oracle database do I need to write the queries in T-SQL or PL/SQL? We are converting from SQL Server to Oracle and I have the queries going a...more >>

Restoring DTS Packages / Jobs
Posted by Jason at 7/1/2003 9:28:09 AM
Hello, our server crashed, we move to another server with the database.... how do I recreate the DTS Packages and Jobs. Where is the information stored, and how do I import it? ...more >>

Scheduling Package - Login Failed for User Null
Posted by george at 7/1/2003 7:38:04 AM
I'm stumped. I know this is probably something very simple but I just don't see it. (Running SQL 7 sp4 on W2K Server) For simplicity, I created a job with just a Microsoft OLE DB Provider for SQL Server (tried using both NT Auth and SQL Auth). I am able to Execute Package fine even thou...more >>


DevelopmentNow Blog