dbTalk Databases Forums  

Defining precedences? for Darren Green or others...

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Defining precedences? for Darren Green or others... in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
John Keith
 
Posts: n/a

Default Defining precedences? for Darren Green or others... - 04-19-2006 , 02:41 PM






On Darren's page...
http://www.sqldts.com/default.aspx?288

At the bottom of the page, the DTS icons are shown with an Execute SQL Task
"Create MDB" connected (via. success arrow) to a Microsoft OLE DB provider
for SQL Server connection "SQL Server".

When I attempt to place the success workflow arrow, I get a DTS Designer
Error: "Defining precedences between the selected items is not valid."

I am still quite new to DTS so i'm sure that I have made some basic error in
the set up. Can anyone point me to what this error might be?

I am running SQL Server 2000 on a Win2000 machine.

Bonus question!
In the example on the page that creates an access DB then creates a table.
How would I dynamically build and load (at run time) the CREATE TABLE
statements from the source SQL Server table?

--
Regards,
John

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Defining precedences? for Darren Green or others... - 04-19-2006 , 02:53 PM






That is not a precedence constraint it is a Transform data task. You define
precedences between Steps not connections. The distinction in DTS is
blurred, SSIS makes this difference more apparent.



--


Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com


"John Keith" <JohnKeith (AT) discussions (DOT) microsoft.com> wrote

Quote:
On Darren's page...
http://www.sqldts.com/default.aspx?288

At the bottom of the page, the DTS icons are shown with an Execute SQL
Task
"Create MDB" connected (via. success arrow) to a Microsoft OLE DB provider
for SQL Server connection "SQL Server".

When I attempt to place the success workflow arrow, I get a DTS Designer
Error: "Defining precedences between the selected items is not valid."

I am still quite new to DTS so i'm sure that I have made some basic error
in
the set up. Can anyone point me to what this error might be?

I am running SQL Server 2000 on a Win2000 machine.

Bonus question!
In the example on the page that creates an access DB then creates a table.
How would I dynamically build and load (at run time) the CREATE TABLE
statements from the source SQL Server table?

--
Regards,
John



Reply With Quote
  #3  
Old   
John Keith
 
Posts: n/a

Default Re: Defining precedences? for Darren Green or others... - 04-19-2006 , 03:16 PM



Hi Allan, and thanks for the quick reply.

When I select [Create Table] and [SQL Server] then try to add the Transform
data task... I get DTS Designer Error: "Transforming data between the
selected items is not valid. Select unique connection items to transform
data."

I am able to assign the data pump between SQL Server and Microsoft Access.
the phrasing of the error message seems to indicate that a Transform Data
Task connects two connections.

On the web page the colorization of the arrow shows it is a "success" arrow
and not a transform data task. But with my set-up neither seems to work.
Perhaps that middle arrow not needed at all?

I need to upgrade to SSIS, before I learn bad DTS habits!

--
Regards,
John


"Allan Mitchell" wrote:

Quote:
That is not a precedence constraint it is a Transform data task. You define
precedences between Steps not connections. The distinction in DTS is
blurred, SSIS makes this difference more apparent.



--


Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com


"John Keith" <JohnKeith (AT) discussions (DOT) microsoft.com> wrote in message
news:17388A93-54D7-427E-A6DE-56EB761257D2 (AT) microsoft (DOT) com...
On Darren's page...
http://www.sqldts.com/default.aspx?288

At the bottom of the page, the DTS icons are shown with an Execute SQL
Task
"Create MDB" connected (via. success arrow) to a Microsoft OLE DB provider
for SQL Server connection "SQL Server".

When I attempt to place the success workflow arrow, I get a DTS Designer
Error: "Defining precedences between the selected items is not valid."

I am still quite new to DTS so i'm sure that I have made some basic error
in
the set up. Can anyone point me to what this error might be?

I am running SQL Server 2000 on a Win2000 machine.

Bonus question!
In the example on the page that creates an access DB then creates a table.
How would I dynamically build and load (at run time) the CREATE TABLE
statements from the source SQL Server table?

--
Regards,
John




Reply With Quote
  #4  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Defining precedences? for Darren Green or others... - 04-19-2006 , 03:36 PM



It sounds as though you are trying to pump data between the same connection
object. I think what you may have done is this

You have dropped into designer a SQL Server connection and set her up
You have dropped on another SQL Server Connection and checked the radio
button that says to base it off an existing connection and in that box you
have specified the original connection.

You are now trying to pump between the two.

You can't.

Define the destination connection as a connection in its own right or at
least a copy of a connection that is not the source
--


Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com


"John Keith" <JohnKeith (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi Allan, and thanks for the quick reply.

When I select [Create Table] and [SQL Server] then try to add the
Transform
data task... I get DTS Designer Error: "Transforming data between the
selected items is not valid. Select unique connection items to transform
data."

I am able to assign the data pump between SQL Server and Microsoft Access.
the phrasing of the error message seems to indicate that a Transform Data
Task connects two connections.

On the web page the colorization of the arrow shows it is a "success"
arrow
and not a transform data task. But with my set-up neither seems to work.
Perhaps that middle arrow not needed at all?

I need to upgrade to SSIS, before I learn bad DTS habits!

--
Regards,
John


"Allan Mitchell" wrote:

That is not a precedence constraint it is a Transform data task. You
define
precedences between Steps not connections. The distinction in DTS is
blurred, SSIS makes this difference more apparent.



--


Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com


"John Keith" <JohnKeith (AT) discussions (DOT) microsoft.com> wrote in message
news:17388A93-54D7-427E-A6DE-56EB761257D2 (AT) microsoft (DOT) com...
On Darren's page...
http://www.sqldts.com/default.aspx?288

At the bottom of the page, the DTS icons are shown with an Execute SQL
Task
"Create MDB" connected (via. success arrow) to a Microsoft OLE DB
provider
for SQL Server connection "SQL Server".

When I attempt to place the success workflow arrow, I get a DTS
Designer
Error: "Defining precedences between the selected items is not valid."

I am still quite new to DTS so i'm sure that I have made some basic
error
in
the set up. Can anyone point me to what this error might be?

I am running SQL Server 2000 on a Win2000 machine.

Bonus question!
In the example on the page that creates an access DB then creates a
table.
How would I dynamically build and load (at run time) the CREATE TABLE
statements from the source SQL Server table?

--
Regards,
John






Reply With Quote
  #5  
Old   
John Keith
 
Posts: n/a

Default Re: Defining precedences? for Darren Green or others... - 04-19-2006 , 04:09 PM



Thats sort of what happened,

I had not completed the SQL statements nor had I set up the full data pump
from SQL Server to Access. Once that was done... AND in the Execute SQL
task... tell it to expect microsoft Access style of SQL... that char(96)
delimiter.. it all worked

Then I WAS able to add the sucess arrow pointing from the SQL task to the
SQL server connection.

Thanks for the help!

--
Regards,
John


"Allan Mitchell" wrote:

Quote:
It sounds as though you are trying to pump data between the same connection
object. I think what you may have done is this

You have dropped into designer a SQL Server connection and set her up
You have dropped on another SQL Server Connection and checked the radio
button that says to base it off an existing connection and in that box you
have specified the original connection.

You are now trying to pump between the two.

You can't.

Define the destination connection as a connection in its own right or at
least a copy of a connection that is not the source
--


Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com


"John Keith" <JohnKeith (AT) discussions (DOT) microsoft.com> wrote in message
news:B970D647-71BC-47B8-A42D-7AEAEA4951A6 (AT) microsoft (DOT) com...
Hi Allan, and thanks for the quick reply.

When I select [Create Table] and [SQL Server] then try to add the
Transform
data task... I get DTS Designer Error: "Transforming data between the
selected items is not valid. Select unique connection items to transform
data."

I am able to assign the data pump between SQL Server and Microsoft Access.
the phrasing of the error message seems to indicate that a Transform Data
Task connects two connections.

On the web page the colorization of the arrow shows it is a "success"
arrow
and not a transform data task. But with my set-up neither seems to work.
Perhaps that middle arrow not needed at all?

I need to upgrade to SSIS, before I learn bad DTS habits!

--
Regards,
John


"Allan Mitchell" wrote:

That is not a precedence constraint it is a Transform data task. You
define
precedences between Steps not connections. The distinction in DTS is
blurred, SSIS makes this difference more apparent.



--


Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com


"John Keith" <JohnKeith (AT) discussions (DOT) microsoft.com> wrote in message
news:17388A93-54D7-427E-A6DE-56EB761257D2 (AT) microsoft (DOT) com...
On Darren's page...
http://www.sqldts.com/default.aspx?288

At the bottom of the page, the DTS icons are shown with an Execute SQL
Task
"Create MDB" connected (via. success arrow) to a Microsoft OLE DB
provider
for SQL Server connection "SQL Server".

When I attempt to place the success workflow arrow, I get a DTS
Designer
Error: "Defining precedences between the selected items is not valid."

I am still quite new to DTS so i'm sure that I have made some basic
error
in
the set up. Can anyone point me to what this error might be?

I am running SQL Server 2000 on a Win2000 machine.

Bonus question!
In the example on the page that creates an access DB then creates a
table.
How would I dynamically build and load (at run time) the CREATE TABLE
statements from the source SQL Server table?

--
Regards,
John







Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.