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 > september 2003

Filter by week: 1 2 3 4 5

DTS Import/Export Wizard Error: GoCreateInstance...
Posted by Jan Nielsen at 9/30/2003 10:30:36 PM
Hi I have a local computer with a MSDE and a SQL Server PE installed. They both have SP 3 installed. I would like to import an Access database to my MSDE (or the PE if MSDE import is impossible). I use SQL Server Enterprise Manager When I rightclick on a database and select All Tasks-->Import ...more >>

Import Human-Readable text file into SQL Server 2000
Posted by sstorhaug NO[at]SPAM webuniverse.net at 9/30/2003 10:03:01 PM
Hello, I am receiving a text file that is produced from a mainframe that is out of my control. I am attempting to find a (hopefully clean) way to import it into a SQL Server database in an automated fashion. I am not really concerned about how many tables it requires or what the schema look...more >>

can I minimize the execution time of DTS job?
Posted by Mr Developer at 9/30/2003 6:33:35 PM
using sql 2k! I run a DTS job every night to load a table called "MISC" that brings over 30 millions records in the database A in server A. The job is taking over 5 hours. The probelm is the # of records are keep increasing. I am trying to minimizing the total execution time. Is that all pos...more >>

Connections in DTS packages
Posted by Alex at 9/30/2003 4:15:53 PM
Hi, I need to change SA password programmatically for all of our SQL Servers and we think there are connections in some of our DTS packages that use SA as user name. If we change SA password, jobs that run these packages will fail. Is there any way that we find DTS packages with connections ...more >>

generate .txt file from a stored procedure
Posted by Sandra at 9/30/2003 3:31:58 PM
How do I generate a .txt file from a Stored Procedure. Something like this: select * from my_table into c:\temp\my_text_file.txt Thanks in advance for any help. Sandra...more >>

Slow Data Load
Posted by Abraham at 9/30/2003 1:19:33 PM
A daily export from an oracle instance has 360,000+ records in it - txt file ~ delimited. The data is loaded into a table (via DTS) that does NOT have straight column copies; some of the fields are using the activex to ensure length or other when it comes to zip or phone numbers. This is...more >>

char(0) is getting transformed to NULL in Oracle
Posted by Suresh at 9/30/2003 12:16:26 PM
Hi, I have a DTS package that exports SQL Server 2000 data into Oracle 9i database. The char(0) values from varchar columns are getting transformed as NULLs in the Oracle database. I have connected to the destination server using Oracle OLEDB provider. If someone have a resolution for th...more >>

Call "Execute SQL Task" from DDQ ActiveX
Posted by Bill at 9/30/2003 11:59:36 AM
Is there a way to call an "Execute SQL Task" from a Data Driven Query VB Transformation Script? Thanks ...more >>



How to change logical "And" relationship when Using Multiple Precedence Constra
Posted by Juan Cedeno at 9/30/2003 11:12:54 AM
Hi I have a dts with several steps, all of steps goes to "Error_Step" when fails, but this does not run because the logic precedence is and by default, I mean all steps must fails in order to run "Error_Step". Somebody kwnos how can I change the logic precedence in order to let dts run "...more >>

Scheduled DTS Package fails to execute WinZip.
Posted by Neal Boxrud at 9/30/2003 10:04:38 AM
Hi, I am having a problem scheduling a DTS package via SQL Server Agent. I have created a DTS package that has 1 task in it which runs a VB6 program that copies a file to a specified folder and then uses the Shell command to run wzunzip.exe to unzip the file. My problem is that the packag...more >>

Automatically delete oldest PackageLogs
Posted by Yelena at 9/30/2003 9:12:36 AM
I have a DTS package that executes every 10 min. How can I create automated way to remove oldest PackageLogs from SQL server? Thank you, Yelena ...more >>

Strange totals in SQL 7.0
Posted by ray_nl at 9/30/2003 1:27:11 AM
Hi, I've got a weird problem with SQL 7.0. I have to load several large textfiles into SQL 7.0. The files are 250 Megs +. I couldn't get the totals straight. If I summarize the CSV- files before I DTS the files to the SQL server I get a certain amount. If I then DTS the files to the SQL ...more >>

More information required on using the "?" in SQL Server
Posted by aeze616 NO[at]SPAM cse.unsw.edu.au at 9/30/2003 12:35:35 AM
Dear techs, Ive been trying to look through the help menu, but I don't seem to be able to find the stuff related to "?"...using the "?" as a variable. What is this method actually called? zeallous...more >>

Cancel DTS Schedule
Posted by Matthew at 9/30/2003 12:05:54 AM
I created a schedule for a DTS package (daily, every two hours). How do cancel the schedule. I now just want to go in and execute as needed....more >>

trigger syntax
Posted by Sandra at 9/29/2003 7:12:16 PM
I have an application that will be locked from time to time for data extraction, etc. So, I've created a table with only one column and one row to indicate when the application is locked (value 0) or unlocked(value 1). create table lock_tb ( col1 char(1) not null, default value 0) Now,...more >>

Searching tables after DTS-job is very slow
Posted by Tore Gylver at 9/29/2003 5:03:00 PM
I have a couple of read-only tables that are modified once per week by a DTS job. I delete all the records (delete <tablename>) and I use DTS datapump to read fresh data from external sources into the tables. Then I let DTS run several stored procedures to update the data. One table has 1,2 mill...more >>

IF then execution
Posted by gkurtas NO[at]SPAM Phillynews.com at 9/29/2003 4:59:00 PM
I need to execute a package based on the results of an if/then clause. I use an import step in my package and want to check the row count in the file. The file is a comma delimited file that we use to import. WE overwrite some existing sdata with the import each day. Normally ther are over 400,0...more >>

Query Optimization tool
Posted by Sahil Malik at 9/29/2003 2:51:38 PM
Hi Everyone, I'm new to the SQL Server world. I am looking for a tool similar to SQL navigator in Oracle, that will optimize Sql queries for me. Any suggestions? - SM ...more >>

DTS with Global Var problems in ASP
Posted by Gernot Saborowski at 9/29/2003 1:47:13 PM
Hi there, I try getting into the DTS secrets. After searching hours and finding very good stuff like www.sqldts.com which helped me a lot, I am getting into some problems. I have an ASP page with the lines ****************** ASP ****************** MyNumber = 388 Const DTSStepExecResul...more >>

Dinamic Properties
Posted by JFB at 9/29/2003 12:41:59 PM
Hi Folks, I have a challenge to perform using DTS. Every week I recieve a txt file with different structure, I need to import this file to sql, add some columns run couple store procedures and export the table in particular order using a query. I want to automate this process, how can I use din...more >>

time serial
Posted by john.ebbeng NO[at]SPAM nl.grouperci.com at 9/29/2003 11:12:46 AM
I have a text file with a date column (hh:mm). This column I want to import as a time field. I wrote this VB script: ***** Function Main() DTSDestination("time_demand") = timedem(DTSSource("Col001")) Main = DTSTransformStat_OK End Function Function timedem(Col023) TimeSerial( Leftl...more >>

Flat file
Posted by Sandra at 9/29/2003 10:50:37 AM
Can I delete a .txt file from the server using DTS? Can I append to a .txt file in the server using DTS? Thanks in advance for any help. Sandra...more >>

Updating the database structure
Posted by Zizo at 9/29/2003 9:12:16 AM
We have a large website of around 100,000 users. The site is in english. We are trying to 1 more language to the site, ie: users can browse the website either in English or Arabic. So, in our development enviroment (Our local mirror of the database which we work on), we added extra fields ...more >>

How to move a text file,with 3 unknown column widths, to a SQL2000 table
Posted by Kenneth Koski at 9/29/2003 8:25:19 AM
Hello All, I have a comma delimited text file, which I would like to move into a SQL 2000 table . I created a DTS package in SQL Server and saved it as a VB.bas . I am writting the code in C# and I though that I might be able to change a few lines and keep the bulk of the code. However , it se...more >>

Error Handling in DTS
Posted by harris NO[at]SPAM techlogix.com at 9/29/2003 4:01:40 AM
Hi I am trying to do some error handling in Sql Server DTS. The problem is if i try to insert lets say 10,000 rows in a table. And out of those rows only 1 row violates some constraint in the table. Then all the remaining rows will not be inserted in the table rather the step will fail. W...more >>

How to copy local dts packages from one db server to another?
Posted by News Groups at 9/28/2003 9:59:27 PM
Hello DTS Group, I love dts. but, how can I easily copy dts packages from on server to another? I tried using DTS Transformation and selecting the msdb database source, and destination (on a diff server), but non of the sys tables show up?? sysdtspackages is the table I would like to copy ov...more >>

Accessing DTS Step Description from a Child Package
Posted by Mohammad at 9/26/2003 4:43:16 PM
Hi everyone, How can one find a DTS step description from within a child package knowing the calling package's name and step name? Can the calling package object be accessed from the child package? Thank you in advance. ...more >>

EXCEPTION_ACCESS_VIOLATION
Posted by Daniel Manion at 9/26/2003 3:41:15 PM
Using SQL Standard or Developer 2000, version 8.00.818. Windows Adv Server 2000 sp4, current with windowsupdate. Intel (2) CPU 2.40GHz 523,764 RAM Mcafee virus scan 4.5 2nd": server with Intel (4) CPU 700Mhz 2gig RAM We are loading into a warehouse (no OLAP) several tables. We are runni...more >>

need help re: bulk transfer
Posted by Vimi at 9/26/2003 3:04:52 PM
I am trying to transfer a txt file into a new SQL table so that all of the columns in my file automatically populate into the SQL table...how do I do this without having to specify an existing table?...more >>

how to execute a package programatically
Posted by Derek Ruesch at 9/26/2003 2:57:12 PM
Is there a way to execute a DTS package through a stored procedure? Or is it possible to create a stored procedure that will execute a DTS Package? I would like to be able to execute a DTS Package from a website built in ColdFusion. I would greatly appreciate any help. Thanks. Derek...more >>

Object reference not set error when loading a package
Posted by Jim L at 9/26/2003 2:13:34 PM
I am attempting my first try at Executing a DTS Package from an aspx page. I get the error below when I try to load the package. I get the same error when loading from SQL server and from a storage file. It seems creating the DTS object goes OK - I just can't open a package. Is the error I sho...more >>

Queries to a Excel file LinkedServer fails
Posted by shija03 NO[at]SPAM hotmail.com at 9/26/2003 1:37:04 PM
When I link to an Excel file using a LinkServer, TESTXLS, I get the following error: Server: Msg 7356, Level 16, State 1, Line 1 OLE DB provider 'MSDASQL' supplied inconsistent metadata for a column. Metadata information was changed at execution time. The XLS file is as follows: col1, co...more >>

Excel LinkedServer generates metadata error
Posted by James at 9/26/2003 1:24:47 PM
I have created a linkedserver, TESTXLS, to an Excel file which carries the following data col1, col2, col3, col4, col5 1,2,3,4,aaa 2,2,2,4,bbb 3,2,1,3,ddd and when I try to query the file using the following syntax: select * from TESTXLS.[D:\mydocs\files\Issues\Book1].. [Sheet1$] ...more >>

Executing a Task from within a task
Posted by dan NO[at]SPAM ecuris.com at 9/26/2003 12:49:36 PM
Please help! I have a SQL DTS Package with two tasks. One is an Active X script which creates text files from several sql tables. The other is a Win 32 Process which takes the text file created and zips it up. The problem i am having is that I want to be able to call the second task after eac...more >>

DTS custom transformations in vb.net - is it possible?
Posted by Eddie Suey at 9/26/2003 12:43:00 PM
Where can I find resources on creating custom transformations in vb.net or c#? Is it possible to create custom transformation in vb.net or c#? ...more >>

DTS to copy network files
Posted by venu at 9/26/2003 10:07:14 AM
Can I use DTS to copy zip files from one network drive to another? I need to supply userid/pwd to host server all the time. ...more >>

How to detect if package running on client or server
Posted by Serge at 9/26/2003 9:41:45 AM
Is it possible to detect (from within a package) if it's running on a client or as a scheduled job on the server. Thanks Serge...more >>

Dynamic Properties Task not changing log server
Posted by andrew.robinson NO[at]SPAM fsa.gov.uk at 9/26/2003 9:15:09 AM
Hello, I have a number of DTS packages that pump data from a Staging area database to an Enterprise area database on the same server. I also need to move these packages from our Development Server (SQLDEV)to our Live server (SQLLIVE), so the first task within these packages is a Dynamic Prop...more >>

DTS Migrate just Stored Procs
Posted by Sean Marchiafava at 9/26/2003 8:09:14 AM
This is probably very simple but I can't seem to figure out what I'm doing wrong. I would like to transfer only stored procs from one server to another but DTS still migrates all objects even though I turn off the copy all objects option and select just the stored procs I want to migrate....more >>

Yet another COM based script failure
Posted by nojunk_fixitdik NO[at]SPAM hotmail.com at 9/26/2003 6:33:39 AM
Sorry to post another, but the solutions to everyone elses problems don't appear to be fixing mine: Have a very simple package with only one object, and ActiveX script. That script outputs a line to a text file then tries to open a COM object (of my own design), then outputs another debug lin...more >>

String being cut to 255 in length
Posted by Anthony at 9/26/2003 3:09:33 AM
Hi, I'm hoping someone could help me. I have a DTS package that exports data from a SQL Server into a CSV file. One of the fields that i'm exporting is a varchar(1500). What seems to be happening though is that when I populate the DTSDestination field, it cuts the string down to 255 ch...more >>

Passing Parameters
Posted by Raghuraja at 9/26/2003 1:47:29 AM
Hi All Please let me know how to pass parameter to DTS package when Execute DTS package from Front Ends like VC# or VB.NET. regards Raghu. ...more >>

DTS Package hangs while running Data Transformation task
Posted by Sam at 9/25/2003 10:57:26 PM
hello! Any idea? The problem: DTS package hangs while running data transformation task, which is based on SQL query. Noticed that if it is run based on table, there is no problem. Currently SQL server 2000 has SP 3a. Transformation takes place between Sybase - -> SQL Server Past experienc...more >>

Using adPersistXML in an ActiveX Script
Posted by Cube at 9/25/2003 6:08:05 PM
Hi all I am trying to convert a recordset to xml, but can not get the following lines of code to work in vbscript from within a dts package. I have tried them in an ActiveX Script Task (Language VBScript) and in a transformation in a Transform Data Task. When I try them in VB they work fine...more >>

VB calls DTS Package (source=textfile) and supplies it the filename
Posted by SWu at 9/25/2003 5:52:25 PM
Hi Could anyone tell me how you would get VB to call a DTS package (as DB object, not VB module or structured storage file) and pass it the filename of the text file to be used as the source? (The destination is a table that is known and never changes; only the source is dynamic.) Thanks i...more >>

Loading data from MS Access
Posted by Jim at 9/25/2003 5:14:06 PM
Can anyone offer any insight on an issue I am having. I have an Access database with three tables, each with 800,000 records in them. I am using a DTS Package to port them into SQL Server tables. The data load takes over an hour. This has become unacceptable. Any suggestions would be ...more >>

DTS Package fired from a trigger fails
Posted by Ron Lounsbury at 9/25/2003 3:36:04 PM
I am working on adding functionality to an application we have that is a SQL 2k back end with IIS 5.0 front end. I am adding the capability to transfer information using the MQSeries queueing software. To do this, I have written a DLL that is called from a DTS package which is in turn fired fro...more >>

DTS package backups ?
Posted by Vgs at 9/25/2003 3:00:20 PM
Hi, Is there any way to take backup of DTS packages ? Thanks, ...more >>

Run DTS Package via Web
Posted by Isaias Wesley Pimentel at 9/25/2003 11:28:56 AM
Hi guys, I need help about run DTS Package via Web. I´m create a simple package to Drop a Database just to test. But this package fail when I call in browser IE 6 SP1. I using ASP code not ASP.NET. See attached. Could you help me? ...more >>

could be able export plain files (txt) to Dbf files with out truncate problems?
Posted by SnyderÄ at 9/25/2003 11:20:20 AM
hi..all The problem is tryin' to export txt divided by rows, where my inf. are there (in the rows), sql needs another data type more powerpuff (char(7000)), oh come'n! sql broke the field and continue in the next row (lookin' this up n' down)...really is the worst road using (windows ansi...more >>


DevelopmentNow Blog