MySQL Forums
Forum List  »  Portuguese

Campos virtuais no myusql
Posted by: Denilson Rapelli
Date: September 01, 2010 12:07PM

Ola,
em alguns bancos de dados temos o conceito de campo virtual, ou seja,
campos que tem seu conteudo calculo dinamicamente de acordo com o valor colocado em outros campos da mesma tabela.

Como implementar campos assim no mysql for exemplo

field3 = concat(field1,field2)

field1 field2 field3
1 2 12
4 2 42

grato
Denilson Rapelli

Options: ReplyQuote


Subject
Views
Written By
Posted
Campos virtuais no myusql
3743
September 01, 2010 12:07PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.