all groups > sql server dts > march 2005 > threads for march 15 - 21, 2005
Filter by week: 1 2 3 4 5
Import DTS Structure storage file
Posted by Good at 3/21/2005 10:23:48 PM
Hi All,
Are there anyway to import the DTS struture storage file without user
interaction?
Cheers
Good.
... more >>
can i using linked server in mssql 64 bit?
Posted by Suwito Kurniawan at 3/21/2005 8:20:56 PM
SQL export to CSV file
Posted by Dannie Chan at 3/21/2005 7:55:02 PM
Hi,
I need to export from couple table data to a csv file.
But I don't know how to do the following.
The table will, OrderID, no of item, item no, qualtity description.
5020023, 2 , 1 , 1 , Cable
5020023, 2 , 2... more >>
Data transfer from a single txt file to 3 different tables
Posted by Hemil at 3/21/2005 7:01:17 PM
Hello Friends,
I have a data file containing Purchase Orders coming in
from a proprietary ERP system. The file contents can be
divided into 3 parts: Header, Lines and Notes. These 3
parts need to go into three different SQL Server Tables
for my custom application.
Is it possible in D... more >>
Call DTS From Table Trigger
Posted by Yeap Judy at 3/21/2005 6:36:10 PM
Hello,
I face this problem hope some body can help me to solve
this, TQ
I create one local DTS and can run properly, after that,
i try to create a trigger to call the DTS, the trigger
are like below
CREATE Trigger TR_UpdXML
On MBBSales.dbo.c_ExceptionAct
For Update
As
if update(Sta... more >>
Delete DTS package programmatically
Posted by JRStern at 3/21/2005 5:27:05 PM
Is there a documented/safe way to programmatically delete a DTS
package?
OK then, how about an undocumented way?
Thanks.
Josh
... more >>
Substring Problem
Posted by Robert Hamilton at 3/21/2005 3:57:02 PM
I'm transforming a 9 character field in a flat file that represents a dollar
amount. The decimal is implied inbetween the 7 and 8 characters. Also, if the
record payment status is "X", then the last digit is an alpha character that
represents that 1) the amount is negative, and 2) the value of... more >>
Processing multiple source files into single destination table..
Posted by Michael C at 3/21/2005 1:01:04 PM
There must be some way to loop through all the files within a given folder
and load / transform them into a single DB table....
can anyone suggest a solution using DTS or do I really have to code all this?
--
Michael Calvin... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
DTS Task to Update Lotus Notes Address Book
Posted by Scott Lindsey at 3/21/2005 11:24:36 AM
I want to use DTS to add records to a Lotus Notes Address
book from a SQL Server table. I have downloaded the
NotesSQL 3.02g ODBC driver and installed it successfully.
I am able to view the Notes address book data and delete
from the Person table in the Notes address book. When I
try to... more >>
Edit DTSRunUI Scheduled Jobs
Posted by icebold54 NO[at]SPAM hotmail.com at 3/21/2005 2:59:45 AM
Hi to Everybody,
I've read about DTSRunUI for executing DTS at night. After some
testing I'm sure it does what I expected for.
I'd like to know the way I can edit/delete Scheduled Jobs once they
have been created by DTSRunUI. I've read about the info of these jobs
stored in the msdb databas... more >>
DTS remote run problem
Posted by Good at 3/20/2005 8:47:31 PM
Hi All,
Now, I am facing a problem that related to remote execute the DTS package.
The situation is as follows :-
First , I create a local package and it could execute successfully in its
own machine. Then, I export it to a structure file package and copy it to
another machine. After, I ... more >>
Shelled Command Line Not Visible
Posted by John Baker at 3/19/2005 3:25:45 PM
I have an Access frontend that controls the running of several MS SQL Server DTS packages (among other things).
I dynamically build a command line for dtsrun, and then use the ShellWait command from here:
http://www.mvps.org/access/api/api0004.htm
The problem is that some of the packages tak... more >>
3rd working day
Posted by jaylou at 3/18/2005 11:21:06 AM
Hi all,
Is there a way to schedule a DTS pacakge to run on the 3rd working day of
every month?
TIA,
Joe
... more >>
How do I determine if DTS Package exists on Server?
Posted by Joseph Geretz at 3/18/2005 10:46:56 AM
How do I determine whether or not a specific DTS Package (I know the name of
the package) exists on the Server?
Thanks for your help,
- Joe Geretz -
... more >>
How to get a DTS package run to be triggered by a email
Posted by karenmiddleol NO[at]SPAM yahoo.com at 3/18/2005 9:27:03 AM
I have a scenario where the data to be loaded into SQL comes in a
email.
The business is asking me to build a package that will enable the
email to trigger a DTS package which must be able to take the
attachment coming as part of the email and process the file.
Kindly advice how this can be d... more >>
How to do processing of a load file record by record
Posted by karenmiddleol NO[at]SPAM yahoo.com at 3/18/2005 9:23:38 AM
I have a given data file to be loaded into a SQL table. I want a
sample vbscript that shows how I can do processing record by record.
What I am looking for is a mechanism that enables me to process the
incoming record by record for various checks and if a check is not
satisfied to reject or skip... more >>
DTS & FTP: Missing all the files
Posted by dabroc at 3/18/2005 9:17:02 AM
We have tried to use the FTP task within the DTS package to pull information
from a particular web site but have seen erratic behaviour in the past due
the task completing but NOT ALL the files making it over to the destination.
The process stops pulling without producing an error message or... more >>
Can't run DTS Package in production environment
Posted by Chris Lane at 3/18/2005 7:51:04 AM
Hi,
I have a VB.NET application that call a SQL 2000 DTS package. This worked
fine when running the client application from my machine but as soon as the
client application was moved to a production machine I get the following
error when trying to run the DTS package.
[DBNETLIB][Connecti... more >>
Excel Data not seen in Source Preview
Posted by System.Xml.XmlDocument at 3/18/2005 6:25:06 AM
Hi
I have a DTS package where in i am pushing data from Excel to Sql server
database.
When i look at preview of the source (i.e Excel ) in Transform Data link ,
the data from the excel is not shown in VIEW DATA grid.
What could be the reason ?
Regards
Guru... more >>
Stored procedure in Exec SQL Task
Posted by peterDavey at 3/17/2005 5:47:23 PM
G'day all,
I'm trying to use an Exec SQL task (SQL Server 2000) to run a stored
procedure and assign a message string returned by the proc to a global
variable. Here's the code:
DECLARE
@master_message VARCHAR(5000)
SET @master_message = ''
EXEC dbo.udp_IP_Update_Master @ov_output_m... more >>
DTS ActiveX transfer error
Posted by NewDBAGuy at 3/17/2005 2:20:49 PM
I was wondering if anyone knew how to resolve a certain problem I have. When
I set up a DTS package, and do straight column-copy transformations, I have
no problem doing so. However, when I need to do an ActiveX script
transformation, I keep getting an error afterwards. When I look at the erro... more >>
Exporting data to mySQL
Posted by Roshan Jayalath at 3/17/2005 11:17:02 AM
Does anyone has any experience with exporting data from SQL Server 2000 to
MySQL.
When I try to export using ODBC it gives an error because mySQL engine is
4.1 while the ODBC driver provided is 3.51 and it says upgrade the driver.
Any workaround for this ?
Best Regards
Roshan Jayalath... more >>
Help needed with ActiveX script
Posted by Jim Wile at 3/17/2005 10:55:23 AM
Hello
I hace creatre a dts package that uses an ActiveX script to either insert or
update existing records in an Oracle RDB database. The script fails on an
duplicate key value on the index on the vendor_number field. The
Vendor_number field is the field I am using in a lookup (which works) to... more >>
Help with text file Connection
Posted by Peter Newman at 3/17/2005 10:17:04 AM
Ive beeb trying unsucseffully to use a dts to import this file into two tables
"200001"
"999999"
"75"
"999999"
"004"
"24/03/2005"
"001"
"Fhead@office.com"
"me@anywhere.com"
"200001 DebBacsFM Serial: 4 AuthCode: 9999"
---- bank records
"12345612345678ANYPERSON REFERENCE ... more >>
Comparing two rows in a Table
Posted by Yog at 3/17/2005 10:17:03 AM
Hi Gurus,
Is there any automated way to compare the contents of TWO rows in the same
table of SQL Server ?
Thanks in advance.
Regards,
Yog... more >>
Parse for a numeric string using ActiveX in DTS
Posted by SQL_developer at 3/17/2005 9:13:15 AM
Hello,
I'm trying to parse for a numeric string from a column in a table. What
I'm looking for is a numeric string of a fixed length of 8.
The column is a comments field and can contain the numeric string in
any position. I'm not familiar with ActiveX, so any suggestions will be
useful.
Th... more >>
vbNo or vbCancel not working
Posted by ddobier at 3/17/2005 6:03:02 AM
Hello. I'm fairly new to programming and have what is probably a simple
question. I have the following code which displays a message box on the
screen with a yes,no, and cancel button. If I click yes it returns vbYes.
If I click no or cancel it returns nothing for the IResult value and run... more >>
dynamically populating cell drop down based on more than two cell values
Posted by pm at 3/17/2005 4:48:10 AM
I have a static data in my database table with five level hierarchy.
something like this.
10 countries
|___Every country having 10 states
|____every state having 10 cities
|___every city have 10 bank branches
|__every branch providing 10 types of acc... more >>
Text File (Source) Connection
Posted by Peter Newman at 3/17/2005 4:31:01 AM
Thanks to help from here i can use the folliing axtive x code to dynamicly
set the source filename
Dim Oconn
Set oPkg = DTSGlobalVariables.Parent
Set Oconn = DTSGlobalVariables.Parent.Connections("Text File (Source)
Copy")
OConn.DataSource = DTSGlobalVariables("gv_FileFullName"... more >>
How to cleanse a data file like this in DTS
Posted by karenmiddleol NO[at]SPAM yahoo.com at 3/17/2005 3:17:26 AM
Hello All
I get the following data file which as some page headers and column
headers I need to get rid of the page headers and column headers and
read only the columns of data please provide me with a sample VB
script code that can accomplish the cleaning.
The file structure is as follows:... more >>
How to change the Postfix -ve sign to prefix sign
Posted by karenmiddleol NO[at]SPAM yahoo.com at 3/17/2005 3:06:56 AM
Hello All
The text file containing weekly sales comes from a legacy system which
reports negative numbers with the negative sign in postfix form rather
than prefix form as follows:
customer Sales Qty
1000000 100 220
1909110 82- 430
2010102 125 98-
Can ... more >>
Please help on Datetime DTS Transformation
Posted by T Tran via SQLMonster.com at 3/17/2005 1:35:07 AM
Hi,
Could someone help me with the Datetime DTS Transformation?
I try to import the Text (fixed length) file into the SQL table and having
problem when the date from the Text file is blank. I have two columns
(from text file) with the dates in format yyyyMMdd. One of them always
have valid ... more >>
DTS Question
Posted by Steffi at 3/16/2005 7:43:58 PM
hi,
I have a DTS package for selecting data and updating data in a loop , and
set ths DTS a job starting at 8:00 Am every day .
There are 5 similar background job running until 6:00 PM.
I take some test and find every job consumes a lot of CPU resource.
Is it suitable to let DTS become back... more >>
DTS user choise (Windows / SQL)
Posted by Michael Vardinghus at 3/16/2005 7:01:30 PM
What is preferred ?
If sql I need to store the name and password somewhere - that could be a
problem - if windows I have yet to see it work the whole way around - both
in the dts package and when executing the job in Agent.
Isn't there a way to store a username and an encrypted password in a... more >>
Copy SQL Server Objects Task & Dynamic Properties Task
Posted by doug at 3/16/2005 3:23:35 PM
Using native DTS, can you expose the DataSource "source" and "destination"
properties? I've noticed the connections are not listed when you open the
DynamicPropertiesTask.
doug
... more >>
DTS package for getting all Client info
Posted by Aaron Longnion - Cosential at 3/16/2005 2:42:27 PM
Okay -
Here's the situation, and let me know what you think is
the best approach, all ye SQL gurus. ;-)
- Our Clients have requested a feature that allows them to
get all their data in SQL Server format (as SQL Data
files).
- We're trying to figure out the best way to do this.
We'... more >>
DTS package return code passed to job
Posted by Kathy FM at 3/16/2005 11:18:52 AM
I have a dts package with 30+ steps. Sometimes an exec sql task will fail
(and this is correct). I use the workflow to control how the tasks are
executed. It works fine. Here's the problem. A job executes the dts package,
using dtsrun, and if a task in the dts package has failed the job status
s... more >>
moving large volume of data from db2 os/390 to sqlserver 2000
Posted by sql rookie at 3/16/2005 10:52:41 AM
We are migrating a few application off the DB2 OS/390 to SQL server
2000. There are millions of records in DB2 that I want to move to SQL
server. I tried DTS (importing to sqlserver), its taking lot of time
for each tables. Is there any faster way that anybody know to move
large volume of data t... more >>
Assign value to Global Variable
Posted by jayeshm53 NO[at]SPAM hotmail.com at 3/16/2005 7:59:41 AM
I am creating a DTS package to import from a txt file (YYYYMMDD.TXT)
to a table in SQL 2000 Database.
Here are the steps I am using:
1. I create my package using file 20050314.txt as source. It works
fine.
2. Next, I add global variable "MYFile".
3. I add Dynamic Property task and assi... more >>
Importing file with unusual delimiter
Posted by Andy at 3/16/2005 7:01:02 AM
I am trying to import a text file via DTS that has an unusual delimiter. I
am used to files like this
A,B,C
D,E,F
This file is like this
A,B,C There is a square here D,E,F
How do I handle a file like this that has more than one record per line and
has a s... more >>
Text File Source
Posted by Peter Newman at 3/16/2005 6:03:08 AM
if i have a Text file Source object, can i set the 'import File Name' from an
activex script ?... more >>
DTS custom task
Posted by RH at 3/16/2005 5:04:42 AM
Have a SQL server on inside interface of Cisco PIX
firewall and have a SQL server on a webserver on DMZ
interface of the PIX. Opened port 1433 between all inside
PCs and webserver. Created a DTS package using SQL logins
and passwords to update webserver with tables from inside
server. B... more >>
DTS bug?
Posted by Enric at 3/16/2005 2:49:05 AM
Dear all,
I'm trying to export five millions of rows to .CSV file from a DTS of a
remotely way, i.e, database is allocated in Buenos Aires and the file
resulted is dumped in a spanish server. Just a drawback with this is the
performance but I don't mind at all, of fact the problem on the ori... more >>
Dev to prod switch with ORacle database...
Posted by Jéjé at 3/15/2005 4:56:55 PM
Hi,
I have developped a lot of DTS packages on an SQL Server database.
1 of our client use Oracle instead-of SQL server for the same database (same
schema)
I want to use a linked server + views in an SQL Server database:
create view MyTable
as
select * from ORACLESERVER...MyTable
So... more >>
DTS Dynamic Property Task and Query Option
Posted by Rashmi Jagadish at 3/15/2005 4:47:02 PM
Hi
I'm trying to use Dynamic Property Task to set SQL Statment for a
transformation.
I'm assuming this is possible by going into the Disconnect Edit properties
of the package.
I have a DTS job set up and it also runs successfully, but the sql statment
associated the the transformation d... more >>
Remove Time From date/Time
Posted by CB at 3/15/2005 10:53:09 AM
Joe,
The script you provided below worked like a champ, sorry for the long
delay, another project came up.
One last question. Now that i have seperated the date & time fields, I need
to remove the time portion of the date/time field.
So, instead of 2005-03-15 09:56:34, i want 2005-03-... more >>
Exporting to a text file (no headers)...Define Column Crash
Posted by dabroc at 3/15/2005 8:51:04 AM
Problem: Need to get information from either a table directly or a sql
statement to a fixed width txt file (no headers) . Every time I click the
"Define Columns..." it shuts down Enterprise Manager with no error message.
I try to execute the job but it fails due to "Invalid Column Length"... more >>
|