dbTalk Databases Forums  

How to change DestinationObjectName of DTSDatapump Task

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


Discuss How to change DestinationObjectName of DTSDatapump Task in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
J-T
 
Posts: n/a

Default How to change DestinationObjectName of DTSDatapump Task - 05-30-2005 , 02:18 PM






I'm using a Dynamic property to change my pump Task connection based on a
global variable.The global variable specifies which database I'd like to use
my DTS in.DestinationObjectName is something like
[DatabaseName].[dbo].[TableName]. I don;t know how to change this portion
only([DatabaseName]).

Thanks



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

Default Re: How to change DestinationObjectName of DTSDatapump Task - 05-30-2005 , 02:53 PM






Ahhhh

Right

First thing you do is make the DestinationObjectName property of that
DataPump task name only so find it in Disconnected edit | Eit and change
th

dbName.OwnerName.TableName

To

OwnerName.TableName


Now you need to change the Catalog property of the connection on which
your destination sits through the DP task. Easy.

Allan





"J-T" <J-T (AT) microsft (DOT) com> wrote


Quote:
I'm using a Dynamic property to change my pump Task connection based on a
global variable.The global variable specifies which database I'd like to use
my DTS in.DestinationObjectName is something like
[DatabaseName].[dbo].[TableName]. I don;t know how to change this portion
only([DatabaseName]).

Thanks


Reply With Quote
  #3  
Old   
J-T
 
Posts: n/a

Default Re: How to change DestinationObjectName of DTSDatapump Task - 05-30-2005 , 03:01 PM



I changed everything to whatever you siad.Still get this error:
"Syntax error or access violation"
Everthing is fine.Databases are all pointing to what I want.Catalognames are
right.Table name is also right.Why am I getting this error?

It'd reslly geetting on my nerves?
Isn't it a permission issue?I'm the admin server wide,why I should get this
error?
Thanks

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote

Quote:
Ahhhh

Right

First thing you do is make the DestinationObjectName property of that
DataPump task name only so find it in Disconnected edit | Eit and change
th

dbName.OwnerName.TableName

To

OwnerName.TableName


Now you need to change the Catalog property of the connection on which
your destination sits through the DP task. Easy.

Allan





"J-T" <J-T (AT) microsft (DOT) com> wrote


I'm using a Dynamic property to change my pump Task connection based on a
global variable.The global variable specifies which database I'd like to
use
my DTS in.DestinationObjectName is something like
[DatabaseName].[dbo].[TableName]. I don;t know how to change this portion
only([DatabaseName]).

Thanks




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

Default Re: How to change DestinationObjectName of DTSDatapump Task - 05-30-2005 , 03:17 PM



So everything is pointing to everywhere it should be?

What is the statement you are using in the source for the DataPump?

Allan

"J-T" <J-T (AT) microsft (DOT) com> wrote


Quote:
I changed everything to whatever you siad.Still get this error:
"Syntax error or access violation"
Everthing is fine.Databases are all pointing to what I want.Catalognames are
right.Table name is also right.Why am I getting this error?

It'd reslly geetting on my nerves?
Isn't it a permission issue?I'm the admin server wide,why I should get this
error?
Thanks

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:e%23FRPBVZFHA.2520 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Ahhhh

Right

First thing you do is make the DestinationObjectName property of that
DataPump task name only so find it in Disconnected edit | Eit and change
th

dbName.OwnerName.TableName

To

OwnerName.TableName


Now you need to change the Catalog property of the connection on which
your destination sits through the DP task. Easy.

Allan





"J-T" <J-T (AT) microsft (DOT) com> wrote


I'm using a Dynamic property to change my pump Task connection based on a
global variable.The global variable specifies which database I'd like to
use
my DTS in.DestinationObjectName is something like
[DatabaseName].[dbo].[TableName]. I don;t know how to change this portion
only([DatabaseName]).

Thanks



Reply With Quote
  #5  
Old   
J-T
 
Posts: n/a

Default Re: How to change DestinationObjectName of DTSDatapump Task - 05-30-2005 , 03:51 PM



Quote:
So everything is pointing to everywhere it should be?
Yes,Allen.Everything is right

Quote:
What is the statement you are using in the source for the DataPump?
I'm using a CSV file from my local desktop.It is like DTSSource(...).Am I
clear on this?

Thanks Allen.


"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote

Quote:
So everything is pointing to everywhere it should be?

What is the statement you are using in the source for the DataPump?

Allan

"J-T" <J-T (AT) microsft (DOT) com> wrote


I changed everything to whatever you siad.Still get this error:
"Syntax error or access violation"
Everthing is fine.Databases are all pointing to what I want.Catalognames
are
right.Table name is also right.Why am I getting this error?

It'd reslly geetting on my nerves?
Isn't it a permission issue?I'm the admin server wide,why I should get
this
error?
Thanks

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:e%23FRPBVZFHA.2520 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Ahhhh

Right

First thing you do is make the DestinationObjectName property of that
DataPump task name only so find it in Disconnected edit | Eit and
change
th

dbName.OwnerName.TableName

To

OwnerName.TableName


Now you need to change the Catalog property of the connection on which
your destination sits through the DP task. Easy.

Allan





"J-T" <J-T (AT) microsft (DOT) com> wrote


I'm using a Dynamic property to change my pump Task connection based
on a
global variable.The global variable specifies which database I'd like
to
use
my DTS in.DestinationObjectName is something like
[DatabaseName].[dbo].[TableName]. I don;t know how to change this
portion
only([DatabaseName]).

Thanks





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

Default Re: How to change DestinationObjectName of DTSDatapump Task - 05-30-2005 , 04:16 PM



You have a CSV file as a Source in the datapump?

If yes then you cannot specify a statement here you must just choose the
object as the source i.e. the text file.

Allan

"J-T" <J-T (AT) microsft (DOT) com> wrote


Quote:
So everything is pointing to everywhere it should be?
Yes,Allen.Everything is right

What is the statement you are using in the source for the DataPump?
I'm using a CSV file from my local desktop.It is like DTSSource(...).Am I
clear on this?

Thanks Allen.


"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:%23voO6OVZFHA.2128 (AT) TK2MSFTNGP15 (DOT) phx.gbl...
So everything is pointing to everywhere it should be?

What is the statement you are using in the source for the DataPump?

Allan

"J-T" <J-T (AT) microsft (DOT) com> wrote


I changed everything to whatever you siad.Still get this error:
"Syntax error or access violation"
Everthing is fine.Databases are all pointing to what I want.Catalognames
are
right.Table name is also right.Why am I getting this error?

It'd reslly geetting on my nerves?
Isn't it a permission issue?I'm the admin server wide,why I should get
this
error?
Thanks

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:e%23FRPBVZFHA.2520 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Ahhhh

Right

First thing you do is make the DestinationObjectName property of that
DataPump task name only so find it in Disconnected edit | Eit and
change
th

dbName.OwnerName.TableName

To

OwnerName.TableName


Now you need to change the Catalog property of the connection on which
your destination sits through the DP task. Easy.

Allan





"J-T" <J-T (AT) microsft (DOT) com> wrote


I'm using a Dynamic property to change my pump Task connection based
on a
global variable.The global variable specifies which database I'd like
to
use
my DTS in.DestinationObjectName is something like
[DatabaseName].[dbo].[TableName]. I don;t know how to change this
portion
only([DatabaseName]).

Thanks




Reply With Quote
  #7  
Old   
J-T
 
Posts: n/a

Default Re: How to change DestinationObjectName of DTSDatapump Task - 05-30-2005 , 04:18 PM



Quote:
You have a CSV file as a Source in the datapump?
Yes,I have a TextFile(Source) which is pointing to my CSV file.

Quote:
If yes then you cannot specify a statement here you must just choose the
object as the source i.e. the text file.
I don;t get what you mean by this.This package is working on one database
and not working in another database in the same server on which I have a
Administraotr Role!!!!

Thanks

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote

Quote:
You have a CSV file as a Source in the datapump?

If yes then you cannot specify a statement here you must just choose the
object as the source i.e. the text file.

Allan

"J-T" <J-T (AT) microsft (DOT) com> wrote


So everything is pointing to everywhere it should be?
Yes,Allen.Everything is right

What is the statement you are using in the source for the DataPump?
I'm using a CSV file from my local desktop.It is like DTSSource(...).Am I
clear on this?

Thanks Allen.


"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:%23voO6OVZFHA.2128 (AT) TK2MSFTNGP15 (DOT) phx.gbl...
So everything is pointing to everywhere it should be?

What is the statement you are using in the source for the DataPump?

Allan

"J-T" <J-T (AT) microsft (DOT) com> wrote


I changed everything to whatever you siad.Still get this error:
"Syntax error or access violation"
Everthing is fine.Databases are all pointing to what I
want.Catalognames
are
right.Table name is also right.Why am I getting this error?

It'd reslly geetting on my nerves?
Isn't it a permission issue?I'm the admin server wide,why I should get
this
error?
Thanks

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:e%23FRPBVZFHA.2520 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Ahhhh

Right

First thing you do is make the DestinationObjectName property of
that
DataPump task name only so find it in Disconnected edit | Eit and
change
th

dbName.OwnerName.TableName

To

OwnerName.TableName


Now you need to change the Catalog property of the connection on
which
your destination sits through the DP task. Easy.

Allan





"J-T" <J-T (AT) microsft (DOT) com> wrote


I'm using a Dynamic property to change my pump Task connection
based
on a
global variable.The global variable specifies which database I'd
like
to
use
my DTS in.DestinationObjectName is something like
[DatabaseName].[dbo].[TableName]. I don;t know how to change this
portion
only([DatabaseName]).

Thanks






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

Default Re: How to change DestinationObjectName of DTSDatapump Task - 05-30-2005 , 04:36 PM



Then it has to be the Source to the DataPump. Remember there are Source
Files and Destination files. You cannot specify a SQL Statement against
a Text File. Where do you get DTSSource() from?

Confused.

Allan

"J-T" <J-T (AT) microsft (DOT) com> wrote


Quote:
You have a CSV file as a Source in the datapump?
Yes,I have a TextFile(Source) which is pointing to my CSV file.

If yes then you cannot specify a statement here you must just choose the
object as the source i.e. the text file.
I don;t get what you mean by this.This package is working on one database
and not working in another database in the same server on which I have a
Administraotr Role!!!!

Thanks

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:O1T1ZvVZFHA.3364 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
You have a CSV file as a Source in the datapump?

If yes then you cannot specify a statement here you must just choose the
object as the source i.e. the text file.

Allan

"J-T" <J-T (AT) microsft (DOT) com> wrote


So everything is pointing to everywhere it should be?
Yes,Allen.Everything is right

What is the statement you are using in the source for the DataPump?
I'm using a CSV file from my local desktop.It is like DTSSource(...).Am I
clear on this?

Thanks Allen.


"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:%23voO6OVZFHA.2128 (AT) TK2MSFTNGP15 (DOT) phx.gbl...
So everything is pointing to everywhere it should be?

What is the statement you are using in the source for the DataPump?

Allan

"J-T" <J-T (AT) microsft (DOT) com> wrote


I changed everything to whatever you siad.Still get this error:
"Syntax error or access violation"
Everthing is fine.Databases are all pointing to what I
want.Catalognames
are
right.Table name is also right.Why am I getting this error?

It'd reslly geetting on my nerves?
Isn't it a permission issue?I'm the admin server wide,why I should get
this
error?
Thanks

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:e%23FRPBVZFHA.2520 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Ahhhh

Right

First thing you do is make the DestinationObjectName property of
that
DataPump task name only so find it in Disconnected edit | Eit and
change
th

dbName.OwnerName.TableName

To

OwnerName.TableName


Now you need to change the Catalog property of the connection on
which
your destination sits through the DP task. Easy.

Allan





"J-T" <J-T (AT) microsft (DOT) com> wrote


I'm using a Dynamic property to change my pump Task connection
based
on a
global variable.The global variable specifies which database I'd
like
to
use
my DTS in.DestinationObjectName is something like
[DatabaseName].[dbo].[TableName]. I don;t know how to change this
portion
only([DatabaseName]).

Thanks





Reply With Quote
  #9  
Old   
J-T
 
Posts: n/a

Default Re: How to change DestinationObjectName of DTSDatapump Task - 05-30-2005 , 05:02 PM



I'm doing all the transformation in the ActiveX script of the datapump.
Sorry to confuse you .It's working fine on one database so there is no
booboo in the logic.There is something I'm missing somewhere and that's
making the package incompatible with the other Database here is some portion
of ActiveX:

This refers to Table ---->DTSDestination("RECORD_TYPE") =
DTSSource(Cons_RecordType ) <----This referes to CSV file

Makes sense?
Thanks a lot

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote

Quote:
Then it has to be the Source to the DataPump. Remember there are Source
Files and Destination files. You cannot specify a SQL Statement against a
Text File. Where do you get DTSSource() from?

Confused.

Allan

"J-T" <J-T (AT) microsft (DOT) com> wrote


You have a CSV file as a Source in the datapump?
Yes,I have a TextFile(Source) which is pointing to my CSV file.

If yes then you cannot specify a statement here you must just choose
the
object as the source i.e. the text file.
I don;t get what you mean by this.This package is working on one database
and not working in another database in the same server on which I have a
Administraotr Role!!!!

Thanks

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:O1T1ZvVZFHA.3364 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
You have a CSV file as a Source in the datapump?

If yes then you cannot specify a statement here you must just choose
the
object as the source i.e. the text file.

Allan

"J-T" <J-T (AT) microsft (DOT) com> wrote


So everything is pointing to everywhere it should be?
Yes,Allen.Everything is right

What is the statement you are using in the source for the DataPump?
I'm using a CSV file from my local desktop.It is like
DTSSource(...).Am I
clear on this?

Thanks Allen.


"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:%23voO6OVZFHA.2128 (AT) TK2MSFTNGP15 (DOT) phx.gbl...
So everything is pointing to everywhere it should be?

What is the statement you are using in the source for the DataPump?

Allan

"J-T" <J-T (AT) microsft (DOT) com> wrote


I changed everything to whatever you siad.Still get this error:
"Syntax error or access violation"
Everthing is fine.Databases are all pointing to what I
want.Catalognames
are
right.Table name is also right.Why am I getting this error?

It'd reslly geetting on my nerves?
Isn't it a permission issue?I'm the admin server wide,why I should
get
this
error?
Thanks

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:e%23FRPBVZFHA.2520 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Ahhhh

Right

First thing you do is make the DestinationObjectName property of
that
DataPump task name only so find it in Disconnected edit | Eit and
change
th

dbName.OwnerName.TableName

To

OwnerName.TableName


Now you need to change the Catalog property of the connection on
which
your destination sits through the DP task. Easy.

Allan





"J-T" <J-T (AT) microsft (DOT) com> wrote


I'm using a Dynamic property to change my pump Task connection
based
on a
global variable.The global variable specifies which database I'd
like
to
use
my DTS in.DestinationObjectName is something like
[DatabaseName].[dbo].[TableName]. I don;t know how to change
this
portion
only([DatabaseName]).

Thanks







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

Default Re: How to change DestinationObjectName of DTSDatapump Task - 05-31-2005 , 12:17 AM



Quotes ?

DTSSource(Cons_RecordType )

Should it be

DTSSource("Cons_RecordType")


Allan

"J-T" <J-T (AT) microsft (DOT) com> wrote


Quote:
I'm doing all the transformation in the ActiveX script of the datapump.
Sorry to confuse you .It's working fine on one database so there is no
booboo in the logic.There is something I'm missing somewhere and that's
making the package incompatible with the other Database here is some portion
of ActiveX:

This refers to Table ---->DTSDestination("RECORD_TYPE") =
DTSSource(Cons_RecordType ) <----This referes to CSV file

Makes sense?
Thanks a lot

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:eFbM66VZFHA.2452 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
Then it has to be the Source to the DataPump. Remember there are Source
Files and Destination files. You cannot specify a SQL Statement against a
Text File. Where do you get DTSSource() from?

Confused.

Allan

"J-T" <J-T (AT) microsft (DOT) com> wrote


You have a CSV file as a Source in the datapump?
Yes,I have a TextFile(Source) which is pointing to my CSV file.

If yes then you cannot specify a statement here you must just choose
the
object as the source i.e. the text file.
I don;t get what you mean by this.This package is working on one database
and not working in another database in the same server on which I have a
Administraotr Role!!!!

Thanks

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:O1T1ZvVZFHA.3364 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
You have a CSV file as a Source in the datapump?

If yes then you cannot specify a statement here you must just choose
the
object as the source i.e. the text file.

Allan

"J-T" <J-T (AT) microsft (DOT) com> wrote


So everything is pointing to everywhere it should be?
Yes,Allen.Everything is right

What is the statement you are using in the source for the DataPump?
I'm using a CSV file from my local desktop.It is like
DTSSource(...).Am I
clear on this?

Thanks Allen.


"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:%23voO6OVZFHA.2128 (AT) TK2MSFTNGP15 (DOT) phx.gbl...
So everything is pointing to everywhere it should be?

What is the statement you are using in the source for the DataPump?

Allan

"J-T" <J-T (AT) microsft (DOT) com> wrote


I changed everything to whatever you siad.Still get this error:
"Syntax error or access violation"
Everthing is fine.Databases are all pointing to what I
want.Catalognames
are
right.Table name is also right.Why am I getting this error?

It'd reslly geetting on my nerves?
Isn't it a permission issue?I'm the admin server wide,why I should
get
this
error?
Thanks

"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
news:e%23FRPBVZFHA.2520 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Ahhhh

Right

First thing you do is make the DestinationObjectName property of
that
DataPump task name only so find it in Disconnected edit | Eit and
change
th

dbName.OwnerName.TableName

To

OwnerName.TableName


Now you need to change the Catalog property of the connection on
which
your destination sits through the DP task. Easy.

Allan





"J-T" <J-T (AT) microsft (DOT) com> wrote


I'm using a Dynamic property to change my pump Task connection
based
on a
global variable.The global variable specifies which database I'd
like
to
use
my DTS in.DestinationObjectName is something like
[DatabaseName].[dbo].[TableName]. I don;t know how to change
this
portion
only([DatabaseName]).

Thanks






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.