dbTalk Databases Forums  

Result Binding Name must be set to zero

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


Discuss Result Binding Name must be set to zero in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Mike Coffey
 
Posts: n/a

Default Result Binding Name must be set to zero - 05-22-2006 , 02:55 PM






My Execute SQL task is set to use a query that retrieves customer numbers
from a table:

SELECT custID as thecustid FROM custTable WHERE [criteria]

The result set is set to “Full Result Set”. On the Result Set tab, I have
Result Name thecustid mapped to User::g_custID, which is a global-scope
variable of type Object.

When I attempt to run the query, I get this message:

[Execute SQL Task] Error: The result binding name must be set to zero for
full result set and XML results.

What have I done wrong in this setup?

Reply With Quote
  #2  
Old   
Mike Coffey
 
Posts: n/a

Default RE: Result Binding Name must be set to zero - 05-23-2006 , 03:53 PM






Not to answer my own question, but I figured it out -- changed the ResultName
to 0 and removed any assignment of the output from the select.

"Mike Coffey" wrote:

Quote:
My Execute SQL task is set to use a query that retrieves customer numbers
from a table:

SELECT custID as thecustid FROM custTable WHERE [criteria]

The result set is set to “Full Result Set”. On the Result Set tab, I have
Result Name thecustid mapped to User::g_custID, which is a global-scope
variable of type Object.

When I attempt to run the query, I get this message:

[Execute SQL Task] Error: The result binding name must be set to zero for
full result set and XML results.

What have I done wrong in this setup?

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

Default Re: Result Binding Name must be set to zero - 05-25-2006 , 04:30 AM



Hello Mike,

For ExecuteSQL task type configurations have a look at this article


The ExecuteSQL Task
(http://www.sqlis.com/default.aspx?58)


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

Quote:
My Execute SQL task is set to use a query that retrieves customer
numbers from a table:

SELECT custID as thecustid FROM custTable WHERE [criteria]

The result set is set to "Full Result Set". On the Result Set tab, I
have Result Name thecustid mapped to User::g_custID, which is a
global-scope variable of type Object.

When I attempt to run the query, I get this message:

[Execute SQL Task] Error: The result binding name must be set to zero
for full result set and XML results.

What have I done wrong in this setup?




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.