Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > ger.ct > #569124

Re: Postgressql

From Michael Bode <m.g.bode@web.de>
Newsgroups ger.ct
Subject Re: Postgressql
Date 2022-10-02 20:43 +0200
Message-ID <jpu4eeF64clU2@mid.individual.net> (permalink)
References <thckve$1mb4h$4@dont-email.me>

Show all headers | View raw


Goetz Schultz <news.expire1225@goetz.co.uk> writes:

> Hi,
>
> ich stehe vor einem Problem, wo ich nicht weiss ob es nicht geht und
> deshalb keine Antwort finde oder einfach nur falsch suche:
>
> In einem SELECT-Statement ist eines der Felder ein BigInt. Ich moechte
> von dem BigInt-wert die letzten beiden Ziffern wegfallen lassen (also
> statt 10 nur 8 Ziffern). Geht das mit Bordmitteln (Skripten /nach/ der
> Ausgabe geht, ist aber suboptimal).

select column / 100 from table;

Oder verstehe ich das Problem nicht?

-- 
"Die Abwesenheit von Evidenz zur Wirksamkeit ist keine Evidenz 
für die Abwesenheit von Wirksamkeit."
 - Der Grünen-Gesundheitsexperte Janosch Dahmen.

Back to ger.ct | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Postgressql Goetz Schultz <news.expire1225@goetz.co.uk> - 2022-10-02 19:23 +0100
  Re: Postgressql Michael Bode <m.g.bode@web.de> - 2022-10-02 20:43 +0200
    Re: Postgressql Goetz Schultz <news.expire1225@goetz.co.uk> - 2022-10-02 19:46 +0100
      Re: Postgressql Michael Bode <m.g.bode@web.de> - 2022-10-02 20:52 +0200
        Re: Postgressql Goetz Schultz <news.expire1225@goetz.co.uk> - 2022-10-02 19:59 +0100
          Re: Postgressql Stefan+Usenet@Froehlich.Priv.at (Stefan Froehlich) - 2022-10-03 08:01 +0000
        Re: Postgressql Goetz Schultz <news.expire1225@goetz.co.uk> - 2022-10-03 10:30 +0100
  Re: Postgressql Goetz Schultz <news.expire1225@goetz.co.uk> - 2022-10-02 19:44 +0100
    Re: Postgressql Stefan+Usenet@Froehlich.Priv.at (Stefan Froehlich) - 2022-10-03 08:06 +0000
      Re: Postgressql Michael Bode <m.g.bode@web.de> - 2022-10-03 10:15 +0200
        Re: Postgressql Stefan+Usenet@Froehlich.Priv.at (Stefan Froehlich) - 2022-10-03 09:57 +0000
        Re: Postgressql Michael Bode <m.g.bode@web.de> - 2022-10-03 12:12 +0200

csiph-web