all groups > sql server dts > july 2003
Filter by week: 1 2 3 4 5
DTS package with variable
Posted by Ram at 7/31/2003 5:02:49 PM
Hi,
I want to create a DTS package which can accept parameters
and only import / export data based on the value of the
parameter.
can anyone please help on how to create such package and
how to execute such package by passing parameter.
Appreciate your help.
Thank you,
Ram.
... more >>
Importing Access data into SQL Server
Posted by Scott Adams at 7/31/2003 1:29:37 PM
I have created a transform data task that inserts rows in SQL Server from
Microsoft Access 2002. The Access source table has an Autonumber field (that
I do not want to use) and the SQL Server destination table has an Identity
field for the primary key. Everytime I run the package, regardless of ... more >>
DTS job fails before even calling the job
Posted by Sue McDermott at 7/31/2003 12:59:16 PM
I have approx. 20 jobs that run over the course of a day
in my system (running 7.0)
Occassionally, jobs begin to fail even prior to execution.
This is the information in the 'show job steps' option in
the job history:
The step did not generate any output. Process Exit Code
128. The s... more >>
Restoring a backup
Posted by Andrew Chalk at 7/31/2003 10:56:00 AM
Someone has sent me an SQL Server 2000 database (e.g. DBMS.BAK). I want to
"restore" it on my copy of SQL Server 2000. It isn't one of the databases
listed in Enterprise Manager on my machine, obviously.
How do I go about doing this?
Many thanks
... more >>
RAISERROR, DTS, and Jobs
Posted by Kevin at 7/31/2003 10:39:24 AM
Hello all,
I've just discovered a significant flaw in a DTS design of
mine and hope that someone can help.
First, I have a DTS package that does a number of clean-up
tasks when an error is encountered - send an email, move
the current file to an error directory, write information
to a ... more >>
Copying a DTS
Posted by Andrew Levine at 7/31/2003 8:55:49 AM
In Sql Server 2000 - I am creating a DTS Package. I have a Transform Data
Task going from a source to a destination. I want to duplicate this Task and
have it go somewhere else as well, from the same source. Is there a way to
copy and paste this task so I do not have to redo all of the
transofrm... more >>
DTS Process Flow
Posted by Bryan O'Malley at 7/30/2003 1:56:58 PM
I'm trying to create a local package that will back a set of SQL Server
tables up to a local Access file on a regular basis. The goal is to have the
DTS job create a new access file each day, then backup the tables from SQL
Server to Access.
I used Enterprise Manager to Export the data from SQ... more >>
Vbscript question in SQL DTS
Posted by Steve Chatham at 7/30/2003 11:31:36 AM
In trying to make some changes to a file extract (we are pulling a text file
from another domain into the one our SQL server is in, and then loading a
database from it), we will have the need to "bind" the sets of text files
together.
In other words, for me to know which orderfile goes with wh... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Diagrams
Posted by Lynn at 7/30/2003 9:52:41 AM
I copied a diagram from one server to the another one.
The tables in the diagram copied over, but not the
relationships.
Can you copy a diagram without using the relationships.... more >>
Get values from a result set using DTS
Posted by Michael at 7/30/2003 9:11:22 AM
Hello,
I'm writing a DTS package to restore databases from backups, this would run
everynight. These backups are often corrupted, which I don't want to try
and restore anything if they are.
I've trying to use the "RESTORE HEADERONLY" command to check if the backup
is corrupted or not, this... more >>
Scheduled DTS Doesn't Run Properly
Posted by Howard Brody at 7/30/2003 7:35:14 AM
In brief:
We have an older, DOS-based billing system with the tables
stored as .dbf files. We are currently building it's
replacement with a VB6 front on a SQL database. The table
structure has been completely changed for the new
database; every night our server backs up the .dbf files ... more >>
Error: Code Execution Exception
Posted by Paulo Weiler at 7/30/2003 6:57:49 AM
I'm getting this error message when trying to save my DTS
package:
Error Source: Microsoft Data Transformation Services (DTS)
Package
Error Description: Code execution exception:
EXCEPTION_ACCESS_VIOLATION
Can anybody help me with it?
Cheers, Paulo... more >>
Text file import
Posted by Wayne Gore at 7/30/2003 4:16:32 AM
Hi
I'm looking for a way to automatically import data into a
database from text files. Normally I would just create a
DTS package with a text file source.
Unfortunately this won't work now because the text files
are all named after the creation time and date (i.e. each
text file is named... more >>
Passign recordset into MSMQ
Posted by Henry Maher at 7/30/2003 3:43:25 AM
Some of us VB/SQL programmers have been trying to come up with a solution to
find out when a table gets inserted. We figured out a nice theory to it
where on insert a trigger is fired and then starts a DTS package.
The DTS package would then get the new record and pass it through to a MSMQ.
Grea... more >>
DTS ODBC Problem - Viewing Transformation Properties
Posted by Ian Dukes at 7/30/2003 2:08:22 AM
Hi,
I'm new to DTS have used similar products in the past.
I wish to use DTS run a query against an Oracle database
and import the results into and SQL Server table.
I use the wizard to create the DTS package and everything
runs fine, connection work, parsing of SQL and testing
works ... more >>
DTS fails with OLE DB Driver
Posted by Andy at 7/29/2003 10:39:58 PM
I have been trying to create a DTS package with a
client's SQL table. When I try to open, I get
Microsoft OLE DB Provider for SQL Server
DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not
exist or access denied.
The server does exist, (because I am on it at the time),
but I cann... more >>
Import SQL Server Data To Excel
Posted by gb at 7/29/2003 3:44:05 PM
hi,
I'm trying to import data from SQL Server to Excel. I've noticed that
when designing my DTS package, my excel file should already have predefined
columns for transformation. My problem is that, the number of columns i need
to import to the excel file is dynamically changing depending o... more >>
Error scheduling DTS package?
Posted by Lee at 7/29/2003 2:01:47 PM
Hi,
When I execute the package manually it works fine, but
when I schedule the package it fails. The error below is
what I get viewed in the job history. Can someone please
help?
Thanks!
Lee
DTSStep_DTSDataPumpTask_5 DTSRun OnError:
DTSStep_DTSDataPumpTask_2, Error = -2147467259
... more >>
DTS script with DMO export table error
Posted by Hansen at 7/29/2003 11:00:54 AM
I use a commen DMO script to do the table data export to
txt file. in SQL 2000 DTS package ActiveX code as
following:
---------------------------------------------------------
Function Main()
Dim oServer
Dim oDatabase
Dim oBCP
Dim nRows
Set oServer = CreateObject("SQLDMO.SQLServer")... more >>
How Can I IMPORT a XML File to the SQL Server using DTS
Posted by Marcos at 7/29/2003 10:05:52 AM
I have a Simple XML File and I need to take this file and Import to my
Database, but I looking for a Method to do that.
Can someone help me?
Thanks in Advance.
... more >>
FSO in ActiveXScript Task?
Posted by Jeff McAhren at 7/29/2003 9:11:21 AM
Hi,
I need to read in some text from a *.txt file on the sql server file system,
replace a token within the text with the results of a select statement, and
write the text out to a different file. Alternatively, I am willing to skip
the "read" part, and hardcode this text in the activexscript... more >>
Importing from comma delimited file
Posted by Michael Bauers at 7/29/2003 8:46:00 AM
I am importing from a comma delimted file. One of the
columns is my sort key, so it cannot be NULL. Apparently
if line in the input file includes nothing between the
delimters, that field is considered NULL.
.e.g line:A,,B (2 field is considered NULL)
Subsequently, I get errors... more >>
SQL Personal Edition
Posted by Mario Crespi at 7/28/2003 7:43:11 PM
Hello.
I need a way for a portable computer to access an sql
database while not connected to the network.
Could SQL Personal Edition be the solution?
How can I get it?
Thanks.... more >>
Import a file from a network machine
Posted by Jennifer Smith at 7/28/2003 4:07:18 PM
I created a DTS package which imports a csv file.
The file will reside on another machine in our network.
I have changed my active script page to look for the file using the UNC
path name:
\\server_name\share_name\file_name
How do I ensure the shared directory allows the proper permissi... more >>
Bulk Insert
Posted by * at 7/28/2003 2:00:54 PM
I am importing a vertical bar delimited file and it seems to go so much
slower then if I used a fixed field file. Is that normal or is there
something I am doing wrong.
(Ex. importing the same file in both bar delimited and Fixed length. Fixed
length takes about 1 minute and bar delimited file t... more >>
import an .mdf file into an existing database
Posted by dwight paul at 7/28/2003 1:50:01 PM
I need a step by step on how to take a .mdf file and
import it into an existing SQL database. Any pointers
would be greatly appreciated.
Sincerely,
Dwight... more >>
access 2k -> sql server 7: sort order on import?
Posted by sasha NO[at]SPAM mathforum.com at 7/28/2003 11:40:16 AM
i inherited a pretty horrible access db that i am trying to move to
sql server. the import fails on two tables with a nondescript error:
Invalid character error for cast specification.
i removed the row in question, as well as rows before and after it. i
still get the same error for the same... more >>
DTSBulkInsertTask Errors... (VB)
Posted by Fred Block at 7/28/2003 11:17:03 AM
Hi All,
Using: DTSBulkInsertTask with VB6
This seems to be the right place to ask... I have two different ASCII flat
files I need to import into an MSSQL table (actually the same table) via a
VB application.
I've been attempting to run a sample provided with MSSQL (C:\Program
Files\Micro... more >>
DTS execute question
Posted by Jennifer Smith at 7/28/2003 10:33:35 AM
I am using SQL 7
I created a DTS package, and when I execute it through enterprise
manager it runs with no errors. But when I try to run it through query
analyzer using a stored procedure it does not work.
Any clue where I can start to debug this issue?
Thanks.... more >>
DTS Designer
Posted by Chris Combs at 7/28/2003 8:47:55 AM
In DTS designer, I get an abend when trying to define the
destination fuile format for an export file in cvs
format. The column list appears empty after defining the
query. When I click on the Define columns Button, I get
a mmc.exe application error.
The message is
{"The instructio... more >>
Scheduled DTS failure
Posted by Michael Kane at 7/28/2003 8:45:18 AM
I am having trouble with a scheduled job. The job is a two
step job. Step 1 does a T-SQL statement to check a log
table for a value, and if it is 1, execute a meaningless
statement guaranteed to succeed that simply allows the job
to go to the next step. If the value is 0, it executes a
mea... more >>
error -2147467259 (80004005) when schedule a DTS
Posted by masfer at 7/28/2003 8:25:41 AM
I get this error when i try to schedule a DTS with a proxi
account that is member of the local "power users" group:
----------------------------------------------------------
DTSRun: Loading... DTSRun: Executing... DTSRun
OnStart: DTSStep_DTSCreateProcessTask_1
DTSRun OnFinish: DTS... more >>
DTS and Polling
Posted by patrick1977 NO[at]SPAM btinternet.com at 7/28/2003 1:22:54 AM
Hi,
I am looking for some help with putting a solution together that will
poll for a file say between 7am and 9 am once the file is available it
will trigger a DTS job.
I am unsure as to how I should go about this, Any help would be much
appreciated.
Thanks
Patrick... more >>
Lost in DTS Permissions Hell, trying to copy to a mapped drive...
Posted by JDP NO[at]SPAM Work at 7/26/2003 12:32:40 PM
As the title says, I've been wandering in the land of Why Not.
I can dos copy, move etc.. but cannot get the same results in DTS.
So, let's not fix what I have tried.
I'd like to find the basic steps to do a test copy from my laptop to my desktop
over the lan.
If that is successful, I'd... more >>
BUG REPORT: how to submit?
Posted by Bug Dude at 7/26/2003 11:04:00 AM
How do I properly report a bug in SQL Server 2000
software?
The issues (which I have concluded are actual bugs) both
occur in the DTS wizard, rather than the database engine
itself.
I have searched the Microsoft web site for a bug-
reporting form, but have not found anything yet.
T... more >>
DTS from Oracle8i to SQL2k Long Text
Posted by ED at 7/25/2003 2:27:18 PM
Hi,
I'm updating tables in SQL2k using DTS. One of the fields
i'm pulling from Oracle [via 9i OLEDB provider, LOBs
enabled, Forced Longs] is a CLOB. It needs to fill a Text
field but fails around 1024 characters and gives me <Long
Text> instead.
How do I get my SQL table to give me al... more >>
Enumerate Available Connections in Custom Task
Posted by Frank Matthiesen at 7/25/2003 2:15:00 PM
Hi NG,
i got problems to enumerate the available connections from the whole
DTSpackage inside a custom task .
I can't get the reference of the package into the UI of my custom task.
Any code snippets available?
Kind regards
Frank
... more >>
Import memo from Access ??
Posted by ginola NO[at]SPAM mailcity.om at 7/25/2003 9:53:53 AM
Hi,
I just wonder what data Type should I use if I assign a memo field
data from MS-Access ??
thanks
----------------------------
Ginola... more >>
DTS execution from client machine fails connecting to Oracle
Posted by holysmokes99 NO[at]SPAM hotmail.com at 7/25/2003 9:38:15 AM
I have created a DTS package that pulls data in from Oracle into SQL
Server. When I run it directly on the server (from Enterprise
Manager), it works fine. When I run it from Enterprise Manager on a
client machine that does not have the Oracle client software, it does
not run, giving me the erro... more >>
Commits in DTS
Posted by eric at 7/25/2003 6:59:30 AM
I have a DTS package that selects from Oracle and inserts
over a million records into SQL Server. Is there a way
using DTS to commit after every 10,000 records or so?
thanks in advance... more >>
How to install DTS without Enterprise Manager
Posted by Andrés_Rey at 7/25/2003 5:57:52 AM
Hi,
Does anyone know how to install the DTS utility with
installing Enterprise Manager.
Thank you... more >>
DTS:- Create a Text file in RunTime
Posted by Ravi at 7/24/2003 10:37:19 PM
Hi
I want to create a Text file in runtime , load data from
excel sheet into this file and then pick up data from it
and load data into a Table?
Thanks in Advance
Cheers
Ravi ... more >>
ftp
Posted by TARA at 7/24/2003 1:34:32 PM
I am trying to connect to an FTP site. I can establish
the connection but the file host type is incorrect so the
data is unusable. Any ideas?... more >>
RE:Accounts to run DTS Packages
Posted by san at 7/24/2003 12:47:22 PM
Problem:
Users are not able to see the DTS packages until they are
present as users in MSDB database.
Question:
a) Is it necessary for users to be present in MSDB
database to be able to see all packages.
All users are non sysadmin users on SQL 2000.
b) Is there a workaround to remove ... more >>
workflow question
Posted by peja at 7/24/2003 12:31:08 PM
Hi,
I have already posted this question, but maybe I was not
clear enough. I have the following dts package:
succ succ
StepA(ActiveX)----->StepB(Data transf)----->StepC(ExecSQl)
StepD(ExecuteSQl)
StepD should be executed ONLY if any one of other jobs
fa... more >>
Scheduled Backup Job fails intermittently
Posted by Sue at 7/24/2003 11:07:12 AM
I am running on Windows 2000 server. I have a backup
maintenance plan scheduled to run periodically during the
day. Intermittently, the jobs fail with the following:
The job failed. The Job was invoked by Schedule 16
(Schedule 1). The last step to run was step 1 (Step 1).
The job sch... more >>
Access tio SQL Server error
Posted by mark story at 7/24/2003 10:58:38 AM
We have a column in a Access table defined as datetime,
but it only holds the time value. When we try and uplodad
the table to SQL Server via DTS, we error:
Conversion invalid for datatypes on column pair 4 (source
column 'ReportTime'(DBTYPE_DATE), destination
column 'ReportTime' (DBTYPE_... more >>
Errorhandling
Posted by Pierre Ingmansson at 7/24/2003 9:14:56 AM
Hello!
I am using a DTS-packet to read several tab-notated files into MSSQL. These
files lay in a folder, say "C:\DTSSource". When my package is run, it goes
through all the files in this directory and loads them into SQL. All this is
done very similar to the example I found on SQLDTS.com. Lin... more >>
DTS Package Issue
Posted by PR at 7/24/2003 8:26:18 AM
Hi All,
I have an issue with sql 2k on win 2k Server platform.
when I run a simple DTS Package for copying some(not all)
tables from one sql server to another, the wrong tables
get copied. The first time this happened, i thought maybe
i was careless in selecting the tables. but this ha... more >>
DTS Designer Error
Posted by Ian Kerwin at 7/24/2003 8:00:18 AM
When opening up the ActiveX Script editor in a
transformation task I get a msgbox exclaming DTS Designer
Error and the message is made up of 10 box shapes.
I can still get into the editor, but there are no script
languages or functions.
I am on SQL2000 SP2.
Any help appreciated.
Ia... more >>
|