On Fri, Jan 21, 2005 at 07:38:59PM +0100, Javier wrote:
> Now I need to put data in a db but the problem is with this calculated
> data. A friend of mine that use Oracle told me that I could define a field
> like field1 = field2 + field3, but I can't discover this option in Mysql.
You can't define a table that way. However when selecting the
data you can do 
select (field2+field3) FIELD1, field2, field3 from table

such that you'll get the calculated field.

-Jason Martin
-- 
When I tried to take an ego trip I got stopped at the border
This message is PGP/MIME signed.

Attachment: pgpwOoiS87sEx.pgp
Description: PGP signature

Reply via email to