中文字幕在线观看,亚洲а∨天堂久久精品9966,亚洲成a人片在线观看你懂的,亚洲av成人片无码网站,亚洲国产精品无码久久久五月天

access升遷sqlserver(代理平臺(tái)數(shù)據(jù)庫(kù)轉(zhuǎn)換)

注意:請(qǐng)使用office的microsoft access進(jìn)行轉(zhuǎn)換,推薦office 2007以上版本 。其他第三方office工具可能無(wú)法操作。

1.雙擊global.mdb打開(kāi)access數(shù)據(jù)庫(kù)-數(shù)據(jù)庫(kù)工具-sqlserver

圖片1.png 

 

 

2.使用現(xiàn)有數(shù)據(jù)庫(kù)-下一步-dsn名稱后

圖片2.png


3.選擇sqlserver

圖片3.png

 

4.下一步-瀏覽,設(shè)置一個(gè)數(shù)據(jù)源名稱,

test,下一步,完成

圖片8.png

 

下一步,選擇使用用戶輸入登陸id和密碼的sqlserver驗(yàn)證,填寫(xiě)數(shù)據(jù)庫(kù)帳號(hào)密碼

圖片5.png

 

下一步,勾選更改默認(rèn)的數(shù)據(jù)庫(kù)為,并在下拉框中選擇對(duì)應(yīng)數(shù)據(jù)庫(kù)

圖片7.png 

下一步-完成-確定-確定

圖片6.png

 

輸入數(shù)據(jù)庫(kù)密碼,確定

圖片8.png 

點(diǎn)擊雙箭頭將左側(cè)所有表都添加到右側(cè),下一步-下一步-下一步-完成

等待所有表都創(chuàng)建到sqlserver服務(wù)器的數(shù)據(jù)庫(kù)中即可

 

代理平臺(tái)升級(jí)數(shù)據(jù)庫(kù)后

編輯config/const.asp

isdbsql=true  ' 數(shù)據(jù)庫(kù)類(lèi)型

SqlUsername="xiuzhanwang"  ' 登陸帳號(hào)

SqlPassword="******"  ' 登陸密碼

SqlDatabaseName="xiuzhanwang"  ' 數(shù)據(jù)庫(kù)名稱

SqlHostIP="sql.xxx.vhostgo.com"  ' 連接地址

 

然后用sql管理器或者navicat for sqlserver等工具連接sqlserver數(shù)據(jù)庫(kù),執(zhí)行以下sql語(yǔ)句修改部分字段類(lèi)型 


image.png

alter table countlist alter column c_memo nvarchar(MAX) 

alter table productlist alter column p_name nvarchar(MAX) 
alter table producttype alter column pt_memo nvarchar(MAX) 
alter table protofree alter column freeproid1 nvarchar(MAX) 
alter table ActionLog alter column Remark nvarchar(MAX) 
alter table ActionLog alter column Remark nvarchar(MAX) 
alter table cache_app alter column value nvarchar(MAX) 
alter table domaintrans alter column whoisbody nvarchar(MAX) 
alter table Free alter column f_content nvarchar(MAX) 
alter table HostRental alter column Memo nvarchar(MAX) 
alter table HostRental alter column weihulist nvarchar(MAX) 
alter table mailsitelist alter column m_agent nvarchar(MAX) 

alter table ShopCart alter column addtime datetime

alter table ShopCart  ADD DEFAULT getdate() for addtime

alter table UserDetail ADD DEFAULT getdate() for u_regdate

alter table UserDetail ADD DEFAULT 0 for u_resumesum

alter table UserDetail ADD DEFAULT 0 for u_usemoney

alter table UserDetail ADD DEFAULT 0 for u_Invoice

alter table UserDetail ADD DEFAULT 0 for u_remcount

alter table UserDetail ADD DEFAULT 0 for u_borrormax

alter table countlist ADD DEFAULT 0 for u_in

update UserDetail set u_resumesum=0 where u_resumesum is null
update UserDetail set u_usemoney=0 where u_usemoney is null
update UserDetail set u_Invoice=0 where u_Invoice is null

update userdetail set u_remcount=0 where u_remcount is null

update userdetail set u_borrormax=0 where u_borrormax is null

update countlist set u_in=0 where u_in is null

set identity_insert serverroomlist ON

再取消serverroomlist 表r_id字段的標(biāo)識(shí)

注意:您如果使用數(shù)據(jù)庫(kù)自帶管理工具,請(qǐng)?jiān)谶x項(xiàng)中取消阻止保存要求重新創(chuàng)建表的更改

image.png




編輯:西部數(shù)碼
日期:2018-05-08

收藏 】 【 打印 】   
您可對(duì)文檔進(jìn)行評(píng)分喲~

勾選遇到的問(wèn)題提交給我們,收到反饋后保證及時(shí)修正更新!

提交反饋需要先登陸會(huì)員帳號(hào)

上一篇:企業(yè)郵箱如何設(shè)置郵件監(jiān)控
下一篇:遠(yuǎn)程桌面時(shí)出現(xiàn)“身份驗(yàn)證錯(cuò)誤,要求的函數(shù)不受支持”解決辦法
若文檔內(nèi)容對(duì)您沒(méi)有幫助,不能解決問(wèn)題? 您還可以 咨詢?cè)诰客服提交工單搜索常見(jiàn)問(wèn)題 ,我們將竭誠(chéng)為您服務(wù)。
  >> 相關(guān)文章
 
分享至:
Top

24小時(shí)客服熱線

400-028-5800

028-62778877

您好,非正常上班時(shí)間若有緊急技術(shù)問(wèn)題,請(qǐng)撥總機(jī)后按7號(hào)鍵, 其他問(wèn)題請(qǐng)?zhí)峤还位蛟谏习鄷r(shí)間聯(lián)系,謝謝支持!