Jump to content
Fórum Script Brasil

Question

senhores gostaria de saber como da o update abaixo:

valor |
--------+
50.99999 |
autosystem=# update venda set valor=(trunc((valor)),2) where documento=9634;
ERRO: coluna "valor" é do tipo double precision mas expressão é do tipo record
LINHA 1: update venda set valor=(trunc((valor)),2) where documento=9634;
gostaria do valor assim 50.99
att
Helio Cássio

Link to post
Share on other sites

2 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Forum Statistics

    • Total Topics
      148902
    • Total Posts
      644991
×
×
  • Create New...