Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Tworzenie tabel, typ_danej(x), czym jest x ?
aren
post
Post #1





Grupa: Zarejestrowani
Postów: 25
Pomógł: 1
Dołączył: 8.03.2007

Ostrzeżenie: (0%)
-----


W manualu mysql czytamy http://pl.php.net/http://dev.mysql.com/doc...data-types.html

M indicates the maximum display width for integer types. For floating-point and fixed-point types, M is the total number of digits that can be stored. For string types, M is the maximum length. The maximum allowable value of M depends on the data type.

INT[(M)] [UNSIGNED] [ZEROFILL]

A normal-size integer. The signed range is -2147483648 to 2147483647. The unsigned range is 0 to 4294967295" title="Zobacz w manualu PHP" target="_manual">http://dev.mysql.com/doc/refman/5.0/en/data-types.html
M indicates the maximum display width for integer types. For floating-point and fixed-point types, M is the total number of digits that can be stored. For string types, M is the maximum length. The maximum allowable value of M depends on the data type.

INT[(M)] [UNSIGNED] [ZEROFILL]

A normal-size integer. The signed range is -2147483648 to 2147483647. The unsigned range is 0 to 4294967295

Wiec czy w przypadku int(m) max(m) = 10 ? jesli wiec zrobie int(2) max z tego bedzie 99 ?
Go to the top of the page
+Quote Post

Posty w temacie
- aren   Tworzenie tabel   15.03.2007, 10:06:35
- - Norbas   Przecież napisali: Cytat... M indicates the maximu...   23.03.2007, 23:52:50


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 21.08.2025 - 15:51