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? Quote Link to comment Share on other sites More sharing options...
fenway Posted June 20, 2008 Share Posted June 20, 2008 That's very specific. Quote Link to comment 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..... Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.