torm icon indicating copy to clipboard operation
torm copied to clipboard

Reference attribute

Open gabrielgarciasp opened this issue 5 years ago • 2 comments

Hi.

How to reference another attribute in the update?

Example:

image

gabrielgarciasp avatar Dec 02 '19 18:12 gabrielgarciasp

Uh, good question. An attribute of the same object, right?

taq avatar Dec 02 '19 19:12 taq

Sim, os atributos são da mesma entidade.

Basicamente quero fazer um update assim:

UPDATE tabela SET colunaA = colunaB ...

gabrielgarciasp avatar Dec 03 '19 16:12 gabrielgarciasp