![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 340 Pomógł: 0 Dołączył: 28.09.2015 Ostrzeżenie: (0%) ![]() ![]() |
Witam serdecznie,
Mam zapytanie:
Które zwraca mi błąd: #1690 - BIGINT UNSIGNED value is out of range in '(((`radio`.`baza `.`szer` - 51.8566932) ^ 2) + ((`radio`.`baza `.`dl` - 4.3604945) ^ 2))' Wie ktoś może jak to naprawić? |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 286 Pomógł: 46 Dołączył: 10.01.2016 Ostrzeżenie: (0%) ![]() ![]() |
Struktura tabeli:
+-------+---------------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +-------+---------------------+------+-----+---------+----------------+ | id | int(11) | NO | PRI | NULL | auto_increment | | szer | bigint(20) unsigned | YES | | NULL | | | dl | bigint(20) unsigned | YES | | NULL | | +-------+---------------------+------+-----+---------+----------------+ Dane: +----+-------+---------+ | id | szer | dl | +----+-------+---------+ | 1 | 15000 | 5500000 | +----+-------+---------+ Dla takiej struktury tabeli i takich danych wyrzuca mi: Empty set (0.00 sec). |
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 340 Pomógł: 0 Dołączył: 28.09.2015 Ostrzeżenie: (0%) ![]() ![]() |
Mam taką tabelę:
Szerokość i długość mam w formacie: 51.855747 4.361342 |
|
|
![]()
Post
#4
|
|
Grupa: Zarejestrowani Postów: 1 Pomógł: 0 Dołączył: 7.12.2016 Ostrzeżenie: (0%) ![]() ![]() |
Źle deklarujesz float dla szerokości i długości musisz żeby zapisało Ci się dla danych które masz to musisz zrobić szer float(11,6) a dla dl float(13,6)
A dlaczego to manual |
|
|
![]() ![]() |
![]() |
Aktualny czas: 21.08.2025 - 18:32 |