12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- USE [dbmsg]
- DECLARE @branchId nvarchar(50) -- 域名;
- DECLARE @ip nvarchar(50) -- ip地址;
- DECLARE @bz nvarchar(50) -- 备注;
- DECLARE @Dt nvarchar(50) -- 记录日期;
- DECLARE @ApyDt nvarchar(50) -- 使用日期;
- DECLARE @branchName nvarchar(50) -- 店名;
- DECLARE @EnterprisName nvarchar(50) -- 总店名;
- DECLARE @regcode2 nvarchar(60) --
- DECLARE @bmain nvarchar(50) -- 是否总店;
- DECLARE @ModifyDt nvarchar(50) -- 修改时间;
- DECLARE @Right nvarchar(500) -- 权限;
- DECLARE @log nvarchar(max) -- 日志;
- DECLARE @Regcode nvarchar(500) -- 注册码;
- DECLARE @name2 nvarchar(50) -- 名称2;
- SET @branchId = '20151208000000473489.ly.com'
- SET @ip = '192.168.1.191'
- SET @bz = ''
- SET @Dt = ''
- SET @ApyDt = ''
- SET @branchName = '191店'
- SET @EnterprisName = '利亚方舟IT'
- SET @regcode2 = ''
- SET @bmain = '总店'
- SET @ModifyDt = ''
- SET @Right = '119店,191店'
- SET @log = ''
- SET @Regcode = ''
- SET @name2 = ''
- INSERT INTO [dbmsg].[dbo].[clientip]
- ([name]
- ,[ip]
- ,[bz]
- ,[datetime]
- ,[applydate]
- ,[branchname]
- ,[enterprisename]
- ,[regcode2]
- ,[bmain]
- ,[modifydate]
- ,[rights]
- ,[log]
- ,[regcode]
- ,[name2])
- VALUES
- (@branchId
- ,@ip
- ,@bz
- ,@Dt
- ,@ApyDt
- ,@branchName
- ,@EnterprisName
- ,@regcode2
- ,@bmain
- ,@ModifyDt
- ,@Right
- ,@log
- ,@Regcode
- ,@name2)
- GO
|