You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
522 lines
13 KiB
522 lines
13 KiB
--配置数据库地址
|
|
--在A8数据库执行
|
|
use KunMing_AiFaXing
|
|
|
|
|
|
|
|
|
|
/* ----------------------------------------------
|
|
|
|
模板
|
|
|
|
EXEC PInitConnection @FromServer='BOKA数据库地址,端口',
|
|
@FromDatabase='BOKA数据库名称',
|
|
@FromUser='BOKA数据库用户',
|
|
@FromPassword='BOKA数据库密码',
|
|
@ToDatabase='A8数据库名称'
|
|
|
|
--检查一下原数据库对不对
|
|
select * from fromServer.BOKA数据库名称.dbo.gam05
|
|
|
|
--检查一下新数据库对不对
|
|
select * from A8数据库名称.dbo.TCompany
|
|
|
|
----------------------------------------------*/
|
|
|
|
|
|
/* ----------------------------------------------
|
|
|
|
时光倒流
|
|
|
|
EXEC PInitConnection @FromServer='127.0.0.1,9919',
|
|
@FromDatabase='LuXi_ShiGuangDaoLiu_BK',
|
|
@FromUser='sa',
|
|
@FromPassword='Mik20170510~!@#',
|
|
@ToDatabase='LuXi_ShiGuangDaoLiu'
|
|
|
|
--检查一下原数据库对不对
|
|
select * from fromServer.LuXi_ShiGuangDaoLiu_BK.dbo.gam05
|
|
|
|
--检查一下新数据库对不对
|
|
select * from LuXi_ShiGuangDaoLiu.dbo.TCompany
|
|
|
|
|
|
----------------------------------------------*/
|
|
|
|
|
|
/* ----------------------------------------------
|
|
|
|
经典
|
|
|
|
EXEC PInitConnection @FromServer='127.0.0.1,9919',
|
|
@FromDatabase='YuXi_DangDaiJingDian_BK',
|
|
@FromUser='sa',
|
|
@FromPassword='Mik20170510~!@#',
|
|
@ToDatabase='YuXi_DangDaiJingDian'
|
|
|
|
--检查一下原数据库对不对
|
|
select * from fromServer.YuXi_DangDaiJingDian_BK.dbo.gam05
|
|
|
|
--检查一下新数据库对不对
|
|
select * from YuXi_DangDaiJingDian.dbo.TCompany
|
|
|
|
|
|
----------------------------------------------*/
|
|
|
|
|
|
/* ----------------------------------------------
|
|
|
|
华宣
|
|
|
|
EXEC PInitConnection @FromServer='127.0.0.1,9919',
|
|
@FromDatabase='KunMing_HuaXuan_BK',
|
|
@FromUser='sa',
|
|
@FromPassword='Mik20170510~!@#',
|
|
@ToDatabase='KunMing_HuaXuan'
|
|
|
|
--检查一下原数据库对不对
|
|
select * from fromServer.KunMing_HuaXuan_BK.dbo.gam05
|
|
|
|
--检查一下新数据库对不对
|
|
select * from KunMing_HuaXuan.dbo.TCompany
|
|
|
|
|
|
----------------------------------------------*/
|
|
|
|
|
|
|
|
/* ----------------------------------------------
|
|
|
|
爱丝
|
|
|
|
EXEC PInitConnection @FromServer='127.0.0.1,9919',
|
|
@FromDatabase='YiWei_AiSi_BK',
|
|
@FromUser='sa',
|
|
@FromPassword='Mik20170510~!@#',
|
|
@ToDatabase='YiWei_AiSi'
|
|
|
|
--检查一下原数据库对不对
|
|
select * from fromServer.YiWei_AiSi_BK.dbo.gam05
|
|
|
|
--检查一下新数据库对不对
|
|
select * from YiWei_AiSi.dbo.TCompany
|
|
|
|
|
|
----------------------------------------------*/
|
|
/* ----------------------------------------------
|
|
|
|
卡儿
|
|
|
|
EXEC PInitConnection @FromServer='127.0.0.1,9919',
|
|
@FromDatabase='KunMing_KaEr_BK',
|
|
@FromUser='sa',
|
|
@FromPassword='Mik20170510~!@#',
|
|
@ToDatabase='KunMing_KaEr'
|
|
|
|
--检查一下原数据库对不对
|
|
select * from fromServer.KunMing_KaEr_BK.dbo.gam05
|
|
|
|
--检查一下新数据库对不对
|
|
select * from KunMing_KaEr.dbo.TCompany
|
|
|
|
|
|
----------------------------------------------*/
|
|
|
|
/* ----------------------------------------------
|
|
|
|
格调
|
|
|
|
EXEC PInitConnection @FromServer='qd186.isaidao.com,1466',
|
|
@FromDatabase='QuJing_GeDiao_BK',
|
|
@FromUser='sa',
|
|
@FromPassword=' ',
|
|
@ToDatabase='QuJing_GeDiao'
|
|
|
|
--检查一下原数据库对不对
|
|
select * from fromServer.QuJing_GeDiao_BK.dbo.gam05
|
|
|
|
|
|
|
|
--检查一下新数据库对不对
|
|
select * from QuJing_GeDiao.dbo.TCompany
|
|
|
|
|
|
----------------------------------------------*/
|
|
/* ----------------------------------------------
|
|
|
|
简尚
|
|
|
|
EXEC PInitConnection @FromServer='127.0.0.1,9919',
|
|
@FromDatabase='KunMing_JianShang_BK',
|
|
@FromUser='sa',
|
|
@FromPassword='Mik20170510~!@#',
|
|
@ToDatabase='KunMing_JianShang'
|
|
|
|
--检查一下原数据库对不对
|
|
select * from fromServer.KunMing_JianShang_BK.dbo.gam05
|
|
|
|
|
|
--检查一下新数据库对不对
|
|
select * from KunMing_JianShang.dbo.TCompany
|
|
|
|
|
|
----------------------------------------------*/
|
|
|
|
/* ----------------------------------------------
|
|
|
|
KunMing_WeiMuSi_
|
|
|
|
EXEC PInitConnection @FromServer='127.0.0.1,9919',
|
|
@FromDatabase='KunMing_WeiMuSi_BK',
|
|
@FromUser='sa',
|
|
@FromPassword='Mik20170510~!@#',
|
|
@ToDatabase='KunMing_WeiMuSi'
|
|
|
|
--检查一下原数据库对不对
|
|
select * from fromServer.KunMing_WeiMuSi_BK.dbo.gam05
|
|
|
|
|
|
--检查一下新数据库对不对
|
|
select * from KunMing_WeiMuSi.dbo.TCompany
|
|
|
|
|
|
----------------------------------------------*/
|
|
|
|
|
|
|
|
/* ----------------------------------------------
|
|
|
|
LuQuan_MingJianYiRen
|
|
|
|
EXEC PInitConnection @FromServer='127.0.0.1,9919',
|
|
@FromDatabase='LuQuan_YiRenMingJian_BK',
|
|
@FromUser='sa',
|
|
@FromPassword='Mik20170510~!@#',
|
|
@ToDatabase='LuQuan_YiRenMingJian'
|
|
|
|
--检查一下原数据库对不对
|
|
select * from fromServer.LuQuan_YiRenMingJian_BK.dbo.gam05
|
|
|
|
|
|
--检查一下新数据库对不对
|
|
select * from LuQuan_YiRenMingJian.dbo.TCompany
|
|
|
|
|
|
----------------------------------------------*/
|
|
|
|
|
|
/* ----------------------------------------------
|
|
|
|
AnNing_AiWeiSi
|
|
|
|
EXEC PInitConnection @FromServer='qd186.isaidao.com,1466',
|
|
@FromDatabase='AnNing_AiWeiSi_BK',
|
|
@FromUser='sa',
|
|
@FromPassword='saidao~!@#$%^&83806063',
|
|
@ToDatabase='AnNing_AiWeiSi'
|
|
|
|
--检查一下原数据库对不对
|
|
select * from fromServer.AnNing_AiWeiSi_BK.dbo.gam05
|
|
|
|
|
|
|
|
--检查一下新数据库对不对
|
|
select * from AnNing_AiWeiSi.dbo.TCompany
|
|
|
|
|
|
----------------------------------------------*/
|
|
|
|
/* ----------------------------------------------
|
|
|
|
SongMing_ChuangMei
|
|
|
|
EXEC PInitConnection @FromServer='qd186.isaidao.com,1466',
|
|
@FromDatabase='ChongMing_ChuangMei_BK',
|
|
@FromUser='sa',
|
|
@FromPassword='saidao~!@#$%^&83806063',
|
|
@ToDatabase='SongMing_ChuangMei'
|
|
|
|
--检查一下原数据库对不对
|
|
select * from fromServer.ChongMing_ChuangMei_BK.dbo.gam05
|
|
|
|
|
|
|
|
--检查一下新数据库对不对
|
|
select * from SongMing_ChuangMei.dbo.TCompany
|
|
|
|
|
|
----------------------------------------------*/
|
|
|
|
|
|
|
|
/* ----------------------------------------------
|
|
|
|
KunMing_AiFaXing
|
|
|
|
|
|
EXEC PInitConnection @FromServer='qd186.isaidao.com,1466',
|
|
@FromDatabase='KunMing_AiFaXing_BK',
|
|
@FromUser='sa',
|
|
@FromPassword='saidao~!@#$%^&83806063',
|
|
@ToDatabase='KunMing_AiFaXing'
|
|
|
|
--检查一下原数据库对不对
|
|
select * from fromServer.KunMing_AiFaXing_BK.dbo.gam05
|
|
|
|
|
|
|
|
--检查一下新数据库对不对
|
|
select * from KunMing_AiFaXing.dbo.TCompany
|
|
|
|
|
|
----------------------------------------------*/
|
|
|
|
|
|
|
|
/* ----------------------------------------------
|
|
|
|
LuQuan_MingJianYiRen
|
|
|
|
EXEC PInitConnection @FromServer='127.0.0.1,9919',
|
|
@FromDatabase='KunMing_ZhuangDian_BK',
|
|
@FromUser='sa',
|
|
@FromPassword='Mik20170510~!@#',
|
|
@ToDatabase='KunMing_ZhuangDian'
|
|
|
|
--检查一下原数据库对不对
|
|
select * from fromServer.KunMing_ZhuangDian_BK.dbo.gam05
|
|
|
|
|
|
--检查一下新数据库对不对
|
|
select * from KunMing_ZhuangDian.dbo.TCompany
|
|
|
|
|
|
----------------------------------------------*/
|
|
|
|
/* ----------------------------------------------
|
|
|
|
KunMing_YiDu
|
|
|
|
EXEC PInitConnection @FromServer='127.0.0.1,9919',
|
|
@FromDatabase='KunMing_YiDu_BK',
|
|
@FromUser='sa',
|
|
@FromPassword='Mik20170510~!@#',
|
|
@ToDatabase='KunMing_YiDu'
|
|
|
|
--检查一下原数据库对不对
|
|
select * from fromServer.KunMing_YiDu_BK.dbo.gam05
|
|
|
|
|
|
--检查一下新数据库对不对
|
|
select * from KunMing_YiDu.dbo.TCompany
|
|
|
|
|
|
----------------------------------------------*/
|
|
|
|
/* ----------------------------------------------
|
|
|
|
BaoShan_KSZhuTi_BK
|
|
|
|
EXEC PInitConnection @FromServer='127.0.0.1,9918',
|
|
@FromDatabase='BaoShan_KSZhuTi_BK',
|
|
@FromUser='sa',
|
|
@FromPassword='Mk20170814',
|
|
@ToDatabase='BaoShan_KSZhuTi'
|
|
|
|
--检查一下原数据库对不对
|
|
select * from fromServer.BaoShan_KSZhuTi_BK.dbo.gam05
|
|
|
|
|
|
--检查一下新数据库对不对
|
|
select * from KunMing_YiDu.dbo.TCompany
|
|
|
|
|
|
----------------------------------------------*/
|
|
|
|
|
|
/* ----------------------------------------------
|
|
|
|
XinPing_QianYi_BK
|
|
|
|
EXEC PInitConnection @FromServer='127.0.0.1,9918',
|
|
@FromDatabase='XinPing_QianYi_BK',
|
|
@FromUser='sa',
|
|
@FromPassword='Mk20170814',
|
|
@ToDatabase='XinPing_QianYi'
|
|
|
|
--检查一下原数据库对不对
|
|
select * from fromServer.XinPing_QianYi_BK.dbo.gam05
|
|
|
|
|
|
--检查一下新数据库对不对
|
|
select * from KunMing_YiDu.dbo.TCompany
|
|
|
|
|
|
----------------------------------------------*/
|
|
|
|
|
|
/* ----------------------------------------------
|
|
|
|
XinPing_QianYi_BK
|
|
|
|
EXEC PInitConnection @FromServer='127.0.0.1,9918',
|
|
@FromDatabase='KunMing_FGChaoPai_BK',
|
|
@FromUser='sa',
|
|
@FromPassword='Mk20170814',
|
|
@ToDatabase='KunMing_FGChaoPai'
|
|
|
|
--检查一下原数据库对不对
|
|
select * from fromServer.KunMing_FGChaoPai_BK.dbo.gam05
|
|
|
|
|
|
--检查一下新数据库对不对
|
|
select * from KunMing_FGChaoPai.dbo.TCompany
|
|
|
|
|
|
----------------------------------------------*/
|
|
|
|
|
|
|
|
/* ----------------------------------------------
|
|
|
|
KunMing_DongShi
|
|
|
|
EXEC PInitConnection @FromServer='182.247.245.234,8078',
|
|
@FromDatabase='KM_DSMFLS',
|
|
@FromUser='MeiKong_LinShi',
|
|
@FromPassword='MeiKong_LinShi***',
|
|
@ToDatabase='KunMing_DongShi'
|
|
|
|
--检查一下原数据库对不对
|
|
select * from fromServer.KM_DSMFLS.dbo.gam05
|
|
|
|
|
|
--检查一下新数据库对不对
|
|
select * from KunMing_FGChaoPai.dbo.TCompany
|
|
|
|
|
|
----------------------------------------------*/
|
|
|
|
|
|
/* ----------------------------------------------
|
|
|
|
KunMing_GuiTu_BK
|
|
|
|
EXEC PInitConnection @FromServer='127.0.0.1,9918',
|
|
@FromDatabase='KunMing_GuiTu_BK',
|
|
@FromUser='sa',
|
|
@FromPassword='Mk20170814',
|
|
@ToDatabase='KunMing_GuiTu'
|
|
|
|
--检查一下原数据库对不对
|
|
select * from fromServer.KunMing_GuiTu_BK.dbo.gam05
|
|
|
|
|
|
--检查一下新数据库对不对
|
|
select * from KunMing_FGChaoPai.dbo.TCompany
|
|
|
|
|
|
----------------------------------------------*/
|
|
|
|
|
|
/* ----------------------------------------------
|
|
|
|
LiJian_Cangku
|
|
|
|
EXEC PInitConnection @FromServer='127.0.0.1,9919',
|
|
@FromDatabase='LiJiang_CangKu_BK',
|
|
@FromUser='sa',
|
|
@FromPassword='Mik20170510~!@#',
|
|
@ToDatabase='LiJiang_CangKu'
|
|
|
|
--检查一下原数据库对不对
|
|
select * from fromServer.LiJiang_CangKu_BK.dbo.gam05
|
|
|
|
|
|
--检查一下新数据库对不对
|
|
select * from KunMing_FGChaoPai.dbo.TCompany
|
|
|
|
|
|
----------------------------------------------*/
|
|
|
|
|
|
/* ----------------------------------------------
|
|
|
|
use KunMing_WeiNaSi
|
|
|
|
EXEC PInitConnection @FromServer='127.0.0.1,9919',
|
|
@FromDatabase='KunMing_WeiNaSi_BK',
|
|
@FromUser='sa',
|
|
@FromPassword='Mik20170510~!@#',
|
|
@ToDatabase='KunMing_WeiNaSi'
|
|
|
|
--检查一下原数据库对不对
|
|
select * from fromServer.KunMing_WeiNaSi_BK.dbo.gam05
|
|
|
|
|
|
--检查一下新数据库对不对
|
|
select * from KunMing_FGChaoPai.dbo.TCompany
|
|
|
|
|
|
----------------------------------------------*/
|
|
|
|
/* ----------------------------------------------
|
|
|
|
use KunMing_ShangMei
|
|
|
|
EXEC PInitConnection @FromServer='127.0.0.1,9918',
|
|
@FromDatabase='KunMing_ShangMei_BK',
|
|
@FromUser='sa',
|
|
@FromPassword='Mik20170510~!@#',
|
|
@ToDatabase='KunMing_ShangMei_New'
|
|
|
|
--检查一下原数据库对不对
|
|
select * from fromServer.KunMing_ShangMei_BK.dbo.gam05
|
|
|
|
|
|
--检查一下新数据库对不对
|
|
select * from KunMing_ShangMei_New.dbo.TCompany
|
|
|
|
|
|
----------------------------------------------*/
|
|
|
|
/* ----------------------------------------------
|
|
|
|
use XiangGeLiLa_YiBai
|
|
|
|
EXEC PInitConnection @FromServer='120.76.247.234,3436',
|
|
@FromDatabase='ROS4_XGLLXS',
|
|
@FromUser='ROS4_XGLLXS',
|
|
@FromPassword='0xaK7I15eT',
|
|
@ToDatabase='XiangGeLiLa_YiBai'
|
|
|
|
--检查一下原数据库对不对
|
|
select * from fromServer.ROS4_XGLLXS.dbo.gam05
|
|
|
|
|
|
--检查一下新数据库对不对
|
|
select * from KunMing_ShangMei_New.dbo.TCompany
|
|
|
|
|
|
----------------------------------------------*/
|
|
|
|
|
|
/* ----------------------------------------------
|
|
|
|
use XiangGeLiLa_YiBai
|
|
|
|
EXEC PInitConnection @FromServer='118.24.234.193,9918',
|
|
@FromDatabase='XuanWei_AiSi_BK',
|
|
@FromUser='sa',
|
|
@FromPassword='Mk193~!@#Admin2018',
|
|
@ToDatabase='XuanWei_AiSi'
|
|
|
|
--检查一下原数据库对不对
|
|
select * from fromServer.XuanWei_AiSi_BK.dbo.gam05
|
|
|
|
|
|
--检查一下新数据库对不对
|
|
select * from KunMing_ShangMei_New.dbo.TCompany
|
|
|
|
|
|
----------------------------------------------*/ |