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 15 - 21, 2004

Filter by week: 1 2 3 4 5

DSN vs Dynamic Properties Task
Posted by Rangarajan Suresh at 12/21/2004 6:17:02 PM
Problem at hand: Moving / Migrating jobs from development to test to production. Current situation: SQL servers are instances in many cases and not necessarily "local". A "common" SQL database is used to store connection information that is read using dynamic properties task to modify the S...more >>


syntax error or access violation in DTS Execute SQL Task
Posted by Delphine at 12/21/2004 4:31:02 PM
I needed to run a conditional SQL that include a value from a global variable set prior to the task. For some reason, the conditional (IF) and the global variable couldn't work together. One or the other by itself is OK. Below are the SQL I am using: Case 1 works (with IF): IF ((SELECT ...more >>

Excel - named ranges
Posted by MS User at 12/21/2004 10:11:35 AM
SQL 2K - DTS I got a packge to load from Excel sheet to database table. This Excel file got many sheets and I have to just read from one of the sheet BUT it is hidden. Any links or tips for a VB script to create a name range for one of the sheet. Thanks Jeff ...more >>

dtsrun in sql server 7.0 reports success even though task fails
Posted by Jo at 12/21/2004 9:21:01 AM
There is a sql task in a dts package that runs a stored procedure which fails on a primary key constraint while inserting a duplicate row. If the package is run from the dts designer, it reports an error and follows the 'on failure' path. If the package is run with the dtsrun command fro...more >>

DTS question-- overwriting existing records, keeping new ones
Posted by Jim Bancroft at 12/21/2004 9:04:14 AM
I'm fairly sure this question falls in the "DTS 101" category, so forgive me if it's as basic as they come....I have a source and destination table, each with the same schema. I'd like to copy the contents of the source into the destination, overwriting those destination records with matchi...more >>

Scheduling Problem - Duplicate Attachments
Posted by Leslie at 12/21/2004 8:37:07 AM
I have a nice DTS extract from SQL to Excel setup where I pull the data and load into a spreadsheet. I then have a SendMailTask which mails the result set in Excel to a maillist. My Problem: Somehow, in setting schedules I get duplicates of the Excel file attached in the e-mail. I've act...more >>

Isolating a DTS package
Posted by shop NO[at]SPAM pacifictabla.com at 12/21/2004 2:55:07 AM
Hello: Simple question from a relative DTS newbie. When a DTS package is running, I want to make sure that the only thing that can update the tables is the package, and that the package cannot be run by anyone else while that instance of the package is running. What is the best setting for t...more >>

DTS, ActiveX and Global Variables in SQL 2005
Posted by rrgoudie NO[at]SPAM earthlink.net at 12/20/2004 4:31:30 PM
This is from a Microsoft FAQ from July: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsql90/html/dtsfss05df.asp [CLIP] Q. Why Aren't Global Variables Available in the ActiveX Script Task? A. Access to global variables is not supported in Beta 2. Are Global Variables g...more >>



Properties dialog on Transform Data Task from Oracle hangs
Posted by Nils Magnus Englund at 12/20/2004 12:50:35 PM
Hi! Whenever I create a transform data task which transforms data to and/or from an Oracle database, it takes a very long time for the properties dialog to appear when I right-click and select properties on the task - ranging from 15 to 40 minutes. Any ideas what this could be? It naturally...more >>

Converting a date string to a date field
Posted by Cazian at 12/20/2004 11:43:10 AM
I have a txt file that contains the date in a string format. I import this in directly and it comes up a vchar instead of a date field. I need to convert it to a date so I can do an index on it. I don't know if it is possible to do in the DTS or if I should leave it how it is and then use a co...more >>

DTS Ownership
Posted by LeAnn at 12/20/2004 10:33:03 AM
We have several jobs that run DTS packages. Yesterday our IT department changed all users network IDs. The owner of the jobs was able to change the ownership of the jobs to his new ID but it doesn't look like he did on the DTS packages. All of the jobs failed because of this. Is there a...more >>

Setting Table dynamically
Posted by shop NO[at]SPAM pacifictabla.com at 12/20/2004 7:15:11 AM
Hi: I have a DTS package that first brings in data from another database into SQL Server. In the source database, the database tables are like this: TableName20041014 for example. At any one time, 10 of these tables are in the source database, every day the oldest one is deleted, i.e.: ...more >>

DTS advice
Posted by m.vyse NO[at]SPAM ntlworld.com at 12/20/2004 3:09:03 AM
Hi All I wonder if you could give some help and advice on the best way of going about the following. I want to transform and copy/import most of the data from an existing database to an new database on a regular basis(on the same SQL 2000 server). I have experimented and successfully se...more >>

Creating Cubes in DTS
Posted by dazzledare at 12/19/2004 10:31:01 PM
Hi gurus, I am fairly new to DTS and the world of SQL 2000. My requirement is to be able to create cubes from DTS. I am able to process the ones I have created manually in Analysis Services, but now I need my DTs package to create the Cubes dynamically. Any help would be very helpful. Th...more >>

DTS and VB
Posted by DavidM at 12/18/2004 5:58:03 PM
Anyone here use DTS and VB6? What are the advantages? I tried executing a DTS package I have installed locally on a SQL Server from my workstation that included an FTP. It would appear the DTS package runs within my workstation instead of executing on the server. I'm not sure if this i...more >>

Active X Timeout error
Posted by Rob C at 12/18/2004 4:20:08 PM
I am experiencing a random VBScript related error.... While looping thru about 80,000 rows of data (where I am creating an xml files and running an Update SQL statement that updates the row for the one I just created), I am getting a Timeout error message related to the Update statement. ...more >>

How to obtain "data source" from within ActiveX/VB?
Posted by Snake at 12/17/2004 1:37:02 PM
I have an activex object in a DTS package which contains hard-coded info that really should be dynamic. There is an OLE DB Property called "Data Source" from the UDL file that appears to contain the value I want. Is there a way to obtain that value? ( I am new to DTs and do not know the righ...more >>

Server User xxx is not a valid user in database yyy Copying Object
Posted by Jeremy at 12/17/2004 12:05:03 PM
I have created a DTS Package with a Copy Objects step. This copy objects step copies some tables, their indexes, and data to a server that is housed at an ISP. The account that I log in with on the external server is a dbo for the database I'm targeting, but my permissions are limited to tha...more >>

XML Load
Posted by mvp at 12/17/2004 7:33:03 AM
How to load XML File into sql server db through DTS ? Pls let me know. Thanks...more >>

Error in executing DTS from ASP page
Posted by Mamatha MD via SQLMonster.com at 12/17/2004 7:14:15 AM
Hi, I have to execute the DTS package from ASP file. But the following line throws error Set oPkg = Server.CreateObject("DTS.Package") Error type: Server object, ASP 0177 (0x800401F3) Invalid ProgID. Does anybody know the solution? Thanks, Mamatha -- Message posted via http://w...more >>

# of fixed fields limit?
Posted by webguy at 12/17/2004 5:50:44 AM
Is there a # of fixed fields columns limit on a text file source in a DTS package? I have a file that has around 200 fixed fields? I even question whether or not I can create a SQL table with 200 columns? ...more >>

Results from Stored Procedure to txt file?
Posted by Elizabeta at 12/16/2004 10:57:01 PM
Anybody can give me a directions how to get the results form a stored procedure (all SELECT it is a report thing) and put it in txt file and send in a email ... TIA...more >>

DTS - Excel file path from a table
Posted by MS User at 12/16/2004 3:13:50 PM
SQL 2000 I got a table with file names and path for the Excel files to be loaded into a sql table. My plan is to use DTS and global variable to assign the path and file name and use that as the source for the data-pump. Any thoughts or sample code to achieve this ?? Thanks In Advance ...more >>

Steps did not run
Posted by Ilya Margolin at 12/16/2004 12:25:00 PM
Hi There, We have a package in production that has not been changed in awhile. It = runs every day on a scheduler off hours. It run when there is no other = interference on the server. This package at one day did not run three = subsequent steps out of many it was supposed to run. The DTS log ...more >>

Save DTS package: Metadata Services button disabled
Posted by dj at 12/16/2004 11:51:01 AM
I'm trying to save a basic DTS package, but for some reason the radio button for SQL Server Metadata Services is greyed out (disabled) and I don't know why. I'm running SS2K (sp3a) on W2K (sp4). I've never seen this before. The three other options are available as usual. Anyone know why this...more >>

Numerous Numeric Fields to 1 Numeric Field in New Table
Posted by Joe at 12/16/2004 10:35:01 AM
Are there any routines out there that will automatically convert a table (A) with numerous numeric fields to a new table (B) with just one numeric field. Thus the number of records in the table (B) would be the number or records in A mutliplied by the number of numeric fields. Thanks in advan...more >>

How do I distribute DTS Packages with my Application Database?
Posted by Joseph Geretz at 12/16/2004 10:20:06 AM
We have a software application which runs on a SQL Server database. We distribute our blank database as a SQL Server Backup file, but how do I distribute my DTS Packages? Thanks for your advice, - Joe Geretz - ...more >>

import html file error
Posted by ChrisR at 12/16/2004 9:55:05 AM
Im trying to import an html file using dts. When I click on the file when using dts designer, I get the message: External table is not in the expected format. Any ideas? -- SQL2K SP3 TIA, ChrisR ...more >>

Problems changing dts packages.
Posted by MariaGuzman at 12/16/2004 8:44:46 AM
Hi, we have a user that create some dts packages. He is the owner of the pachages. He try to do some changes after saving them, but when try to save the changes a message is displayed: Onlye members of the sysadmin server role can change the dts or the owner. He is the owner, but he canno´t...more >>

parsing txt file
Posted by FRED at 12/16/2004 8:27:02 AM
I created a DTS from a txt file and I transform the file to skip some row with condition. The txt file is in fact a report that has header, detail and footer and I'm importing only the detail part of the report but would like to have part (the BRANCH number) of the header as a field. Here's th...more >>

Import Excel sheets Problem
Posted by joia at 12/16/2004 6:57:06 AM
I read an Excel file which has a char column header, then an empty row and then numeric entries. Doing this, I get the Char column header as my column name in SQL Server, but I can never get the char column header as an entry in my database, even not when inserting a row above it. Any ideas ? ...more >>

DTS Import - Table Trigger
Posted by aplatfl at 12/16/2004 6:10:19 AM
Hi, I have a (for insert, update) trigger on a table that get loaded with data through a dts package. The trigger calculates two fields together to update another field (checks and balances). When I update one record the trigger works but when the data gets inserted through the dts packag...more >>

shared functions in a package?
Posted by vsiat at 12/16/2004 1:57:06 AM
Is it possible to use shared (public) ActiveX script functions inside a DTS package, that will be placed in a sigle code block and called from various transformation tasks instead of being replicated in each of them ?...more >>

Referencing objects on linked server
Posted by ScubaD at 12/16/2004 12:15:01 AM
Hi, I have many dts packages that references a db on a linked server. I often use the db on the linked server as a source for fetching data. When I do this I must use the four part naming method, specifying server, db, owner and object (table). The problem is that I am now in the develop...more >>

Executing a DTS on SQL7 - called from SQL2000
Posted by Beema at 12/15/2004 4:15:46 PM
This is a little convaluted, but here goes.... SQL 7 machine ------------- I have a stored procedure on the SQL7 machine which: 1. truncates 5 import tables 2. deletes previous copies of 5 csv files, called via xp_cmdshell 3. unzips a .zip file using Winzip command line, called v...more >>

Identity OR Firewall???
Posted by Sandeep at 12/15/2004 3:50:01 PM
All, First let me explain My Application's deployment scenerio. My Application server is on win2003 + IIS6.0. I created a local user called XYZ on the server. My web application's pool run under this user's identity. The DB machine (SQL Server 2000)on which the DTS is present is...more >>

execute DTS from ASP page
Posted by Brian Wagerer at 12/15/2004 3:14:27 PM
I have created a DTS package with 3 steps. When I execute the package from within Enterprise Manager the package executes successfully. However when i run the package from within the asp page I get an error on the 3rd and final step. Executing shipTableTitles from sqlServer1 Step [DTSStep_...more >>

DataPump
Posted by Sreenath at 12/15/2004 2:03:04 PM
hi, I have a problem with DataPump in recognizing the row length in a text file. I have a flat file with varibale row lengths. The first row is around 30 characters ends with null and the next couple of rows with 70 characters ends with null. The DTS is picking up only 30 characters from a...more >>

DTS Package File Limit...
Posted by John Hilton at 12/15/2004 12:52:45 PM
I am using Text File(Source) object to read the data from a flat file. Is there any file size limit to read the data from an ASCII file? I am trying to read the data from 700+ MB file and when the file format is fixed field, I am not seeing the data in the editor to map. I am presuming that th...more >>

Transform error when using .dbf dsn(dbase IV)
Posted by Jim at 12/15/2004 10:57:02 AM
I'm trying to pull data from a dbIV database(Goldmine 6.5) using the dbIV driver that comes with DTS. 'Microsoft JET Database Engine: "Index not found"' What is required to fix this problem? ...more >>

Return Code from Execute Process Task
Posted by Magnus at 12/15/2004 10:45:57 AM
Hi I have created a DTS package. I one of the steps I execute a exe.application that if I want to return a value if it was successful or not. In execute process task a can set a return code for success. But what if a want to return a failure code an continue the dts package? How do I do ...more >>

DTS Variables
Posted by Bish at 12/15/2004 10:31:02 AM
I need to create a DTS Package accessed through ASP. I currently do this through VB and this interface allows the users to select a file through a windows scripting host dialog. The package was created in SQL enterprise manager and saved as a VB file after which the source file path was chan...more >>

Upsizing from access: a couple questions
Posted by bidllc at 12/15/2004 9:37:03 AM
I am upsizing an access DB to SQL Server. I'v had trouble running the upsizing wizard, so I imported both the data and schema via DTS. ALl the data and schema imported just fine. The field types were on target for the most part. My biggest concern is the relationships which din't make it as...more >>

DTS Import skips the last record
Posted by John Jayaseelan at 12/15/2004 9:27:14 AM
Hi, The DTS transformation of a text data file onto a table always skips the last record. But the last record seems to have the LF similar to the other records. Are there any reasons it might do so? Thanks, John Jayaseelan *** Sent via Developersdex http://www.developersdex.com ...more >>

No Tasks in the DTS Task menu option or tool bar
Posted by gslagel at 12/15/2004 8:29:05 AM
I am unable to add a transform task to my DTS packages. Recently I started to get an 'access denied' popup window the first time I opened my packages. The package goes ahead and opens and looks ok and I can run it but I can't add a new transform task. My method is to add the two connections...more >>

same Filename + path
Posted by stefanljungstedt NO[at]SPAM hotmail.com at 12/15/2004 8:23:28 AM
I have created a DTSpacket how takes a Excelfile and insert to a sqlserver table.The Excelfile then moves to another path. It works okey but I have a problem when I place two files in the same path because the file has the same name. Is there some way I can makes it work?? I get the files from m...more >>

Schema changes - Identify affected packages
Posted by Urquell at 12/15/2004 8:17:08 AM
Hi I'm trying to figure out the best way to identify which packages are affected by changes in either the source or target databases. These are my findings sofar: 1) Rely on accurate design documentation for the DTS packages to find affected packages. 2) Store the packages in Meta Data S...more >>

Sending 'print' output to dts log
Posted by aaronaw2k at 12/15/2004 3:37:37 AM
Hi. I have a dts package that is saved as a structured storage file. The package is executed via dtsrun and the logging is sent to a log file. In my package are several SQL tasks. How could i send my SQL print output to the dts log file? Much thanks!! Aaron ...more >>

DTS from Excel with empty cell
Posted by oriki9999 at 12/15/2004 12:04:38 AM
I have currently trying to import an excel spreadsheet with named cells to SQL thr DTS.. My problem is that how to I skip those cell that are empty in the spreadsheet using DTS activeX? This is what I tried? (I have tried checking for isNull) Function Main() 'Check for not Null ...more >>


DevelopmentNow Blog