Subject | RE: [IBO] possible problem IBO4.7.Beta 5 and IB_SQL |
---|---|
Author | Roger Vellacott |
Post date | 2006-11-25T09:10:37Z |
One source of the error message "updating a read only column" in FB2 is
that NEW. and OLD. field identifiers have become read-only where they
have no meaning. For example, OLD. field names are read only in
BEFORE|AFTER INSERT triggers, and NEW. are read only in BEFORE|AFTER
DELETE triggers. Worth checking.
Roger Vellacott
-----Original Message-----
From: Hans [mailto:hhoogstraat@...]
Sent: 25 November 2006 05:47
To: IBObjects@yahoogroups.com
Subject: Re: [IBO] possible problem IBO4.7.Beta 5 and IB_SQL
The problem I'm trying to isolate is that on a join, the joined columns
the
old way are read-only and now
they are not, causing a problem with Asta. Just cant quite put my finger
on
it, but it does break all
formerly working Asta operation, with a trying to update a Read-Only
columns
error message
that NEW. and OLD. field identifiers have become read-only where they
have no meaning. For example, OLD. field names are read only in
BEFORE|AFTER INSERT triggers, and NEW. are read only in BEFORE|AFTER
DELETE triggers. Worth checking.
Roger Vellacott
-----Original Message-----
From: Hans [mailto:hhoogstraat@...]
Sent: 25 November 2006 05:47
To: IBObjects@yahoogroups.com
Subject: Re: [IBO] possible problem IBO4.7.Beta 5 and IB_SQL
The problem I'm trying to isolate is that on a join, the joined columns
the
old way are read-only and now
they are not, causing a problem with Asta. Just cant quite put my finger
on
it, but it does break all
formerly working Asta operation, with a trying to update a Read-Only
columns
error message
----- Original Message -----
From: "Jason Wharton" < supportlist@
<mailto:supportlist%40ibobjects.com> ibobjects.com>
To: < IBObjects@yahoogrou <mailto:IBObjects%40yahoogroups.com> ps.com>
Sent: Friday, November 24, 2006 8:45 PM
Subject: RE: [IBO] possible problem IBO4.7.Beta 5 and IB_SQL
>I have made adjustments to the look and feel of IB_SQL.
>
> I don't see anything to get overly concerned about here.
>
> Please let me know if you feel I have missed something.
>
> I believe it is appropriate for stored procedure names to be treated
as
> the
> relation name. It is possible to provide a relation alias name when
using
> stored procedures and so it would be important to have that behavior
also
> remain in keeping with things.
>
> Jason
>
>
>> -----Original Message-----
>> From: IBObjects@yahoogrou <mailto:IBObjects%40yahoogroups.com> ps.com
[mailto: IBObjects@yahoogrou <mailto:IBObjects%40yahoogroups.com>
ps.com]On
>> Behalf Of Hans
>> Sent: Friday, November 24, 2006 8:17 PM
>> To: IBObjects@yahoogrou <mailto:IBObjects%40yahoogroups.com> ps.com
>> Subject: [IBO] possible problem IBO4.7.Beta 5 and IB_SQL
>>
>>
>> [IBO] possible problem IBO4.7.Beta 5 or/and IB_SQL
>>
>> ALTER PROCEDURE GETTICKETITEMS( MYTICKET_UNIQUENUM
>> INTEGER )
>> RETURNS ( TICKET_UNIQUENUM INTEGER
>> , TICKET_ENTRYNO INTEGER
>> , HOUSE_UNIQUENUM INTEGER
>> , PROD_NAME . VARCHAR(40)
>>
>> A select * from GETTICKETITEMS(75827)
>>
>> ========================================================
>>
>> Old IB_SQL on FB1.5.3 produces
>>
>> Fieldnames:
>> TICKET_UNIQUENUM
>> TICKET_ENTRYNO
>> HOUSE_UNIQUENUM
>> PROD_NAME
>>
>> Fields Field Type
>> TICKET_UNIQUENUM Integer
>> TICKET_ENTRYNO Integer
>> HOUSE_UNIQUENUM Integer
>> PROD_NAME VarText(40)
>>
>> ========================================================
>>
>>
>> New IB_SQL on FB2.0.0 produces
>> Fieldnames
>> GETTICKETITEMS.TICKET_UNIQUENUM
>> GETTICKETITEMS.TICKET_ENTRYNO
>> GETTICKETITEMS.HOUSE_UNIQUENUM
>> GETTICKETITEMS.PROD_NAME
>>
>> Fields
>> Field Type
>> GETTICKETITEMS.TICKET_UNIQUENUM (Integer)INTEGER
>> GETTICKETITEMS.TICKET_ENTRYNO (Integer)INTEGER
>> GETTICKETITEMS.HOUSE_UNIQUENUM (Integer)INTEGER
>> GETTICKETITEMS.PROD_NAME (VarText)VARCHAR(40)
>>
>> ========================================================
>>
>> New IB_SQL on FB1.5.3 produces
>> Fieldnames
>> TICKET_UNIQUENUM
>> TICKET_ENTRYNO
>> HOUSE_UNIQUENUM
>> PROD_NAME
>>
>> Fields
>> Field Type
>> GETTICKETITEMS.TICKET_UNIQUENUM (Integer)INTEGER
>> GETTICKETITEMS.TICKET_ENTRYNO (Integer)INTEGER
>> GETTICKETITEMS.HOUSE_UNIQUENUM (Integer)INTEGER
>> GETTICKETITEMS.PROD_NAME (VarText)VARCHAR(40)
>
>
>
> __________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or
> InterBase
> without the need for BDE, ODBC or any other layer.
> __________________________________________________________
> http://www.ibobject <http://www.ibobjects.com> s.com - your IBO
community resource for Tech Info
> papers,
> keyword-searchable FAQ, community code contributions and more !
> Yahoo! Groups Links
>
>
>