same thing for UPDATE or DELETE (all sql statement that
writes data) but SELECT works :-(
is there a problem in the database profile ??
The SQLCA declaration was paste from PB9. Hope that can
help
Seems like a bug ???
Otherwise, we're all just guesing.
// Profile PROD
SQLCA.DBMS = "O84 Oracle8/8i (8.x.4+)"
SQLCA.LogPass = <*****>
SQLCA.ServerName = "PROD"
SQLCA.LogId = "devpb"
SQLCA.AutoCommit = False
SQLCA.DBParm = "DisableUnicode=1"
-> Oracle 8.1.6
INSERT INTO xtads_formatpage ( killed,
format_id,
page_id,
)
VALUES (:w2_killed,
:formatpage_id,
:page_id,
)
USING SQLCA;
Are the values in any of the columns you are attempting to insert more
than 4000 characters long?
hope that's what you were excepting for :
// Profile PROD
SQLCA.DBMS = "O84 Oracle8/8i (8.x.4+)"
SQLCA.LogPass = <*****>
SQLCA.ServerName = "PROD"
SQLCA.LogId = "devpb"
SQLCA.AutoCommit = False
SQLCA.DBParm = "DisableUnicode=1"
INSERT INTO xtads_formatpage ( killed,
format_id,
page_id
)
VALUES (:w2_killed,
:formatpage_id,
:page_id
)
USING SQLCA;
Regards,
Didier.
"Bruce Armstrong [TeamSybase]" <NOCANSPAM_br...@teamsybase.com> a
écrit dans le message de news: 7hkr84907ktpp8c74...@4ax.com...
Are the values in any of the columns you are attempting to insert more
than 4000 characters long?
On 28 Jul 2008 23:19:34 -0700, "Didier CHAMBON"
so the answer is no ;=)
"Bruce Armstrong [TeamSybase]" <NOCANSPAM_br...@teamsybase.com> a
écrit dans le message de news: hq4u84tsr8kbar7il...@4ax.com...
"forum.sybase.com" <d.ch...@publiprint.fr> wrote in message
news:488f177d@forums-1-dub...
How can I get the size of the data ?
Didier.
"Bruce Armstrong [TeamSybase]" <NOCANSPAM_br...@teamsybase.com> a
écrit dans le message de news: 488f36cb@forums-1-dub...
On 30 Jul 2008 01:11:51 -0700, "forum.sybase.com"
sorry again but I don't know how to turn off binding. I've been using
PowerBuilder since 1 month so you can see I'm a newbie ;=) Is this a SQLCA
parameter ??
second thing, the error only appears when compiling not when the app is ran.
Didier.
"Bruce Armstrong [TeamSybase]" <NOCANSPAM_br...@teamsybase.com> a
écrit dans le message de news: m3p0941oaks8negtd...@4ax.com...
The fact that it only happens when you compile was a rather important piece
of info. In that case, add this to the PB.INI file in the [PB] section:
dbsign=0
That will turn off the feature that attempts to validate SQL at compile
time.
You mgiht also try stripping out the "USING SQLCA" clause. That's the
default, so it's meaningless to add it, but it may be fooling the compiler
into doing something stupid.
"forum.sybase.com" <d.ch...@publiprint.fr> wrote in message
news:48906f3e$1@forums-1-dub...