fallenapples
In Runtime
- Messages
- 386
- Location
- Toronto, Ontario
How come I do not get the numbers I entered when I created the this table?
When I SELECT * FROM contacts, columns 2 and 3 show numbers 2147483647. All the other values are correct; why don't the numbers show correctly?
Code:
CREATE TABLE contacts
(
name CHAR(15),
phone_mobile INT(15),
phone_work INT(15),
email CHAR(15),
relation_id INT(15),
INSERT INTO contacts VALUES ('Robert',4167234839,9384534455,'robertad',1);
When I SELECT * FROM contacts, columns 2 and 3 show numbers 2147483647. All the other values are correct; why don't the numbers show correctly?