all groups > sql server dts > september 2004 > threads for september 22 - 28, 2004
Filter by week: 1 2 3 4 5
SQL join help ---
Posted by baaul at 9/28/2004 6:05:03 PM
*Please see the middle of the query for the question. I need to join in the
--middle. I was wondering if I could do this with a where clause. Thanks!!
/************************************************** ****************
*
* TRANSFORMATION 1A
* Description: This Transformation will be ran f... more >>
Error Handling
Posted by MS User at 9/28/2004 5:26:44 PM
SQL 2K
Please provide any thoughts on handling DTS error while called from a SQL
job.
My SQL Job starts a DTS using dtsrun utility and when the DTS fails, I don't
have much details.
If I setup in DTS , Property -> Logging -> Error handling , will I get all
the detailed error information... more >>
DTS pkg only runs once in my app?
Posted by Ron at 9/28/2004 4:20:04 PM
Hello again,
So, in my vb.net app I run a DTS package from a button.
No problem the first time. But if I click the same button
to run the same package, I get an error message that a
connection already exists. So I added an If statement
with a static integer var.
If var < 1 then
g... more >>
DTS package through xp_cmdshell - dtsrun
Posted by George H. at 9/28/2004 1:41:38 PM
Hi,
I have mmoved a DTS package from one server to another
and am having errors executing it va a web app. It runs
fine when executed manually. It is executed through java
by issuing an xp_cmdshell which in turn executes a dtsrun
for the package. The java user has datareader/datawriter
to... more >>
import data to table with Identity column?
Posted by Ron at 9/28/2004 10:51:36 AM
Hello,
I tried running DTS to import data from a text file to a
Sql Server 2000 table which contains an Identity column
(autonumber column). I got an error that the Identity
column cannot be null. I used to be able to import this
file before I added the Identity column. Is there a way ... more >>
DTS class not defined
Posted by GP at 9/28/2004 9:51:59 AM
After installing XP Pro SP2 my DTS connections give me an
error "Class not defined". All my connections that
normally appear when trying to create a new DTS Package
are not available.
The DTS packages execute but I cannot edit nor create any
new packages.... more >>
WHAT PROCEDURE/VIEW IS DTS USING FOR IMPORTING FLAT FILE
Posted by minimotorsport at 9/28/2004 9:19:02 AM
Does anybody know what what SQL logic ist DTS using when getting data from
FLAT FILE WITH WHITESPACE as a colum identifier ?
What sp / view or whatever is used ?
Michael ... more >>
FTP Task
Posted by ReportFAQGuy at 9/28/2004 7:29:05 AM
Hi
I DTS, in an FTP task can you access a secure ftp server....if so how do you
do it....
eg I have a site like xx.xx.xx.xx on port xxxx with a specific username and
password.
How do you specify the port. I tried ftp://xx.xx.xx.xx:xxxx but it didn't
work.
Even ftps://xx.xx.xx.xx:xxxx didn... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Error calling OpenRowset on the provider
Posted by prollo NO[at]SPAM libero.it at 9/28/2004 6:12:36 AM
Hi,
i try to import foxpro (.dbf) table with DTS of Ms SQL, but i have
this error messagge "ONLY FOR SAME TABLE NOT TO ALL":
Error calling OpenRowset on the provider
I use Dirver for Microsfot Foxpro
Why?
Rgds
Luca... more >>
DTS API
Posted by ezelasky NO[at]SPAM hotmail.com at 9/28/2004 6:00:24 AM
Two questions:
1) What API does DTS use to access the database, OLE DB?
2) Using the DTS APIs....can I export a SQL table to FoxPro? to DBase?... more >>
.ini file size limitations in Dynamic Properties Task
Posted by shuklaankur NO[at]SPAM hotmail.com at 9/27/2004 11:28:25 PM
Hello,
We have a series of related DTS packages and We want to use
one .ini file to drive all the Dynamic Property tasks for
all of them.
Once We get to approx. 6KB in the .ini file, We seem to hit a
size limitation. The Section drop-down list in the
Add/Edit Assignment dialog box trunca... more >>
Execute DTS in VB.net program
Posted by bill at 9/27/2004 9:14:59 PM
Hi All,
How can I execute the dtsrun command in the vb.net program?
Please advise.
... more >>
Create package in place of script
Posted by Aaron Prohaska at 9/27/2004 3:55:57 PM
Can anyone give me some direction in how to make a package to do what
this script is doing? I have been checking the dts related web sites and
groups and haven't found what I need to understand how to do this.
BEGIN TRANSACTION
DECLARE
@ULogin varchar(50),
@UPassword varchar(50),
@UFirs... more >>
populate info into one file
Posted by sonal at 9/27/2004 3:27:04 PM
I have sp that I have written that gets info from a table. but it the text
file
I need header and results set. For ex.in the sp looks like this
create proc info
as
declare @count int
set @count = (select count(*) from info)
select getdate()
select * from info
select 'total count '+co... more >>
Workflow Failure Problems
Posted by quinten.miller NO[at]SPAM mcri.edu.au at 9/27/2004 2:45:58 PM
Hi All
When a number of my tasks fail I would like to send an email. I have
set up a send mail task (that works fine) and I have setup a workflow
of on fail got to my send mail task.
My problem is that the package bombs out at the first sign of an
error. The first place I looked was the pac... more >>
VB.NET and EXCEPTION_ACCESS_VIOLATION
Posted by Proc at 9/27/2004 1:46:49 PM
I have a package built in VB.NET being run from an ASP.NET webpage.
It is pulling large amounts of data from SQL Server into an Access
database for download by the user.
I have two Web servers running this package and only one of them is
getting the following error, while the other Web server ... more >>
Insert records througth ActiveX Script
Posted by Ed at 9/27/2004 11:29:06 AM
hi,
I am wondering if I can create a recordset in ActiveX Script and then
Insert/Update data.
e.g.
Dim rst
set rst = OpenRecordset("TableName")
Do until rst.eof
xx
xxx
rst.update
loop
the above statement work in vb/vba
does it work in DTS, too?
Thanks
Ed... more >>
Invalid Task Result Value Urgent!!
Posted by Ed at 9/27/2004 10:19:04 AM
Hi,
I have a ActiveX task that shows the error message as "invalid Task Result
Value"
But it used to be working fine.
anyone have the same expenerice?
Thanks
Ed... more >>
DTS from C#
Posted by kppublic NO[at]SPAM netcomuk.co.uk at 9/27/2004 9:08:29 AM
Hi,
I have cruised the archives but I can't find anyone with a problem
enough like mine to help me out.
I have a DTS package that works perfectly fine from within Enterprise
manager. I can use DTSRun from the command line too, and it works
perfectly. It has an ExecuteSQL task to clear a tab... more >>
Tricky DTS problem (Novell and Microsoft Meet)
Posted by jpmcginty NO[at]SPAM talk21.com at 9/27/2004 9:05:17 AM
Hi folks,
I've had a look around and couldn't see a similar problem so thought
you'd like a challenge (although this may be quiet easy)
Scenario:
Novell NDS directory showing the computers on the network and the
users logged into them.
Connect to this 'database' source with ODBC provid... more >>
DTS Owner Password
Posted by Nancy Kafer at 9/27/2004 9:02:53 AM
I have a user who created a DTS package with an owner password. Now they
can't remember the password. Is there a way to retrieve the password or
better yet is there a way to change the password then remove it?
Thanks for any help.
Nancy
... more >>
Error while trying to open/create a DTS - urgent
Posted by Learner at 9/26/2004 9:39:18 PM
Hi,
I have MSDE SP3 installed and the only thing that I have changed
recently is my Windows login Password.
In the Enterprise Manager the SQL server is registered using mixed
authentication.
When I try to open any DTS in Design mode, I get an error dialog with
the title 'DTS Design e... more >>
How can I change the connection information of a large number of DTS packages?
Posted by ajayz90 NO[at]SPAM hotmail.com at 9/26/2004 8:09:40 AM
I want to change the connection information of a large number of dts
packages when migrating from development to producton.....
How can I do so?
Thanks in advance...
Ajay... more >>
execute sql task / stored procedure
Posted by Michael Vardinghus at 9/25/2004 5:16:11 PM
is there some performance considerations when
using execute sql task - is it better to use a large
stored procedure compared to 10-15 execute
sql task.
michael
... more >>
Importing and converting packed decimal to unpacked decimal
Posted by Mike Vanecek at 9/25/2004 4:32:08 PM
I have some data that I would like to use DTS to import to a MS SQL Server
table. Two of the fields contain packed-decimal data. Does an easy way exist
to transform the fields into unpacked (signed) decimal during the import? Can
anyone please point me to some documentation that would give some i... more >>
ETL load getdate()
Posted by baaul at 9/25/2004 1:59:04 PM
I need any script suggestion to use in my stored_procedure_load. Looking to
load only the new data into staging tables since last_load_date.
I wish to enter the last_load_date information into a table on each
succesful load...and use the last_load_date info. in my query.
eg.
SELECT a,b,... more >>
ETL load
Posted by baaul at 9/25/2004 1:49:05 PM
I need to do ETL/ data movement. The databases are located in two servers.
(e.g: Server_1 : 2 databases, Server_2 : 1 databases)
I am using stored procedures for ETL loads into staging tables. How do I
establish connection to different SERVERS using from my stored procedure.
can any body... more >>
Executing an SP from inside a SCRIPT
Posted by George Morton at 9/24/2004 6:39:13 PM
I'd like to get a string stored in a SQL table directly into an ActiveX
Script. (More specifically, I am retrieving the name of a file which was the
last one processed. The log of files processed is already in a SQL table.
The table would be used to determine if the file has already been
process... more >>
DTS Corruption if it was generated from a script
Posted by Hugues Bellerive at 9/24/2004 12:53:05 PM
During the installation of our product, three things occur:
1- We install a version of embedded SQL Server;
2- We create our databases;
3- We generate a DTS package from a VbScript.
This later step is the problem: on VbScript-generated DTS packages, the
simple action of subsequently adding a... more >>
reference to DTS APIs (besides SQL online books & VB code)
Posted by ezelasky NO[at]SPAM hotmail.com at 9/24/2004 12:20:53 PM
Is there a good reference to the DTS APIs besides the online books and
the VB generated code in the wizard? I think I am going to be asked
to write a few generic tools here for our group using the DTS APIs in
a C++ application.
Thanks.... more >>
Saving a file on remote server
Posted by csanborn at 9/24/2004 12:15:07 PM
Hi All,
I have a DTS package that queries a table and generates an Excel file. The
excel file is saved on a remote file server. When I execute the package it
runs fine and saves the file in the correct location. However when I
schedule the package it fails. The error log states that Jet... more >>
Conditionally executing DTS tasks?
Posted by Jens Weiermann at 9/24/2004 10:08:07 AM
Hi group,
I need to skip certain tasks in a DTS package based on some condition (the
presence of certain rows in a database table). What would be the easiest
way to achieve this?
I'm not very familiar with VBScript, so I'd prefer a solution without
that...
Thanks in advance!
Jens... more >>
manual execute vs. dtsrun
Posted by mw243270 NO[at]SPAM yahoo.com at 9/24/2004 8:57:49 AM
Can anyone tell me the difference between "execute" on a package
versus "dtsrun" command line?
I have a package that runs fine by right clicking and "execute", when
I run from the command line with "dtsrun" it errors out with the
following. This is definitely not a permsissions problem, as I ... more >>
import to excel with DTS
Posted by PaM at 9/24/2004 8:52:12 AM
I know I have touched on this before, is it possible to
import records using DTS from the sequel server that will
bring the table into excel and when we run this each night
it will replace the old spreadsheet with the new one. I
cannot seem to make it replace a spreadsheet and this is
wha... more >>
Duplicate connections when using LoadFromSQLServer and SaveToSQLSe
Posted by gborda at 9/24/2004 7:55:05 AM
Hello:
I am working on a VB.NET program that allows me to copy whatever DTS package
or packages from one server to another. I am using the following lines of
code to do the actual copying:
For Each strPackageName In arrPackageList
objDTSPackage = New DTS.Package2
'Copy DTS package fro... more >>
merging datasets
Posted by Rick Young at 9/24/2004 7:37:07 AM
I need to merge a table in an Access database with an
existing table in our SQL Server 2000 database. The
structure of the tables is the same. I found that the SQL
Server table didn't have an index defined, so I created a
primary index on the SQL Server table which matches the
primary in... more >>
Scheduled package misses executing some tasks
Posted by hubristicbob at 9/24/2004 6:23:14 AM
Hi,
just wondering whether anyone has had this experience as well and if so how
they've fixed it. It appears that a particular DTS package, scheduled as a
job refuses to run an 'Execute Package' task.
When the package is run in the context of the DTS designer it's fine - as
soon as it r... more >>
import to Excel using DTS
Posted by Pam at 9/24/2004 5:40:43 AM
Message that Allan Mitchell sent: my message below.
Question will this allow the new records only each time we
run it at night, that is what I want, new records added to
existing.
You will need to be able to identify these new rows.
I presume you can do that with the key values.
What abou... more >>
Newbie need help with DTS, null value error.
Posted by Temjin at 9/24/2004 3:45:13 AM
Hey all,
I'm currently using a shopping cart software called .netCart, which is in
ASP.NET and VB. I have been trying to import my local "fully working"
database to my remote server, but then the exported remote database is not
working with the software. Unfortunately, I have no prior exper... more >>
Cannot import data from Access 2000 database too SQL server 2000
Posted by Henning at 9/24/2004 1:57:04 AM
Hi!
If I try to import a table in sql server 2000 sp3 enterprise manager,
choosing my access 2000 database as source and my sql server as destination,
when I hit Next, EM just goes down. In the Eventviewer Application log i can
see this:
Faulting application mmc.exe, version 5.2.3790.0, fa... more >>
Exporting to .csv file using DTS Designer
Posted by Paulo at 9/24/2004 1:57:02 AM
Hi,
I'm currently trying to get a DTS to export the results of a SQL query to a
..csv file.
It used to be really easy to do in SQL7 - set up a connection, set up the
destination file, set up the transform data task, set the source to a SQl
query and when you clicked on destination, you... more >>
Datapump error
Posted by Henning at 9/24/2004 1:29:04 AM
Hi!
I have a problem regarding a DTS package. The package is residing on a
machine that will be formated in near future. On that machine I have a simple
DTS package that was created when choosing an "import data" from an access
2000 database too a sql server 2000 sp3. It simply deletes from... more >>
ASP.NET, C# and DTS newbie question
Posted by Guy Dillen at 9/23/2004 11:31:19 PM
based on the exaple of theCookbook for using SQL Server DTS with .NET i
tried the example with ASP.NET. But this doens't seem to work? If thta's
right, why is that?
With a console app or winform app the same DTS app works fine.
Guy
... more >>
Bulk Insert Doesn't recognise double quotes
Posted by Mark at 9/23/2004 9:17:01 PM
Hi
I use bulk insert to load data from a csv file to sql server db. The
character data in the file is surrounded with quotes. In the bulk task I
have given the duoble quotes as the Text Qualifier. But when the data is
loaded it loads with the double quotes.
Any suggestion as to why its h... more >>
Error handling in DataPump
Posted by George Morton at 9/23/2004 6:09:39 PM
I have a problem with a duplicate key. The input to the datapump is a large
txt file, the output is a SQL table with primary keys defined. I'd like to
simply drop any rows which are duplicated on the input (i.e. I'll take the
first input, and discard any duplicates). I'm aware that the SQL table ... more >>
How do I execute a single task in a DTS package?
Posted by Wikus Schalkwyk at 9/23/2004 5:42:23 PM
If I were to create a codebase / library of "functions",
such as error logging "protocols" / "frameworks" or
data handling routines in a single package, but as seperate tasks or steps.
How can I execute just one task in an extrernal DTS package?
I tried PackageObject.Tasks("Task1").Execute, ... more >>
Rows not transferring
Posted by lennymm0 at 9/23/2004 2:50:12 PM
I'm using xp_cmdshell/dtsrun to execute a package that (sequentially)
modifies data in one SQL Server database, transfers rows to a second SQL
Server database, and modifies data again in the first database. When it
successfully completes, all data modifications are made to the first
database, bu... more >>
Change Server Alias Client Network Utility
Posted by Mark P. at 9/23/2004 2:18:32 PM
What would cause a DTS package when executed to change a
SQL Server Alias from NamedPipes to TCP/IP?
Thanks,
Mark P.... more >>
sp_who2
Posted by Robert at 9/23/2004 1:53:20 PM
When I run sp_who2 I am seeing about a dozen spid's using
the sa login running in the background and the command is
Task Manager. Does anyone know why this is and would it
hurt to kill those spid's? The lastbatch date for each
spid is over 1 month old.... more >>
importing using DTS
Posted by Pam at 9/23/2004 12:18:34 PM
I currently run a DTS packages to import data from an SQL
server into an excel worksheet. It is set up to run the
data every night, but the problem I'm having is that it is
importing the entire table each time it runs and I only
want new records. Please advise.... more >>
Simple transformation failing
Posted by Buddy Ackerman at 9/23/2004 11:29:18 AM
I don't do much DTS but his should be real simple. I'm using the data import wizard to import an
Excel spreadsheet into a table. I need to concatinate the first and last name fields in the source
into the NAME field in the destination. So, chose to use an ActiveX script transformation and her... more >>
ActiveX Script Problem in DTS for Calling Store Proc with Paramete
Posted by Kris at 9/23/2004 10:43:06 AM
Hi,
In my DTS, I am using ActiveX Script to call SP. The reason I am using
ActiveX to call SP is I have to porcess many XML and load into SQL Server.
Here is my probelm
My Connection to SQL is works fine using ADODB, When I try to
call SP using Paramters that I am having problem. With ou... more >>
Anyone know anything about Cougar Mountain accounting software?
Posted by Dave at 9/23/2004 10:35:01 AM
I need to bring customer and order information into SQL Server from a Cougar
Mountain accounting application. At present I am not even sure what version
of Cougar Mountain is being used.
Has anyone worked with Cougar Mountain?
Does anyone know what type of database this application uses?
... more >>
xp_sendmail attachment question
Posted by martino at 9/23/2004 10:13:22 AM
Hello there
I am trying to run xp_sendmail with an attachment.
I have two attachments file1.txt and file2.txt, but I'd
like implement in the xp_sendmail a condition where if
file1.txt does not exist still attaches file2.txt and send
the email
Here is the sql i wrote so far, and is not q... more >>
dts imports , records added to table randomly. not sorted as in text file
Posted by robert_emoghene NO[at]SPAM hotmail.com at 9/23/2004 8:50:37 AM
I am looking to import 7million rows worth of data from a flat text
file. all the rows seem to be copied over but they are not arranged
like they are in the flat file. each row in the text file is a record
and there are no column delimiters. hence the table should have only
on column. also note... more >>
DTS and C#
Posted by Stanley.C at 9/23/2004 8:33:04 AM
I'm not sure if this belongs in this thread but it's related to DTS.
During the execution process of the DTS Package, I sometimes encounter this
error:-
Event Source : SomeStepsNameHere
Error Code : -2147024882
Source : Microsoft Data Transformation Services (DTS) Package Description ... more >>
Ownership objects after copying them with the Copy SQL-Server Obje
Posted by freterink at 9/23/2004 6:31:03 AM
I used the Copy SQL-Server Objects Task to copy tables and views from a
production server to a reporting server. On the production database I created
a database user i.e. ReadUser. On the Reporting database I created the
database user WriteUser. In the Task I defined the ReadUser for the Sourc... more >>
Possible to dynamically alter existing table structure?
Posted by ezelasky NO[at]SPAM hotmail.com at 9/23/2004 5:54:01 AM
New to DTS and not a DBA, but would like to know if source contains
more fields than a target is it possible to add those fields to the
target in DTS .... actually I will be using the DTS APIs. Thanks.... more >>
Overflow BUG? Unspecified error and strange exception log
Posted by Robert Haken at 9/23/2004 4:29:51 AM
Hello,
I want to copy data of one table from source database to=20
destination database (product upgrade, new table=20
definition extended).
When I use DTS, I get "Unspecified error" and some other=20
random errors.
The most srange is Exception Log, ie.:
Error at Destination for Row num... more >>
DTS Import from another SQL Server
Posted by Andy at 9/23/2004 2:57:04 AM
Hi,
I need to migrate a database from one server to another using DTS.
The internal document that I'm following states "issues have been
encountered in the past with tables being lost due to lack of space in
TempDB. Check this prior to continuing"
Does anybody have any pointers (as a % of... more >>
Changing Data Source.
Posted by Kam at 9/23/2004 12:27:03 AM
Our company bought a new AS/400.
I need change the data source from OLd to New AS/400.
But the DTS don't like it, if it change the host table or re-config the
existing ODBC.
The main problem is 2 as/400 have 2 different database name.
Does anyone have a good idea to overcome this problem... more >>
Bulk Insert for data with quotes
Posted by Mark at 9/22/2004 11:25:04 PM
Hi
I am new to DTS, I use bulk insert to load a csv file which has all its
character (as opposed to numeric) data in double quotes. But the bulk insert
takes the data into the table along with the quotation marks. I know you can
do this easily in Transform Data Task, but for lot of records I ... more >>
DTS to Oracle problem
Posted by mystique at 9/22/2004 9:42:02 PM
Hello. I am using SQL Server 2000 and have a BIZARRE DTS problem. I
have a package that has two tasks. The first task deletes all the data
in a certain table. The second task is a datapump between an Oracle
database and the table just deleted.
I am using the native Oracle Provider for OLE DB,... more >>
Using DRI vs Triggers
Posted by Ngan at 9/22/2004 2:53:28 PM
When I did the upsize wizard, for the relationships, I
thought it was set to DRI. However, it was set to
Triggers.
I have since moved my access XP tables to SQL 2k tables
and the data.
Should it be an issue that the relationships are in
Triggers, not DRI?
Should I try to fix that? ... more >>
How is best approach to transform many tables?
Posted by Guy Dillen at 9/22/2004 1:58:40 PM
i need to develop a DTS package that uses Oracle8i datanase tables as source
and SQL Server 2k tables as target. The mapping is one-one, meaning the
source columns are mapped to the target columns (no transformation at this
moment).
I need to do this for approx. 180 tables. Is there a way to ... more >>
Error: Invalid Class String
Posted by Oded Dror at 9/22/2004 1:29:42 PM
Hi there,
I'm using MS SQL Server 2000 SP3, WIN XP SP2,
When I try to open a DTS package from EM in SQL Server
I'm getting an error message: Invalid Class String
(I'm not sure if this package was created under MS SQL 7 or 2000)
My questions are:
1. How to solved that kind of error ? (with no... more >>
Import/Export Wizard and ActiveX script generation ....
Posted by ezelasky NO[at]SPAM hotmail.com at 9/22/2004 12:09:12 PM
Just wondering....I have been specifying some simple transformations
using ActiveX scripts in the import/export wizard in the
transformations dialog BUT if I accept the default...."Copy the source
columns directly to the destination columns" is the grayed out script
still executed at all?
Tha... more >>
Problem running DTS package from asp
Posted by Richard at 9/22/2004 10:41:48 AM
Hello
We're developing some new code, trying to run a dts package from an asp web
page.
The package runs fine locally.
However, when trying to execute the package via asp, using this line of code
Set oPkg = Server.CreateObject("DTS.Package")
We get the error
Server object... more >>
Multiple occurences running concurrently
Posted by gcabana NO[at]SPAM comcast.net at 9/22/2004 7:21:44 AM
Here's what I'm trying to do.
I want one set of DTS packages to be able to run concurrently with
different data sources/targets without having to modify the DTS
packages.
I have setup the packages to point to UDLs/INIs which allow me the
ability to easily change the source/target, but the pat... more >>
Update Data
Posted by jez123456 at 9/22/2004 4:09:06 AM
Hi I'm not sure if DTS is the correct way to do this or stored procedure.
Here is the code to produce and populate my test table
CREATE TABLE [tblEntitlement] (
[strLogonName] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT
NULL ,
[intYear] [int] NOT NULL ,
[decPreviousBorro... more >>
Export xls data into sql server 2000 without using DTS utility
Posted by Dilip Singh Dodiya at 9/22/2004 2:59:32 AM
I need to export .xsl file to sql server 2000 with out
using DTS utility.
Only through dts package or asp coding
Any help would be greatly appreciated.
Dilip Singh Dodiya
... more >>
|