創(chuàng)建數(shù)據(jù)庫表

          create table 'book'
          (
          ?'book_id'?? int(11)??? not null AUTO_INCREMENT,
          ?'book_name' varchar(100)?? not null default?? '',
          ?'book_author'? varchar(100)??? not null default? '',
          ?'book_price'?? double????????? not null default? '0',
          ?'image'??????? varchar(100)??? not null default? '',
          ?'describe'???? varchar(200)??? not null default? '',
          ?primary key('book_id')
          )
          例示:
          create table 'student'
          (
          'student_id' int(11) not null autou_increment,
          'student_name' varchar(100) not null default '',
          'student_number' double not null default '0',
          primary key('student_id')
          )

          posted on 2007-01-06 13:21 youngturk 閱讀(533) 評論(1)  編輯  收藏 所屬分類: 數(shù)據(jù)庫方面

          評論

          # re: 創(chuàng)建數(shù)據(jù)庫表 2007-08-08 22:24 yaoyuqing

          [Microsoft][ODBC SQL Server Driver][SQL Server]數(shù)據(jù)庫 'WebMedia' 的日志已滿。請備份該數(shù)據(jù)庫的事務(wù)日志以釋放一些日志空間。

            回復(fù)  更多評論   

          <2007年1月>
          31123456
          78910111213
          14151617181920
          21222324252627
          28293031123
          45678910

          導(dǎo)航

          統(tǒng)計

          公告

          this year :
          1 jQuery
          2 freemarker
          3 框架結(jié)構(gòu)
          4 口語英語

          常用鏈接

          留言簿(6)

          隨筆分類

          隨筆檔案

          文章分類

          文章檔案

          相冊

          EJB學習

          Flex學習

          learn English

          oracle

          spring MVC web service

          SQL

          Struts

          生活保健

          解析文件

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 屏东市| 濉溪县| 聂荣县| 图们市| 金乡县| 屏南县| 西畴县| 合阳县| 兰西县| 娄底市| 若尔盖县| 丹凤县| 鄯善县| 昭苏县| 赞皇县| 涞源县| 盐津县| 合江县| 郁南县| 卢氏县| 阿拉善右旗| 新郑市| 万荣县| 防城港市| 红安县| 晋城| 连平县| 鄱阳县| 尉犁县| 长春市| 靖远县| 明溪县| 建水县| 贺兰县| 榆社县| 罗源县| 泗洪县| 齐河县| 桑植县| 广东省| 宾阳县|