scarhand Posted June 20, 2008 Share Posted June 20, 2008 do i have to be specific when setting datatypes, or is it ok to just use CREATE TABLE tabratings ( ratingid int unsigned NOT NULL auto_increment, tabid int NOT NULL, raterrid int NOT NULL, rating int NOT NULL, PRIMARY KEY (ratingid) ); ive always done things this way....any experts give a problem with this? Link to comment https://forums.phpfreaks.com/topic/111148-drawbacks-of-not-being-specific/ Share on other sites More sharing options...
fenway Posted June 20, 2008 Share Posted June 20, 2008 That's very specific. Link to comment https://forums.phpfreaks.com/topic/111148-drawbacks-of-not-being-specific/#findComment-570503 Share on other sites More sharing options...
scarhand Posted June 20, 2008 Author Share Posted June 20, 2008 That's very specific. mean instead of using int(20) i am just using int..... Link to comment https://forums.phpfreaks.com/topic/111148-drawbacks-of-not-being-specific/#findComment-570551 Share on other sites More sharing options...
fenway Posted June 20, 2008 Share Posted June 20, 2008 int(20) doesn't actually do anything... not as far as the data are concerned. Link to comment https://forums.phpfreaks.com/topic/111148-drawbacks-of-not-being-specific/#findComment-570566 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.