CEIL/de
Revision as of 09:59, 1 October 2012 by Peter (talk | contribs) (Created page with "Category:Deutsch <table align='right' border='1'> <caption>Kompatibilität</caption> <tr><th colspan='3'>CEIL(f)</th></tr> <tr><td align='center'>'''DBMS'''</td><td align=...")
CEIL(f) | ||
---|---|---|
DBMS | OK | Alternative |
Ingres | Ja | |
MySQL | Ja | |
Oracle | Ja | |
PostgreSQL | Ja | |
SQL Server | Nein | FLOOR(-f) |
CEIL
CEIL(f) ermittelt die Ganzzahl (Integer), die gleich oder die nächstgrößere Zahl zu f ist. CEIL rundet immer auf.
CEIL(2.7) -> 3 CEIL(-2.7) -> -2
In diesem Beispiel wird die Bevölkerungszahl (Population) in Millionen berechnet.
SELECT population/1000000 AS a,
FLOOR(population/1000000) AS b
FROM bbc
SELECT population/1000000 AS a,
CEIL(population/1000000) AS b
FROM bbc
Siehe auch
Language: | [[:{{#invoke:String|sub|CEIL/de
|1 |Expression error: Unrecognized punctuation character "{".}}|English]] |
---|