對於網路上流傳的dv7.1.0sql版本,真正是由商業使用者洩漏出來的存在2個版本。
乙個 是檔案大小為127k(占用空間128k)的club.sql,另乙個是124k的club.sql。
127k
我粗劣的對比了一下access和兩種sql資料的的差別:
1、 access和第二種sql資料庫的差別:
sql的比access的多了乙個dv_templates表,
並且取消了access才需要的dv_notdownload表。
當然,我沒有去對比兩者字段。
2、第一種sql和第二種sql的差別:
在表的設計中:第一種多了:dv_adcode、dv_blackolmenu這兩個表。
儲存過程兩者完全相同,隻字不差!
2005.04.21補充:
被刪除的指令碼:
if exists (select * from dbo.sysobjects where id = object_id(n'[dv_adcode]') and objectproperty(id, n'isusertable') = 1)
drop table [dv_adcode]
gogo
if exists (select * from dbo.sysobjects where id = object_id(n'[dv_blackolmenu]') and objectproperty(id, n'isusertable') = 1)
drop table [dv_blackolmenu]
create table [dv_adcode] (
[a_id] [int] identity (1, 1) not null ,
[a_address] [varchar] (5) collate chinese_prc_ci_as null ,
[a_filetype] [varchar] (5) collate chinese_prc_ci_as null ,
[a_rate] [varchar] (5) collate chinese_prc_ci_as null ,
[a_adcode] [text] collate chinese_prc_ci_as null ,
[a_addtime] [**alldatetime] null ,
[a_isforum] [tinyint] null
) on [primary] textimage_on [primary]
gogo
create table [dv_blackolmenu] (
[id] [int] identity (1, 1) not null ,
[menutext] [text] collate chinese_prc_ci_as null
) on [primary] textimage_on [primary]
【create table [dv_usergroups] 中的】
[isdisp] [tinyint] null ,
alter table [dv_adcode] with nocheck add
constraint [pk_dv_adcode] primary key clustered
([a_id]
) on [primary]
gogo
alter table [dv_blackolmenu] with nocheck add
constraint [pk_dv_bmenu] primary key clustered
([id]
) on [primary]
alter table [dv_adcode] add
constraint [df_dv_adcode_a_addtime] default (getdate()) for [a_addtime],
constraint [df_dv_adcode_a_isforum] default (0) for [a_isforum]
gocreate index [disp] on [dv_adcode]([a_address]) on [primary]
go
論壇中展示某模組的帖子資訊
use webe go 物件 storedprocedure dbo p fposts modulepostsoutput 指令碼日期 07 29 2010 20 43 47 set ansi nulls ongo setquoted identifier ongo 某模組的帖子主題 create ...
論壇中展示某模組的帖子資訊
use webe go 物件 storedprocedure dbo p fposts modulepostsoutput 指令碼日期 07 29 2010 20 43 47 set ansi nulls ongo setquoted identifier ongo 某模組的帖子主題 create ...
iBATIS 三個版本小細節對比
之前受ibatis 版本問題的打擊實在太大,便決定把ibatis三個版本的一些改動的地方羅列出來對比一下,方便以後查閱,也用於警醒自己.ibatis v1 ibatis v2 ibatis v3 doctype sql map config.dtd sql map config 2.dtd ibat...