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


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

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-01 14:33 +0100
Organization Aioe.org NNTP Server
Message-ID <qphc6i$i2l$1@gioia.aioe.org> (permalink)
References <qp1e4n$7sa$1@gioia.aioe.org> <qp29o1$7qg$1@gioia.aioe.org>

Show all headers | View raw


> no

Ti ringrazio per la risposta e chiedo venia per le mie domande da newbie 
ma alle volte anche leggendo libri, manuali etc. qualche dubbio magari 
banale viene! :)

> una tabella di tipo innodb (engine) può contenere miliardi di record.
> id_user definito bigint unsigned vuol dire che può assumere come valore 
> massimo 18446744073709551615
> fk_id_city definito int può assumere -2^31 (-2,147,483,648) to 2^31-1 
> (2,147,483,647)

Quindi il valore massimo che può avere un tipo INT UNSIGNED è 10 perché 
posso memorizzare al massimo un valore di dieci cifre ovvero 4294967295 
anche perché se uso VARCHAR 10 posso memorizzare delle parole fino a 
dieci caratteri e l'undicesimo mi verrebbe tagliato...

> Saluti

Saluti e... grazie ancora per la pazienza! :D

^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