Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Sybase > Re: ct_get_data...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 2476 of 2544
Post > Topic >>

Re: ct_get_data() fails

by SybaseNeal <nstack21@[EMAIL PROTECTED] > May 27, 2008 at 10:52 AM

Hello,

Information about ct_get_data() can be found here:
http://infocenter.sybase.com/help/index.jsp?topic=3D/com.sybase.dc32840_1500=
/html/ctref/CHDGIEJF.htm

Basically what this error is telling you is that the application is
calling ct_get_data() on column 2
but has likely called ct_bind() on column 3.  From the manual:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Only those columns following the last bound column are available to
ct_get_data. Data in unbound
columns that precede bound columns is discarded. For example, if an
application selects column
numbers 1=964 and binds column numbers 1 and 3, the application cannot
use ct_get_data to retrieve
the data for column 2, but can use ct_get_data to retrieve the data
for column 4.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

So if you were to change your select statement to something like the
following it should not be a problem:
  select Business_unit_id, Open_market, Picture from QUOTEDTL22

I'm not sure how you would reorder the select statement if this is
Replication Server raising the error.
Maybe redefine the table such that the text/image column is listed
last?

Thanks,
  Neal
 




 2 Posts in Topic:
ct_get_data() fails
jitesh120@[EMAIL PROTECTE  2008-05-27 01:53:48 
Re: ct_get_data() fails
SybaseNeal <nstack21@[  2008-05-27 10:52:28 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Oct 15 12:35:23 CDT 2008.