Ask a Question related to PERL Modules, Design and Development.
-
lnatz #1
placeholder error
I am using DBD-Sybase 1.05-oc12.5.1. When running my script I get the
following error:
ct_result(ct_dynamic(CS_PREPARE)) returned -205 at
//ms/dist/perl5/PROJ/DBD-Sybase/1.05-oc12.5.1-5.8/lib/perl5/DBD/Sybase.pm
line 150, <DATA> line 283.
I believe the error lies within this line:
$DBH->prepare("UPDATE $table_name SET $del_col = $del_val WHERE
$user_col = ?")
I know you can't use the prepare() call with placeholders. My problem
is that I don't know what to use instead of the placeholder. If anyone
would help me out, I would greatly appreciate it.
Thank You,
Natalie
lnatz Guest
-
Usercontorl in a placeholder
Hi, I am having this wierd issue. I have a usercontrol in a aspx page. Basically this user control has some labels and thats it. It has a printer... -
Build control in a placeholder or like a placeholder
Hi. I create a new custom control and it works fine. But now, I need to put it in any place on the page, like the placehold control do. Someone... -
Customize Placeholder Text?
Is it possible to customize the pseudo-latin default text that is added when I select Type > Fill With Placeholder Text? I am doing a lot of work in... -
4GL V7.31 placeholder problem?
Hi Testing 4GL V7.31 here, on HP-UX11i. The following code has worked in 4GL 6.05 thru 7.20 for over 7 years. Now in 7.31 it's failing at runtime... -
Placeholder Question
Hi all, I have a placeholder control on an ASPX page. I dynamically add a button control to the placeholder from code - all is well with the... -
Paul Lalli #2
Re: placeholder error
lnatz wrote:
What makes you think that? I mean, for all I know, you're right, but> I am using DBD-Sybase 1.05-oc12.5.1. When running my script I get the
> following error:
>
> ct_result(ct_dynamic(CS_PREPARE)) returned -205 at
> //ms/dist/perl5/PROJ/DBD-Sybase/1.05-oc12.5.1-5.8/lib/perl5/DBD/Sybase.pm
> line 150, <DATA> line 283.
>
> I believe the error lies within this line:
>
> $DBH->prepare("UPDATE $table_name SET $del_col = $del_val WHERE
> $user_col = ?")
>
nothing about that error message points to a specific line of your
code. Did you look up the Sybase documentation to see what -205 means?
Huh?> I know you can't use the prepare() call with placeholders.
I don't know where you got the idea that you can't use placeholders in> My problem
> is that I don't know what to use instead of the placeholder. If anyone
> would help me out, I would greatly appreciate it.
a prepare()'d statement. On the contrary, that's one of the primary
reasons for using prepare (followed by multiple executes) rather than a
simple do()...
Paul Lalli
Paul Lalli Guest



Reply With Quote

