Subject | Re: [ib-support] problem with Employee database |
---|---|
Author | Helen Borrie |
Post date | 2002-08-17T23:23:59Z |
At 12:54 PM 17-08-02 -0300, you wrote:
commit a valid change, new_salary changes, because it is a computed column.
answer the question you intended to ask?
heLen
All for Open and Open for All
Firebird Open SQL Database · http://firebirdsql.org ·
http://users.tpg.com.au/helebor/
______________________________________________________________________
>I've seen the constraint (named INTEG_54), but it saysCorrect: percent_change is not a computed column. However, when you
>
>CHECK (percent_change between -50 and 50)
>
>and, as far as I can see, if you do update column old_salary to any value,
>column percent_change doesn't change... the value is in range as it is in
>the table.
commit a valid change, new_salary changes, because it is a computed column.
>Besides... i can't see where the error messageIt comes from the database - it is returned in the error array. Does that
>'validation error for column OLD_SALARY, value "0.00 "'
>comes from
answer the question you intended to ask?
heLen
All for Open and Open for All
Firebird Open SQL Database · http://firebirdsql.org ·
http://users.tpg.com.au/helebor/
______________________________________________________________________