@lololo said in Проблема с базой данных:
Если вы выберете в базе данных поле «число» вместо «строка», максимальное число будет равно 10000.
Я работаю с большими числами, поэтому я не могу обновить базу данных.
Любое решение?
Спасибо!
0_1570646388158_a74e7594-726d-434d-a886-3764a67f79b6-изображение.png
0_1570646404930_5a3bdb14-8377-4920-9878-0f6ba10272bb-изображение.png
0_1570646479874_689f2f8a-ee91-48f4-8685-8c7d6bc8521c-изображение.png
In the BAS database, in the int column, you can put a digit no more than 2147483647
0_1570647505802_ae4b8d08-cae8-48e8-b35b-9248d5c30a64-изображение.png
Test script
The number 2 147 483 647 is also the maximum value for a 32-bit signed integer in >computing. It is therefore the maximum value for variables declared as int in many >programming languages running on popular CPUs, and the maximum possible score (or amount >of money) for many video games. The appearance of the number often reflects an error, >overflow condition, or missing value.
Use third-party databases or specify the column type string. And in the script itself, convert string to int.