On most tutorial website for mysql all the date format is in this form 2006-10-17..
User table
-----------
User_name VARCHAR(20),
Join_date DATE,
Alive VARCHAR(1),
..etc etc
I was wondering ,
1) is it possible that i can put the date in this format 17/10/2006.. rather the usual 2006-10-17??
Also.... how can i initial a default value to a column..
e.g...
Alive VARCHAR(1) NOT NULL,
When i create a table User
2) How can i initial 'Y' Or 'True/false' as the initial value in column Alive, e.g... if i type
DESCRIBE USER
Field Type NULL Default
it will show-> user_name varchar(20) No
Join_date date No No 00/00/0000
Alive varchar(1) No Y
OR
DESCRIBE USER
Field Type NULL Default
it will show-> user_name varchar(20) No
Join_date date No 00/00/0000
Alive boolean No True
Thank you!

