Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how set "default" inthe name of column ?  RSS feed

 
amir taghvayi
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
i try to run this code :



i get sql error near "`defualt` tinyint(1) NOT NULL default '0'," .

please help me !!!
 
Scott Selikoff
author
Bartender
Posts: 4085
21
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since it's a numeric type, have tried "default 0" without the quotes around '0'.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!