dbTalk Databases Forums  

Re: DataDrivenQuery UPDATE without using scripting

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


Discuss Re: DataDrivenQuery UPDATE without using scripting in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: DataDrivenQuery UPDATE without using scripting - 07-03-2003 , 03:33 PM






I doubt you will find a way to do it.

DTS must take every row you give it and issue an UPDATE Statement against
it. This can only be achieved in a DDQ by using the scripter.

--


Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org

"Joey Ebright" <joeyebright (AT) decadesoftware (DOT) com> wrote

Quote:
Hello all,

I have been trying to get a DDQ to work with an UPDATE statement without
having to use the scripting transformation. I want to instead use the
Copy
Columns transformation. However, I keep getting the following error when
executing my DTS package - "No query specification returned by Transform
status".

An exhaustive search leads me to believe it is possible, but every working
example I have seen thus far uses the scripting transformation and
overcomes
this error by setting the Main function to return a value of
DTSTransformStat_UpdateQuery. I cannot find an equivalent way to do this
using Copy Columns, either within the DTS designer or using the Object
Model
(writing Visual Basic code...).

Any help would be greatly appreciated.

-Joey





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.