Re: Newbie question about BIGINT and INT in the same table

From: ^Bart <gabriele1NOSPAM_at_hotmail.com>
Date: Sat, 26 Oct 2019 21:06:17 +0200
Message-ID: <qp25f7$1jpd$1_at_gioia.aioe.org>


Thanks for your reply! :)

> Study this page until you understand MySQL data types. It sounds like
> you do not, yet :-)
>
> https://www.w3schools.com/sql/sql_datatypes.asp

I read it and I found important information about SQL data type I didn't know before but... tell me about this:

id_user (BIGINT) FK_city (INT)


1			1	
2		 	2
...		 	...
18446744073709551615	4294967295

Should I set also FK_city like BIGINT?

Regards.
^Bart Received on Sat Oct 26 2019 - 21:06:17 CEST

Original text of this message