dbTalk Databases Forums  

Re: Data Driven Query error

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


Discuss Re: Data Driven Query error in the microsoft.public.sqlserver.dts forum.



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

Default Re: Data Driven Query error - 07-06-2004 , 01:12 AM






First of all

Using sp_ as a prefix to a stored proc is considered a performance hit. SQL
Server will first look for this SP in master before the local DB.

Without doubt the best way to see how DTS hangs together is to build the
package in designer first and then save as a VB module. You can then see
the relevant parts of the package

Why are you doing this using code? Using code in the way I think you are
using it means that you are rebuilding a package every time.

From what I see of the thing you are trying to do are you trying to execute
a proc for every row in a table/csv file?



--

----------------------------

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


"A Fu" <AFu (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hello,

I'm trying to create a package programmatically. This package imports data
from a csv flat file to a db table. Actually, I don't even know if what I'm
trying to do here would work:
Quote:
I'm using DataDrivenQueryTask2 to call a stored procedure with 3
parameters. I've assigned "exec sp_UpdateCategories ?,?,?" to UpdateQuery
property. I've assigned Column objects to the UpdateQueryColumns property.
The parameters come from the csv flat file.
Quote:
I also have a Transformation2 object, and I specified the source and
destination columns.

When I run the program, the package is created successfully, but I get the
following error when I try to execute this package:

Data Driven Query: No query specification returned by Transform status.

Does anyone know what this means? I could provide the code if necessary.
Thanks very much.

A Fu



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.