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


Groups > it.comp.www.php > #22768

Re: [OT] Info su BIGINT, INT, etc.

From ^Bart <gabriele1NOSPAM@hotmail.com>
Newsgroups it.comp.www.php
Subject Re: [OT] Info su BIGINT, INT, etc.
Date 2019-11-06 20:00 +0100
Organization Aioe.org NNTP Server
Message-ID <qpv584$jo8$1@gioia.aioe.org> (permalink)
References <qp1e4n$7sa$1@gioia.aioe.org> <u3rarepcqmnaplmpf3o02hhnv5k8cggilr@L.Serni> <qphbji$fae$1@gioia.aioe.org> <qphd6e$lt5$2@gioia.aioe.org> <0tmure99ha9fturp80vdk0cj2k6rpkurou@L.Serni>

Show all headers | View raw


> No: INT(60) significa che puoi memorizzare un massimo di 4294967295 (quindi
> nove cifre "e mezza"). Il Display Width ha senso solo se è PIU' PICCOLO del
> massimo numero di cifre rappresentabili. Che so: INT(8) o INT(6). Credo sia
> compreso il segno, quindi INT(11) ha senso.

Scusa ma faccio fatica a capire la logica di tutto questo, immaginiamoci 
un database come un foglio di Excel o Calc, ogni cella può essere 
formattata come testo, numero, etc.

Se una cella la imposto come INT(60) vuol dire che in ogni singola cella 
potrò memorizzare un numero fino a 60 cifre per un totale, avendo 
impostato quella colonna come INT UNSIGNED, di 4294967295 record/righe?

> Ma forse prima è meglio chiarire un altro punto: "cos'è che ti serve"?

A me interessa prima di tutto chiarire le idee per poi decidere in 
autonomia quale possa essere la scelta migliore per memorizzare i dati! :)

> Leonardo

Saluti!
^Bart

Back to it.comp.www.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[OT] Info su BIGINT, INT, etc. ^Bart <gabriele1NOSPAM@hotmail.com> - 2019-10-26 14:28 +0200
  Re: [OT] Info su BIGINT, INT, etc. bramante <bramante@yopmail.com> - 2019-10-26 22:19 +0200
    Re: [OT] Info su BIGINT, INT, etc. ^Bart <gabriele1NOSPAM@hotmail.com> - 2019-11-01 14:33 +0100
      Re: [OT] Info su BIGINT, INT, etc. ^Bart <gabriele1NOSPAM@hotmail.com> - 2019-11-01 14:47 +0100
        Re: [OT] Info su BIGINT, INT, etc. bramante <bramante@yopmail.com> - 2019-11-01 17:18 +0100
          Re: [OT] Info su BIGINT, INT, etc. ^Bart <gabriele1NOSPAM@hotmail.com> - 2019-11-02 13:29 +0100
            Re: [OT] Info su BIGINT, INT, etc. Alessandro Pellizzari <shuriken@amiran.it> - 2019-11-04 16:43 +0000
              Re: [OT] Info su BIGINT, INT, etc. ^Bart <gabriele1NOSPAM@hotmail.com> - 2019-11-06 19:52 +0100
                Re: [OT] Info su BIGINT, INT, etc. Alessandro Pellizzari <shuriken@amiran.it> - 2019-11-09 10:38 +0000
  Re: [OT] Info su BIGINT, INT, etc. Leonardo Serni <lserni@gmail.com> - 2019-10-27 11:10 +0100
    Re: [OT] Info su BIGINT, INT, etc. ^Bart <gabriele1NOSPAM@hotmail.com> - 2019-11-01 14:22 +0100
      Re: [OT] Info su BIGINT, INT, etc. ^Bart <gabriele1NOSPAM@hotmail.com> - 2019-11-01 14:50 +0100
        Re: [OT] Info su BIGINT, INT, etc. Leonardo Serni <lserni@gmail.com> - 2019-11-04 00:02 +0100
          Re: [OT] Info su BIGINT, INT, etc. ^Bart <gabriele1NOSPAM@hotmail.com> - 2019-11-06 20:00 +0100
            Re: [OT] Info su BIGINT, INT, etc. Leonardo Serni <lserni@gmail.com> - 2019-11-08 15:56 +0100

csiph-web