欧美特黄不卡,涩涩视频在线,成人国产精品一区二区网站,亚洲一区二区三区欧美

當(dāng)前位置:win10系統(tǒng)下載站 > 技術(shù)開發(fā)教程 > 詳細(xì)頁(yè)面

桌面中心(一) 創(chuàng)建數(shù)據(jù)庫(kù)   

桌面中心(一) 創(chuàng)建數(shù)據(jù)庫(kù)   

更新時(shí)間:2019-04-27 文章作者:未知 信息來(lái)源:網(wǎng)絡(luò) 閱讀次數(shù):

這是小弟第一次寫文章。不知道能不能發(fā)布呀。。我把程序?qū)懗鰜?lái)是想要大家參考一下。如果有哪位高手能改出更好的程序,
請(qǐng)別忘了和我說(shuō)一聲呀。 :P
源程序的演示頁(yè)面在elong.oso.com.cn/desk/
第一步創(chuàng)建數(shù)據(jù)庫(kù):
我們就以OSO的數(shù)據(jù)庫(kù)為列說(shuō)明一下。
先登入數(shù)據(jù)庫(kù)。然后在點(diǎn)自己的的數(shù)據(jù)庫(kù)名,就在左邊。
在輸入命令那兒輸入以下命令。
CREATE TABLE jpg (
id int(8) NOT NULL auto_increment,
url char(255) NOT NULL,
mess char(100) NOT NULL,
fromx char(50) NOT NULL,
url1 char(255) NOT NULL,
mess1 char(100) NOT NULL,
fromx1 char(50) NOT NULL,
url2 char(255) NOT NULL,
mess2 char(100) NOT NULL,
fromx2 char(50) NOT NULL,
url3 char(255) NOT NULL,
mess3 char(100) NOT NULL,
fromx3 char(50) NOT NULL,
PRIMARY KEY (id)
);
CREATE TABLE jpg1 (
id int(8) NOT NULL auto_increment,
url char(255) NOT NULL,
mess char(100) NOT NULL,
fromx char(50) NOT NULL,
url1 char(255) NOT NULL,
mess1 char(100) NOT NULL,
fromx1 char(50) NOT NULL,
url2 char(255) NOT NULL,
mess2 char(100) NOT NULL,
fromx2 char(50) NOT NULL,
url3 char(255) NOT NULL,
mess3 char(100) NOT NULL,
fromx3 char(50) NOT NULL,
PRIMARY KEY (id)
);
CREATE TABLE jpg2 (
id int(8) NOT NULL auto_increment,
url char(255) NOT NULL,
mess char(100) NOT NULL,
fromx char(50) NOT NULL,
url1 char(255) NOT NULL,
mess1 char(100) NOT NULL,
fromx1 char(50) NOT NULL,
url2 char(255) NOT NULL,
mess2 char(100) NOT NULL,
fromx2 char(50) NOT NULL,
url3 char(255) NOT NULL,
mess3 char(100) NOT NULL,
fromx3 char(50) NOT NULL,
PRIMARY KEY (id)
);
CREATE TABLE jpg3 (
id int(8) NOT NULL auto_increment,
url char(255) NOT NULL,
mess char(100) NOT NULL,
fromx char(50) NOT NULL,
url1 char(255) NOT NULL,
mess1 char(100) NOT NULL,
fromx1 char(50) NOT NULL,
url2 char(255) NOT NULL,
mess2 char(100) NOT NULL,
fromx2 char(50) NOT NULL,
url3 char(255) NOT NULL,
mess3 char(100) NOT NULL,
fromx3 char(50) NOT NULL,
PRIMARY KEY (id)
);
CREATE TABLE jpg4 (
id int(8) NOT NULL auto_increment,
url char(255) NOT NULL,
mess char(100) NOT NULL,
fromx char(50) NOT NULL,
url1 char(255) NOT NULL,
mess1 char(100) NOT NULL,
fromx1 char(50) NOT NULL,
url2 char(255) NOT NULL,
mess2 char(100) NOT NULL,
fromx2 char(50) NOT NULL,
url3 char(255) NOT NULL,
mess3 char(100) NOT NULL,
fromx3 char(50) NOT NULL,
PRIMARY KEY (id)
);
這些命令的意思是創(chuàng)建四個(gè)表來(lái)存放數(shù)據(jù)。這就代表圖片的四個(gè)類。如果你要加類就可以多加表和改一下源程序。

溫馨提示:喜歡本站的話,請(qǐng)收藏一下本站!

本類教程下載

系統(tǒng)下載排行

主站蜘蛛池模板: 灵宝市| 泾阳县| 通许县| 呼和浩特市| 辉县市| 广丰县| 鄂伦春自治旗| 清流县| 天气| 枣庄市| 巫溪县| 仪陇县| 晋中市| 祁连县| 峨山| 惠水县| 石首市| 博兴县| 咸宁市| 卓资县| 阳泉市| 鄯善县| 镇原县| 宣汉县| 阳城县| 封开县| 加查县| 扎兰屯市| 六枝特区| 聂拉木县| 曲水县| 航空| 达州市| 遵义市| 应城市| 沙雅县| 余庆县| 新密市| 阿拉善盟| 平果县| 朔州市|