all groups > sql server dts > january 2005 > threads for january 15 - 21, 2005
Filter by week: 1 2 3 4 5
International characters conversion
Posted by Jeff Johnson [MVP: VB] at 1/21/2005 5:46:41 PM
First, this is an abuse of cross. Second, you have future-posted.
Hopefully everyone will ignore your post until you show a little courtesy.
... more >>
Import into SQL Server Oracle Database from Export File (SQL*Loader)
Posted by K Kelly at 1/21/2005 2:42:22 PM
I need to import an Oracle Database into SQL Server 2000.
I know this can be done easily using DTS but I do not have access to the
Oracle Database, I only have an Oracle Database Export File.
The Export file has been generated using SQL*Loader.
... more >>
Custom Transformation and Row order
Posted by Blaz Ziherl at 1/21/2005 2:41:02 PM
Hi,
I have build my own custom transformation and tested it by copying a source
table with 50000 records to the destination table. The records were copied in
a strange order. Is this a normal SQL server behaviour, or is this issue
related to my custom transformation?
Regards,
Blaz Ziher... more >>
DTSRUN ERROR
Posted by Steffi at 1/21/2005 10:50:48 AM
hi,
Based on Sql server 2000 sp3 , I use dtsrun command to run a structured
storage file from a remote machine and get below errors
DTSRun OnError: ExportData_Step¡AError = -2146959361 (8007FFFF)
Error source: Microsoft Data Transformation Services (DTS) Package
Help file: sqldts80.... more >>
DTS date function
Posted by Gary at 1/21/2005 8:09:02 AM
I have to export date data to a text file for use on a UNIX server. The
programmer is asking for the date field to be split up into two fields.
YYYYMMDD and
HHMMSS
If I convert the datetime filed to a string using eithier of the MONTH, DAY,
YEAR or DATEPART function it drops the fill ze... more >>
Package does not fail even though sub-package fails
Posted by Charles Bourque at 1/21/2005 7:53:04 AM
I have a master control package that execute a bunch of other control
packages which then execute actual DTS code modules.
The problem is that a specific DTS packages fails and then returns a fail to
the first calling control package which then traps the failed state and then
it is supposed... more >>
DTS schedule error.
Posted by markZ at 1/21/2005 7:21:02 AM
I've got the problem. I created DTS package that copy data from SQL Server to
the text file. The DTS successfully execute from 'Data Transformation
Services', but when DTS schedule to run in SQL Server Agent it gives me the
error.
DTSRun: Loading... DTSRun: Executing...
DTSRun OnSta... more >>
Execute SQL problem with Oracle
Posted by Elmer Miller at 1/20/2005 9:09:04 PM
I have a strange problem that I am having trouble troubleshooting. I need to
execute a SQL commend against an Oracle database using DTS. I created a
'Microsoft ODBC Driver for Oracle' connection and based an 'Execute SQL'
task on that connection. When executing the task I get the "Multiple-ste... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Exporting Script of complete Database
Posted by Daren Hawes at 1/20/2005 8:48:02 PM
Hi,
I have finished my Database along with Tables, Views, Stored Procedures
and Constraints.
Is there an easy way to push 1 button ;-) that will export the complete
database into a SQL Script? I want to add this to the root of the
application so I can easily setup other DB in the future?... more >>
reading a text file as it is written
Posted by Greg Stigers, MCSA at 1/20/2005 6:50:41 PM
A remote office developed a PC-based app that writes its data to a text
file. We want to maintain this data at the main office, and in SQL Server,
due to the significance of the data. A typical day's file may have a couple
hundred records, written over an eight hour shift. Rather than changing... more >>
Please Help - Transactions won't work in DTS if executed from another machine
Posted by Toby at 1/20/2005 4:27:13 PM
Hi,
When i execute the same DTS job on another server not running SQL Server I
get the following errors. But if i run the job on the same server as the SQL
Server it works.
This is driving me mad - please if anyone has any pointers.
Regards
Toby.
C:\Documents and Settings\Admi... more >>
Not able to sink with Events when using an RCW around dtspkg.dll
Posted by Chris Lane at 1/20/2005 11:41:04 AM
Hi,
I am pulling my hair out trying to figure out why I can't sink up dts
package events in VB.NET when referencing an RCW that is around the
dtspkg.dll.
The code in this article works fine when just referencing the dtspkg.dll
directly from the VS.NET IDE. http://support.microsoft.c... more >>
Copying several tables simultaneously
Posted by Martin Brown via SQLMonster.com at 1/20/2005 9:50:11 AM
Hi,
I have to update 9 tables on my local SQL Server each night, built with the data from two remote databases (1 SQL Server and 1 FoxPro). The data in these remote databases contains duplicates.
The method I have chosen is to create a DTS package on my local machine, which creates 9 temporary... more >>
importing delimited file into SQL table via c++
Posted by ezelasky NO[at]SPAM hotmail.com at 1/20/2005 9:36:58 AM
Hello:
Does anyone know of an example showing how to import a delimited text
file into SQL via the DTS api in C++??? I can get this to work from VB
but when I translate it to C++ it doesn't work, even though I get a
HRESULT that succeeded. It is so frustrating!! Short of posting the
code he... more >>
BCP limit
Posted by AAugusto at 1/20/2005 9:21:02 AM
Does anybody knows what is the max number of rows when using BCP and if there
is any way to change it??... more >>
Import data from Excel to SQL server using DTS Wizard
Posted by Jenny Wang at 1/20/2005 8:07:58 AM
I am using DTS Wizard to Import data from Excel to a new
table in SQL server. After import, I notice that some data
values in Excel are replaced by NULL in SQL table without
any warning or error. That makes me very nervous. It means
that I cannot reply on the DTS successful import. It's
ea... more >>
Import a text file problem
Posted by GJC at 1/20/2005 7:53:05 AM
Hello.
I have a text file with names, addresses, email, etc... It contains over
700,000 records. When I use the DTS text driver I only get just over 400,000
records. If I Import the data into MS Access, I get the full 700,000. I
looked at the file in at Hex editor and the row Identifier... more >>
DTS with asp
Posted by David at 1/20/2005 6:19:04 AM
I have 2 servers , so server web and sql server
I not executing um package in page asp
When open browse page , o job failed.
I create user no AD , with permissions this page
ANyone have idea ?... more >>
Loading delimited text file
Posted by peterDavey at 1/19/2005 9:04:38 PM
G'day,
I've created a data transformation task to load a delimited text file into a
SQL sever table. Some of the columns of data which have a FK constraint can
have NULL values. This shouldn't be a problem however I'm getting errors on
those records with 'NULL' values. The source file is comm... more >>
Global Variable creation
Posted by Robert Richards via SQLMonster.com at 1/19/2005 6:50:39 PM
I am creating a DTS package to archive records from one table to another, given a certain lower and upper row count.
These lower and upper values need to be dynamic, and if possible used as global variables.
In essence, in VBScript I would like to have the individual executing the package to b... more >>
Cannot generate SSPI Context
Posted by TS at 1/19/2005 4:41:03 PM
I configured a computer a work to be a 2K server and installed SQL 2K on it
and I have been using it for testing purposes since 7 months now. This
morning I loged in as Domain Admin to the server and tried to access the SQL
server and I got the error message "Cannot generate SSPI Context".
A... more >>
DTS - passing variable from one connection to the other connection
Posted by Wingman at 1/19/2005 11:09:05 AM
I am trying to refresh data in a table from one SQL database to the other SQL
database weekly. Each database is on its own server. The table on the
database on each server is identifcal. The key in the table is an identity
key.
Here is what I need help with. Since I am refreshing the... more >>
DTS package executed successfully but no data
Posted by Subbaiahd at 1/19/2005 11:04:23 AM
DTS load jobs executed successfuly but no data.
I have dts paackages for loading data from one sql server database to
another sql server database, there are 8 tables being loaded daily and they
run by sql server agent job. I used simple simple copy transformation on all
tables. I have used an ... more >>
Transposing Excel file using ActiveX Transformations
Posted by Andy at 1/19/2005 8:53:04 AM
Normally when you read in an Excel file through DTS you read it in by row. I
have a file that is setup as a cross tab report that I need to read in. This
is how it is in the spreadsheet:
Jan 05
Rebate Rate .017
Int Rate .010
In the database I want it... more >>
Using environment variables in DTS package
Posted by Chris at 1/19/2005 8:09:10 AM
I have a package that I am using to take data from a table in SQL out to an
Excel spreadsheet. However, what I'd like to do is have the package put the
Excel workbook on an individual's desktop. I tried using the %userprofile%
variable but the system is not accepting that. Is there a way to do... more >>
VB.NET and DTS
Posted by Marc Cardenas at 1/19/2005 7:49:04 AM
Hi,
I have done a DTS package which pull data from a CSV file and copy the
contents to a SQL table.
On the text file source I can put a CSV file which is in another server and
when I run it from SQL enterprise it works fine.
Then I have created a ASP.NET application.
I have included a inpu... more >>
DTSrun and passwords
Posted by PRW at 1/19/2005 7:43:05 AM
Hi all,
When I run a package with dtsrun utility I wanted other users to run it also
and provide the necessary global variable parameters but not be able to view
or edit it.
However, it only works correctly when the owner password is provided in /M.
If I use the user password in /M, the ... more >>
Send Mail Task
Posted by Peter Newman at 1/19/2005 4:17:02 AM
can anybody show me how i can run a sql query and insert the data into a send
mail task
The sql statement will produce the following out put
Live ordred Cancelled
12 23 11
i also need to put some a small message before showing the results. any
halp will be ... more >>
DTS Task Parameters
Posted by Vishal Gandhi at 1/19/2005 2:29:03 AM
Hi ,
I have an existing MI System that uses a third party command line
application to retrieve and store data in text files , i want to automate
this using DTS . The third party command line applications expects one param
at a time , is it possible to design the system using DTS , in which... more >>
Code execution exception: EXCEPTION_ACCESS_VIOLATION
Posted by Vidula at 1/19/2005 2:00:23 AM
Hello,
I am creating a dts package programmatically in a vb.net
windows program.
While executing the package i sometimes get the
error "Code execution exception:
EXCEPTION_ACCESS_VIOLATION"
The Dts is not executing in the main thread as below.
oStep.ExecuteInMainThread = False
... more >>
DTS variables
Posted by Tom Swanick at 1/18/2005 8:25:49 PM
Hi,
Using SQL server 2000 on Windows server 20003.
I need to copy table(s) from one database to another. I have created a Copy
SQL Server Objects Task to do this. However, I need to have a user run this
from Access VBA. I would like to have them input a table name, press a
button and the t... more >>
Error Opening Data File Access is Denied
Posted by Jess at 1/18/2005 7:21:03 PM
I created a package to export data from one source and output as text file.
It worked successfully if the output text file is on this 1st PC as the SQL
Enterprise.
However, if I change the output text file to be on 2nd PC and I execute the
package , the error will come up.
I've mapped the ta... more >>
BULK INSERT QUESTION
Posted by Tim Payne at 1/18/2005 6:19:33 PM
Hi,
I have a bulk insert question. I have a standard transform data task that
copies data from one database to another. As part of the insert, I am
sending some data that needs to be split out and transformed slightly and
inserted into another table (there could potentially be more than one... more >>
C# and DTS
Posted by Simone Chemelli at 1/18/2005 4:08:45 PM
I'm, trying to create a ASP page that launch a DTS packed after setting a
globla variable for the import file name.
I need to import only today (2005-01-18.CSV) file, so the DTS first delete
today records than import the new file.
If I use a fixed file name evrything is fine, but using a glo... more >>
Saving View to Linked Database Table
Posted by Brian Platz at 1/18/2005 2:23:01 PM
I am having a heck of a time SAVING a View when using a LINKED Database Table.
From Enterprise Mgr, I create new View, Add the Tables or Views, also
dragging a View from a Linked Database Table and Run it, it works fine. When
I try to SAVE that I get an Error Message of:
--------------------... more >>
Issues with Debugging ActiveX
Posted by gurumum NO[at]SPAM email.uc.edu at 1/18/2005 1:53:05 PM
Hi,
I've been trying to debug ActiveX scripts that I'm using in my DTS
packages.
I have my DTS packages in SQL2000 . I have MS Visual Studio 6.0 and
InterDev installed on my machine which runs on Win 2000.
I have checked the "Enable just-in time debugging" option.
I have a STOP statement... more >>
DTS Documenting Tool
Posted by DavidM at 1/18/2005 11:49:08 AM
Does anyone know of any tools and/or utilities that will document a DTS
package. I have a bunch of them that I need both a high-level and detail
documentation for auditing purposes and change control.
Any help would be appreciated.
... more >>
DTS Scheduled Job Fails if Access Users are in MDB
Posted by Andy at accession at 1/18/2005 8:51:01 AM
I have a scheduled job with 6 steps like
DTSRUN /s<SERVER> /e /n<DTSjobname_import_from_Access_MDB>
The job fails on these steps if users are in the Access system which the DTS
jobs import from. If no users are in, then the scheduled job runs fine.
If users are in the system the DTS jobs ru... more >>
Error creating file mapping view...
Posted by InformataDBA at 1/18/2005 8:47:06 AM
....Not enough storage is available to process this command.
The file I'm try to import is a text file. There are 874,000+ records and
each record is 856 bytes long. This is for SQL2000
I have successfully imported previous files from the same source with more
than 900,000 records in the... more >>
DTS - Too many columns found in the current row
Posted by InformataDBA at 1/18/2005 8:41:05 AM
....non-whitespace characters were found after the last defined column's data.
Here I was attempting to import a text file where each record is 730 bytes
and has 49 fixed-length columns.
Are there restrictions to how many records and how wide the records can be
imported in a DTS package? ... more >>
failing step fails job
Posted by Rea Peleg at 1/17/2005 6:01:02 PM
Hi all
I am generating an error in one step so the dts execution will flow to a
different direction
than the one it would normaly choose (on that step's success).
The thing is that when I schedule it in to a job the step's failure fails
the job.. although the package continues
successfuly to... more >>
DTS task fails no ERROR
Posted by nevlis at 1/17/2005 5:36:51 PM
I am calling a DTS from a stored proc.
when I FORCE a task to fail (testing) the following code
does not return an error...it will always return 0
therefore never going inside the if statement.
--Executing the Package:
EXEC @hr = sp_OAMethod @oPKG, 'Execute'
IF @hr <> 0
BEGIN
SET @s... more >>
DTS & FTP
Posted by tbithoney at 1/17/2005 1:07:01 PM
Hello,
I have a DTS Package that, when I launch it manually, it runs a directory
to directory FTP.
The source is a local directory and the destination is on a whole different
server on a diffrent domain.
I map the x:\ drive using "login as a different user". the files goes and
all i... more >>
Where are my DTS packages
Posted by Billy at 1/17/2005 1:01:01 AM
One of my servers needed to be rebuilt recently and a new C drive was
installed.
SQL Server (7) was lost although the DATA was held on another drive. So I
installed SQL Server 7 again, on the C drive as a clean install and then
imported the tables....
But now I seem to have lost all mt D... more >>
Custom Transformation is working for ever
Posted by Blaz Ziherl at 1/16/2005 9:07:03 PM
I have the following problem with my custom transformation: sometimes (I have
no clue, what the reason is) it doesn't end its work. It just goes on and on
for ever, eventhough it might work just fine with the same properties some
other time.
Did anyone else encounter anything similar? I can... more >>
Queries with cursors can't be executed back to back
Posted by shop NO[at]SPAM pacifictabla.com at 1/16/2005 6:25:15 PM
Hi:
I have two queries shown below. They both use cursors created from the
same table (but with completely different data), and they both write to
the same table. Problem is, when I run them back to back in Query
Analyzer, the first one will execute and insert rows in the
"CallByCallYesterday... more >>
custom transformation and broken FK
Posted by aamirghanchi NO[at]SPAM yahoo.com at 1/15/2005 3:04:44 PM
Hi,
I need to do the following through Enterprise Manager (EM).
I need to copy the structure of all the tables along with their PK, FK
etc and need to copy the data of only select set of tables (not all of
them). I tried doing this in EM but lost the relationship between
tables in the target ... more >>
i use BulkInsertTask to import txt file programly,in vc++, how can i get number of rows imported ?
Posted by xiangshifu NO[at]SPAM yahoo.com.cn at 1/15/2005 10:20:23 AM
i use BulkInsertTask to import txt file programly,in vc++, how can i
get number of rows imported ?... more >>
|