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.
221 lines
4.9 KiB
221 lines
4.9 KiB
--配置数据库地址
|
|
--在A8数据库执行
|
|
|
|
|
|
|
|
/* ----------------------------------------------
|
|
|
|
模板
|
|
|
|
EXEC PInitConnection @FromServer='BOKA数据库地址,端口',
|
|
@FromDatabase='BOKA数据库名称',
|
|
@FromUser='BOKA数据库用户',
|
|
@FromPassword='BOKA数据库密码',
|
|
@ToDatabase='A8数据库名称'
|
|
|
|
--检查一下原数据库对不对
|
|
select * from fromServer.BOKA数据库名称.dbo.gam05
|
|
|
|
--检查一下新数据库对不对
|
|
select * from A8数据库名称.dbo.TCompany
|
|
|
|
----------------------------------------------*/
|
|
|
|
/* ----------------------------------------------
|
|
|
|
海润
|
|
|
|
|
|
PInitConnection @FromServer='203.171.230.218,6534',
|
|
@FromDatabase='ZNOS_CHAIRLW2P2019',
|
|
@FromUser='ZNOS_QHAIRQ',
|
|
@FromPassword='s3zz_ghairq023',
|
|
@ToDatabase='ZhengZhou_HaiRunManHaDun'
|
|
|
|
--检查一下原数据库对不对
|
|
select * from fromServer.ZNOS_CHAIRLW2P2019.dbo.gam05
|
|
|
|
--检查一下新数据库对不对
|
|
select * from fromServer.ZhengZhou_HaiRunManHaDun.dbo.TCompany
|
|
|
|
----------------------------------------- */
|
|
|
|
/* 郑州卡卡t
|
|
|
|
PInitConnection @FromServer='203.171.230.218,6534',
|
|
@FromDatabase='ZZS3_AKAKASW2T6001',
|
|
@FromUser='ZZS3_CKAKAQ',
|
|
@FromPassword='ZZS3_EKAKA003Q',
|
|
@ToDatabase='ZhengZhou_KaKa'
|
|
|
|
select * from fromServer.ZZS3_AKAKASW2T6001.dbo.gam05
|
|
|
|
select * from ZhengZhou_KaKa.dbo.TCompany
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* 郑州李双双
|
|
|
|
USE ZhengZhou_LiShuangShuang
|
|
|
|
PInitConnection @FromServer='203.171.230.218,6534',
|
|
@FromDatabase='ZNOS_BLSHUAG2N2016',
|
|
@FromUser='ZZS3_DSHUAQ',
|
|
@FromPassword='s3zz_fshuan018Q',
|
|
@ToDatabase='ZhengZhou_LiShuangShuang'
|
|
|
|
select * from fromServer.ZNOS_BLSHUAG2N2016.dbo.gam05
|
|
|
|
select * from TUser
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* 毅沙龙美发 2015/10/15
|
|
|
|
USE ZhengZhou_YiShaLong
|
|
|
|
PInitConnection @FromServer='203.171.230.218,6534',
|
|
@FromDatabase='ROS1_GSYSL050',
|
|
@FromUser='ZGSYSL@',
|
|
@FromPassword='*$$#^%&*fGFGds56~!',
|
|
@ToDatabase='ZhengZhou_YiShaLong'
|
|
|
|
select * from fromServer.ROS1_GSYSL050.dbo.gam05
|
|
select * from TUser
|
|
|
|
*/
|
|
|
|
/* 海润温哥华 2015/10/15
|
|
|
|
USE ZhengZhou_HaiRunWenGeHua
|
|
|
|
|
|
PInitConnection @FromServer='203.171.230.218,6534',
|
|
@FromDatabase='POS_HR2',
|
|
@FromUser='ZHARUN2@',
|
|
@FromPassword='%$#%$#)(*)(*bBGF^&%^34328',
|
|
@ToDatabase='ZhengZhou_HaiRunWenGeHua'
|
|
|
|
select * from fromServer.POS_HR2.ZHARUN2@.gcm20_2
|
|
|
|
select * from TUser
|
|
|
|
*/
|
|
|
|
|
|
/* 阿玛尼 2015/10/15
|
|
|
|
USE ZhengZhou_AMaNi
|
|
|
|
|
|
PInitConnection @FromServer='203.171.230.218,6534',
|
|
@FromDatabase='ROS1_XMAMN056',
|
|
@FromUser='ZXMAMN@',
|
|
@FromPassword='%$#%$#)(*)(*bBGFD2364328',
|
|
@ToDatabase='ZhengZhou_AMaNi'
|
|
|
|
select * from fromServer.ROS1_XMAMN056.dbo.gam05
|
|
|
|
select * from TUser
|
|
|
|
*/
|
|
|
|
/* 阿玛尼 2015/10/15
|
|
|
|
120.132.84.86,4433
|
|
ROS3_SHHF
|
|
ROS3_SHHF
|
|
ROS3_SHHF0930
|
|
|
|
|
|
USE ZhengZhou_AMaNi
|
|
|
|
|
|
PInitConnection @FromServer='203.171.230.218,6534',
|
|
@FromDatabase='ROS3',
|
|
@FromUser='sa',
|
|
@FromPassword='ly~33529dong001',
|
|
@ToDatabase='ZhengZhou_HuiShang'
|
|
|
|
select * from fromServer.ROS3.dbo.gam05
|
|
|
|
select * from TUser
|
|
|
|
*/
|
|
|
|
select * from hem01
|
|
/*
|
|
--名店名师
|
|
|
|
USE ZhengZhou_MingDianMingShi
|
|
|
|
|
|
PInitConnection @FromServer='123.59.70.124,5431',
|
|
@FromDatabase='ROS3_MDMS',
|
|
@FromUser='ROS3_MDMS',
|
|
@FromPassword='ROS3_MDMS0731',
|
|
@ToDatabase='ZhengZhou_MingDianMingShi'
|
|
|
|
select * from fromServer.ROS3_MDMS.dbo.gam05
|
|
|
|
select * from TUser
|
|
|
|
*/
|
|
/*
|
|
--汀雅
|
|
|
|
USE ZhengZhou_TingYa
|
|
|
|
PInitConnection @FromServer='120.132.84.86,4433',
|
|
@FromDatabase='ROS3_LYTY',
|
|
@FromUser='ROS3_LYTY',
|
|
@FromPassword='ROS3_LYTY0930',
|
|
@ToDatabase='ZhengZhou_TingYa'
|
|
|
|
select * from fromServer.ROS3_LYTY.dbo.gcm01
|
|
|
|
select * from TUser
|
|
*/
|
|
|
|
/*
|
|
--商丘蒂凡尼
|
|
|
|
USE ZhengZhou_DiFanNi
|
|
|
|
PInitConnection @FromServer='120.132.84.86,4433',
|
|
@FromDatabase='ROS3_SQDFN',
|
|
@FromUser='ROS3_SQDFN',
|
|
@FromPassword='ROS3_SQDFN1012',
|
|
@ToDatabase='ZhengZhou_DiFanNi'
|
|
|
|
select * from fromServer.ROS3_SQDFN.dbo.gam05
|
|
|
|
select * from TUser
|
|
*/
|
|
|
|
/*
|
|
--泰瑞丽吉
|
|
|
|
USE ZhengZhou_TaiRuiLiJi
|
|
|
|
PInitConnection @FromServer='120.132.84.86,4433',
|
|
@FromDatabase='ROS3_TRLJ',
|
|
@FromUser='ROS3_TRLJ',
|
|
@FromPassword='ROS3_TRLJ0930',
|
|
@ToDatabase='ZhengZhou_TaiRuiLiJi'
|
|
|
|
select * from fromServer.ROS3_TRLJ.dbo.gam05
|
|
|
|
select * from TUser
|
|
*/
|
|
|
|
/*
|
|
|
|
USE SAIDAODNS
|
|
|
|
|