all groups > sql server dts > february 2004
Filter by week: 1 2 3 4
Importing Dynamic Table Name from Oracle Help
Posted by Dave Wong at 2/29/2004 11:46:06 PM
I've a job that needs to download a table from Oracle, which table name is stored in an Oracle table. I can use dynamic sql in Oracle, so it can have the same name every time, which needs a lot of space and sounds very stupid. Is there a better way of doing it? Thanks in advance for your help
... more >>
Import LATEST Excel file using DTS
Posted by Pratyush Kumar at 2/29/2004 11:03:30 PM
Hi,
I have a query regarding customization of data
transformation using DTS. I have created a table in SQL
Server 2000, in which data have to be imported from an
excel file. I have a folder containing number of excel
files. The problem is that, i have to import only that
file which has ... more >>
For Allan; ETL Concepts
Posted by Sunny at 2/29/2004 10:43:53 PM
Hi Allan
1)Is there any site which would explain the Process of
Extract Transform Load in a detailed manner?
2)Is ETL A part of datawarehousing ?if so how?
3)How well does DTS Support the concept of ETL is there
any documentation on DTS Support for ETL
Thanks in advance
Sunny... more >>
FTP
Posted by Mark Frank at 2/29/2004 7:51:13 PM
Hi all
Does anyone have an example (or a product) that they use to automatically FTP a text file to an FTP site through DTS (even if its a batch process? As far as I know, the DTS FTP Task only does pulls, no pushes
Thanks
Mark... more >>
DTS all rows removed from tables!
Posted by Mitchell Stickler at 2/29/2004 12:46:14 PM
I have two computers with Win 2003 Server, both have SQL
Server 2000 with service pack 3a.
I made a local DTS package using the export data wizard
that transfers all data and objects from a database on the
primary server to a backup server. With the first
scheduled execution of this packa... more >>
DTS files name from ActiveX script task
Posted by yaironi NO[at]SPAM yahoo.com at 2/29/2004 6:54:37 AM
I want to build ActiveX script task inside a DTS, that will change the
file name of the Destination file to something that is inside the
Source file!!!
for example:
convert CSV(text by delimiters) to EXCEL
the CSV file will look like this:
test.xls
1,2,3
4,5,6
at the end of the DTS i wi... more >>
Error running DTS after Win2003 upgrade
Posted by martin at 2/29/2004 2:21:05 AM
I have upgraded 2000 server to 2003 and now all DTS functions stopped working I get the following erro
Application popup: mmc.exe - Entry Point Not Found : The procedure entry point GetTextExtentPointI could not be located in the dynamic link library MSDART.DLL.
I have updated to MDAC 2.8 still... more >>
Invalid Class String
Posted by Scott Bieker at 2/28/2004 7:31:05 AM
We are receiving the "Invalid Class String" Exception when trying to execute our package
from a VB.Net application running on a client computer that was not used for developmen
or anything else to do with SQL/VB.Net/etc. It is a "normal" environment where our user
will running the application
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Permission to run DTS packages from Application Server
Posted by Sin Min at 2/27/2004 6:51:05 PM
Good day
Scenario
----------
DbServer (DTS packages) <--- AppServer (C# application
- Only Windows Authentication allowe
- Duplicate Windows user on both machine
What are the minimum permissions that I need to set on the user (on DbServer box) to enable this scenario? (i.e. enable public for... more >>
Need to create a script to insert records
Posted by JerryK at 2/27/2004 6:06:25 PM
Hi,
I need to create a script that will insert a subset of the records in a
table into another copy of the table on a remote system. I do not have
access to the remote system via Enterprise Manager. Rather, I need to email
the script and have an operator execute the script in Query Analyzer.... more >>
update records problem
Posted by smarter at 2/27/2004 5:24:06 PM
hi, i'm working on a project need to update the sql by using the mdb files.
one of the tasks is modify the member ID since there will be a chance for
member to replace their membership card (my project is a kinda membership
system). in my case, there will be a mdb file storing the new member id
... more >>
Design question [Global Variables and VB]
Posted by alien2_51 at 2/27/2004 4:20:32 PM
Here's what I need to do. I have several MS Excel templates that I want to
create a copy of, then put the file in a working directory and push data to
several worksheets inside the Excel files using DTS, then I'd like to move
the file to an FTP server. I have one particular task that I'm not sure... more >>
script generated by DTS causes the package to fail
Posted by rocio.katsanis NO[at]SPAM softwareservices.net at 2/27/2004 12:09:06 PM
This is weird.
I wrote a simple DTS package to copy a server Database to a laptop
database.
The program runs fine, but after probably 1 hour of running (this is a
big db), it fails with the message:
ALTER TABLE statement conflicted with COLUMN FOREIGN KEY constraint
'FK_Parcel Item Image_Ima... more >>
Executing DTS packages under control of VB.NET
Posted by Lee Gillie at 2/27/2004 11:06:57 AM
I am loading the package from SSF. I set all steps to EXECUTE IN THE MAIN THREAD. I see lots of posts this is necessary with VB6,
but do I need to do this with VB.NET?
I tried using EVENTS. This is really strange. I get the same event refiring repeatedly, with the same event parameter data. Perh... more >>
anyone pls help
Posted by haseeb at 2/27/2004 9:10:34 AM
Hi all,
Sql server 7.0
I am using web assistant job to display some data on web
page which refreshes every 1 min.
the jobs running fine but when i checked event viewer of
application logs, i found the below error
Error: 16821, Severity: 16, State: 1
2004-02-27 07:37:02.70 ods .
Oper... more >>
Export Data to PDF (How to?)
Posted by Gary at 2/27/2004 9:06:10 AM
Is there an easy way to export to PDF in DTS SQL 2000
Need a data connection for PDF?
Any thoughts on something simple
Thanks for any thoughts in advance
Gary... more >>
DTS Package Transfer
Posted by Olutimi at 2/27/2004 3:32:06 AM
How do i transfer a DTS package to another SQL server.
I have a SQL 2K SP3 running on WIN 2K SP4.
Thanks for your kind help.
Regards
... more >>
Can MSDE 2000 run scheduled DTS Jobs ?
Posted by Niall HQ at 2/27/2004 2:46:35 AM
I have an application which is networked based, but
allows a local version to be depolyed. The local version
would use MSDE.
The application needs to run a scheduled job on the local
machine to update diary entries for data cahnge while the
user is using it in local mode.
I have looked... more >>
OLE: Stored Procedure Error
Posted by seddonm1 NO[at]SPAM anz.com at 2/26/2004 3:35:08 PM
Gday guys,
I am having a problem invoking a DTS packade on my SQL Server. I am
using the stored procedures that use the OLE object to invoke the DTS
package. The package I am using is available
'http://www.databasejournal.com/features/mssql/article.php/10894_1459181_1'
called 'spExecutePKG'.
... more >>
Network login in the DTS package component
Posted by Areli at 2/26/2004 3:12:20 PM
Here is what my DTS Package does:
1. Extract records from a SQL Server DB and store in a recordset.
2. Write recordset contents to text file located on a network drive.
3. Run macro utilizing above text file as input.
The package works great when I manually execute it.
When I schedule the... more >>
Step name incorrect in DTS Exception file
Posted by Brad at 2/26/2004 1:21:11 PM
This is a pretty trivial problem, but I don't want the log file to be confusing when an operator reads it
I created one DTS package to import one file, then opened/saved as a different package in order to clone the package. I changed all of the properties in each package. But when they run, they... more >>
best way to manage exceptions in transformations ?????
Posted by Antonio Lopez Arredondo at 2/26/2004 12:47:36 PM
hi all !!!
the most common reason for DDQ failure I suffer are duplicate key in
inserts.
I wonder what's the best way to handle this errors within the
transformations.
what I would do is:
for each record to insert, run a lookup query to check if exists
if doesn't exist, do an DT... more >>
Error importing from AS/400 library
Posted by Antonio Giossa at 2/26/2004 11:33:23 AM
I am trying to import some files located in an AS/400
library. I use Mochasoft to connect my Windows 2000 Server
to the AS/400 library through a ODBC connection.
The ODBC connection works fine. I use it from MS Access to
import the AS/400 tables and the import job works fine.
When I use ... more >>
Loading more than one file from Excel with DTS
Posted by Anabela Figueiredo at 2/26/2004 11:31:10 AM
Hi
I know that this is possible, because I've done it before... actuallly it was about two years ago when I came up the the solution on this newsgroup..
So hopefully there's someone out there with better memory.
This is what I need
I want to load all the excel files found in a particular dir... more >>
Transform Access primary key to SQLServer
Posted by Earl at 2/26/2004 6:27:40 AM
I've noticed during transformation that my Access autonumber primary keys
are changed to int types as default. Is there a better choice?
... more >>
DTS Package runs fine, but won't run when scheduled
Posted by Gregory Hart at 2/26/2004 5:06:08 AM
I have several DTS packages that are grabbing data from a BTrieve data source. When the data source was on the local server as a test source, everything worked fine, both scheduling and the package itself. But when I re-pointed my ODBC driver to a mapped drive on our network, to a server with the ... more >>
Oracle Long Data Type - RTF Truncated
Posted by Andrew Mogford at 2/26/2004 3:26:05 AM
We are using DTS to copy from Oracle Views to SQL server tables.
One Oracle column is Long data type and contains text in rtf format.
When transformed to a SQL Server 2000 text field the data is truncated to 100 characters long.
Have recreated this transformation with the same results.
I w... more >>
Importing information from a Progress Database
Posted by Imran at 2/26/2004 3:01:55 AM
Hi,
I hope someone can help me out with this matter.
I am trying to implement a DW Solution for an
Organization. I need to clarify the following points.
(1)is there a provider for Progress so that i could
connect to progress database in order to import the Data
through DTS?Are all ... more >>
Dynamic Transforms
Posted by Paul Smith at 2/25/2004 9:25:58 PM
Hi,
I need to export data from several (100+) tables in a non-SQL Server
database to a CSV file and I would ideally like to do this with just one
dynamically modified DTS package. In the past I have used BCP and altered
the various parameters when exporting from SQL Server. However, BCP is not... more >>
DTS Ini File
Posted by Scott Bieker at 2/25/2004 9:11:05 PM
We have an application that utilizes a dozen or so (and will be more) DTS Packages
The major issue we have is that although we take advantage of the INI file configuration
we are "forced" into hard-coded the location of the INI file. Is it possible to have thi
be set dynamically as well? Our cl... more >>
Extended SP to load global params
Posted by Brandon Olson at 2/25/2004 5:49:21 PM
Hello,
I would like to have a DTS package read Global Variables that are stored in
a app.config (XML) file located on a network share. What is the best way to
accomplish this? I have tried writing an extended stored procedure in VC++
7 to return a value based on a key as an input parameter, ... more >>
transformation between a SQL connection adn a text file : works on SP1 not in SP3
Posted by Nicolas Lievain at 2/25/2004 2:22:26 PM
i try to do something very simple : export data from an sql query to a text
file
It works fine when i export a table, but doesn't work when data comes from a
view/sp/query, the DTS designer don't create the appropriate column when i
clik on "execute" and when i click on the "define colums" but... more >>
Export to text file
Posted by PaulC at 2/25/2004 1:17:27 PM
My client requirement is to have an exported text file with specific fields
widths ( these do not match the column widths ).
eg column1 50
column2 25
column3 40 etc etc.
I have written an ActiveX transformation that takes the 50 columns of data
and outputs it to 1 destinati... more >>
How do I install or check version of MSXML?
Posted by JDP NO[at]SPAM Work at 2/25/2004 1:15:49 PM
If I right-click on msxml2.dll I see version 8.3xxx
What's up with the versioing?
I have a test script that says...
''' If MSXML 4.0 is not installed this will not work!
Set oDom = CreateObject("Msxml2.DOMDocument.4.0")
TIA
JeffP....
... more >>
XML as Linked Server?
Posted by JDP NO[at]SPAM Work at 2/25/2004 12:50:00 PM
I've been working with csv files as linked servers....
I'm starting to explore XML and was wondering if there is a way to apply the
schema to enable an XML document to be a linked server?
TIA
JeffP.....
... more >>
Exception.txt.dest being overwritten on multiple calls to the same package
Posted by John Kotuby at 2/25/2004 11:59:49 AM
I have a data migration package that pulls data from DBF files located in
different folders on disk and loads the data into a single SQL table. The
package is called from another package containing an ActiveX Script which
sets Global Variables that tell the called package where the next DBF file
... more >>
CRAXDRT Problem...
Posted by ratna.garapati NO[at]SPAM sbcglobal.net at 2/25/2004 10:49:20 AM
Hi,
I was trying to open a crystal report through DTS and this is the code
I am trying to execute:
Function Main()
Dim lCrystalApp
Set lCrystalApp = CreateObject("CRAXDRT")
Main = DTSTaskExecResult_Success
End Function
I am getting the following error:
ActiveX Compone... more >>
Transform Data Task - properties gives error
Posted by Thomas Turn Jensen at 2/25/2004 8:58:42 AM
I have been given the task of slightly modifying a DTS
package but know absolutely nothing about DTS.
I have been able to copy it from one server to another
where I am to use the new package.
I have also been able to edit the connections and Execute
SQL tasks, but the main 4 transform da... more >>
Microsoft Excell Connection
Posted by borys.jarzembski NO[at]SPAM bunge.com at 2/25/2004 7:04:56 AM
Hello
I created a Linked server to access a secured Access
Database. According to SQL Server Help file I configured
(using the Registry Editor) the Windows Registry
I have add the full path name of the Workgroup Information
file Used by my Access Database => in the line
HKEY_LOCAL_MACHINE... more >>
CompactDB just hangs when used in DTS process but works great by itself???
Posted by Mike at 2/25/2004 6:17:26 AM
Here's the explanation. My DTS process uses a text
file to populate a sql server table and an access table.
It works fine before adding the CompactDB step.
I wrote a VB program that compacts a database using the
Jet method compactdatabase. It works great when ran alone
on the command l... more >>
file name in global variable
Posted by Ména at 2/25/2004 5:51:08 AM
Hi
I would like to use a global variable to initialize the file name file of a source text file box
Can someone help
thanks... more >>
Migrating DTS Local Package from test to production environments v7.0
Posted by Ted at 2/24/2004 6:17:02 PM
In a class I took there were some warnings given about creating a DTS
package in a test environment and then moving it to a production
environment. Sadly, I can't find my notes anymore! :-(
Does anyone know the subtleties of doing this migration? I have a client
I'm going to tomorrow who is ... more >>
setting sql query of Transform Data Task with ActiveX Script Task inside DTS package?
Posted by Alexander Nenashev at 2/24/2004 5:53:59 PM
is it possible?
could anyone give sample code for ActiveX Script Task?
... more >>
problem with "artificially" parametrized query...
Posted by Antonio Lopez Arredondo at 2/24/2004 4:27:45 PM
hi all !!!
my destination database does not support parameters (?) at the insert
queries.
so for each record I dynamically build a new insert query, customized with
the data to insert.
the problem is that although the new insert query is created, DTS doesn't
use it. It uses the SQL inser... more >>
TransferObjectsTask
Posted by Stephen Cook at 2/24/2004 3:49:20 PM
I'm writing a utility, in VB6, to create a new database for non-dba's
(mustn't give those developer's too many rights).
I create a new database using SQLDMO and then give the user the choice of
creating the appropriate table structure (for use with one of their
utilities) from a script, or copyi... more >>
problem with DELETE execute sql task
Posted by Alexander Nenashev at 2/24/2004 1:37:49 PM
hello.
i need execute from an execute sql task the following:
delete discoinv_dbt
from
oinvoice_dbt
inner join discoinv_dbt on
Dprt = Numb_Dprt and
Invoice = Numb_Invoice
where Date >= ?
when i check syntax dts designer shows error:
Invalid column name: 'Date'
but this sql w... more >>
SendMail Task: MAPI error
Posted by JR at 2/24/2004 10:00:17 AM
I have created a DTS package with an Send Mail Task at the
end. All task complete successfully when the DTS package
is ran manually. However when the package is scheduled all
complete with the exception of the Send Mail Task. The
error is "MapiLogonEx Failed due to MAPI error 273".
SQL M... more >>
exec oracle java package within DTS
Posted by Ned Radenovic at 2/24/2004 9:07:31 AM
Hi,
I am trying to run a package that calls a series of java
classes within oracle 9i on windows 2000.
There are two parameters passed in, two paths on a windows
2000 machine. I have set permissions to these paths as
follows:
exec dbms_java.grant_permission
( 'AVENTISDM', 'SYS:jav... more >>
To skip the last line of CSV file
Posted by danewbie NO[at]SPAM yahoo.com at 2/24/2004 8:40:49 AM
Dear DTS experts,
Using DTS data to load data from CSV, I can skip first line (such as
title). My CSV file contains a foot that I want to skip. Can DTS skip
the last line of the text file (CSV file).
thanks!
Dan... more >>
Detecting a failed Transformation during a DTS Execution
Posted by John Tallon at 2/24/2004 8:14:17 AM
Hi,
I have a quick question on DTS. I have a number of
packages that scan a directory for files, txt, csv, and
xsl. Each fiel type is in it own folder, like c:\new_xsl,
C:\new_csv and C:\new_txt. There is a different package
doing the transformation for each file type.
The problem th... more >>
|