473,387 Members | 1,573 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

DTS package design - Not allaowed link

nai
Hi all,
I'm fairly new to this...

I't trying to design a DTS package on SQL Server 2000`, which will
connect to the server, export some table date into a .txt file (based
on a select statement) and then delete the data from the table (based
on a delete statement) upon successful completion of the export.
So far so good..

Now, upon the successful deleteion, I want to export some more data and
then (upon the successful export) to delete the data. I want to repeat
this process approx. 10 times.
Though, when I try to link the deletion to the new export on success, I
get the message: "Defining the precedences between the selected items
is not valid."

Any idea on how I can accomplish what I want to do?
thanks a lot

Nov 23 '05 #1
3 3141
MC
Try adding the text file target and transformation and then putting the 'on
success'. Or, in another words, define the next task and then do try the
precedence. If this doesnt help, please provide more info.

MC
"nai" <ni********@laiki.com> wrote in message
news:11*********************@z14g2000cwz.googlegro ups.com...
Hi all,
I'm fairly new to this...

I't trying to design a DTS package on SQL Server 2000`, which will
connect to the server, export some table date into a .txt file (based
on a select statement) and then delete the data from the table (based
on a delete statement) upon successful completion of the export.
So far so good..

Now, upon the successful deleteion, I want to export some more data and
then (upon the successful export) to delete the data. I want to repeat
this process approx. 10 times.
Though, when I try to link the deletion to the new export on success, I
get the message: "Defining the precedences between the selected items
is not valid."

Any idea on how I can accomplish what I want to do?
thanks a lot

Nov 23 '05 #2
nai
Thanks for the prompt reply.
I had already tried this..

Connection to server:
Microsoft OLE Provider for SQL

Transform data task properties
SELECT * FROM UAF_REQUESTS
WHERE UAF_REQUESTS.CREATED < GETDATE()- 90
AND UAF_REQUESTS.RESPONSECODE = 'OK'

Export
to Text File, location F:\Backups\U_REQ.txt

ON SUCCESS

DELETE FROM UAF_REQUESTS
WHERE UAF_REQUESTS.CREATED < GETDATE()- 90
AND UAF_REQUESTS.RESPONSECODE = 'OK'

--- Then I created another export to txt file

Selected the export object and the delete one, and tried to connect
them on success. The error message is the one mentioned in my first
email.

Please let me know if any other details would be helpful.
thanks

Nov 23 '05 #3
MC
I've sent you an email since i can do a package you described. Perhaps I
misunderstood or theres a difference in sequence or something. LMK.

MC
"nai" <ni********@laiki.com> wrote in message
news:11*********************@f14g2000cwb.googlegro ups.com...
Thanks for the prompt reply.
I had already tried this..

Connection to server:
Microsoft OLE Provider for SQL

Transform data task properties
SELECT * FROM UAF_REQUESTS
WHERE UAF_REQUESTS.CREATED < GETDATE()- 90
AND UAF_REQUESTS.RESPONSECODE = 'OK'

Export
to Text File, location F:\Backups\U_REQ.txt

ON SUCCESS

DELETE FROM UAF_REQUESTS
WHERE UAF_REQUESTS.CREATED < GETDATE()- 90
AND UAF_REQUESTS.RESPONSECODE = 'OK'

--- Then I created another export to txt file

Selected the export object and the delete one, and tried to connect
them on success. The error message is the one mentioned in my first
email.

Please let me know if any other details would be helpful.
thanks

Nov 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: David M. Wilson | last post by:
Hello! I maintain a small package for talking to the API of BulkSMS.co.uk. I have been adding support for some new features recently, and found myself slightly indecisive over how best to lay...
33
by: Joe | last post by:
I'm designing a company website. I'm relatively new to CSS and I'm having trouble creating what seems to me a very simple design: - body background: fixed full page image - banner: fixed, 100...
2
by: Raven | last post by:
Hi. 1. in order for a computer to be able to run a C# .NET app, it __has__ to have a redistibutable runtime package installed, right? 2. I saw that the size of the package for download...
23
by: Rotem | last post by:
Hi, while working on something in my current project I have made several improvements to the logging package in Python, two of them are worth mentioning: 1. addition of a logging record field...
1
by: Nogusta123 | last post by:
Hi, I have had a lot of problems getting web pages, master pages and content pages to render in VS2005 design view the same as they would in Internet Explorer. I did a lot of looking on the...
0
by: krishnakant Mane | last post by:
hello all, I am struggling a bit in making python packages. when I am doing a project I want to create all my python modules inside a single package. I want to know when I make a package, what...
6
by: ivan.leben | last post by:
Hi! I know this question is more suitable for gnu.utils group but im posting here, since that group looks almost dead (last post 1 May with no reply yet) and I need the answer much faster. I...
2
by: raknin | last post by:
Hi, I am looking for a close package of secure login and registeration written in PHP.The package that I am looking for should have the following functionality I believe this is standard...
20
by: mike3 | last post by:
Hi. (Xposted to both comp.lang.c++ and comp.programming since I've got questions related to both C++ language and general programming) I've got the following C++ code. The first routine runs in...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.