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.
 
 
 
 
 
sql-tools/DNS.sql

123 lines
3.5 KiB

USE SaiDaoDNS
GO
SELECT * FROM TAPPcLIENT
SELECT master.dbo.FNGetIPLocation(FIPAddress),FMessage,*
FROM SaiDaoDNS..TClientLoginLog
WHERE 1=1
AND FTime >= '2016-06-01'
-- AND FClientNo = 'shanxi'
AND FUserType = 'PCClient'
--AND FMessage != 'µÇ½³É¹¦'
AND FMachineID != 'A8K9K2AS356FUK00F1'
AND FMachineId != '50U8S511UFH9F6A330A0231U'
AND FClientNO NOT IN('023QIPIN','')
AND master.dbo.FNGetIPLocation(FIPAddress) LIKE '%ÉϺ£%'
ORDER BY FTime DESC
SELECT * FROM TRoleAccess WHERE FAccessKey = 'AllowModifyCardRchgDeposit'
SELECT A.FClientNo,* FROM SaiDaoDNS..TClientLoginControl AS B,TAppClient AS A
WHERE FDate = '2015-11-25'
AND A.FClientId = B.FClientId
--AND LEN(FMachineId) = 18
ORDER BY A.FClientNo
SELECT * FROM TBizLog WHERE FOperation = 'Invalid' ORDER BY FTime DESC
SELECT * FROM TAppClient WHERE FClientNo = '0532mi'
UPDATE TAppClient SET FMaxBizClients = 1 WHERE FClientNo = '0532mi'
SELECT * FROM TClientBlock WHERE FValue = '99UH00SK522H0SU2FS'
SELECT * FROM TClientLoginLog WHERE FClientNo = '0536shaxuan'
ORDER BY FTime DESC
UPDATE TAppClienT SET FMaxBizClients = 1000 WHERE FMaxBizClients = 0
SELECT * FROM TClientLoginLog WHERE FComputerName = 'ZGEZ7ARUXWQY01B'
SELECT * FROM TClientLoginLog WHERE FMachineCode = 'H320360432H513W9'
SELECT * FROM TClientLoginLog WHERE FClientNo = '0532malin' ORDER BY FTime DESC
SELECT LEN('33F6F93US52H194U')
UPDATE TClientRegisterInfo
SET FMachineCode = FMachineId
WHERE FVersion = '999'
UPDATE TAppClient SET
SEE
SELECT * FROM TClientRegisterInfo WHERE FMachineCode = 'H320360432H513W9'
SELECT * FROM TClientRegisterInfo WHERE FClientId = 'SW7855728HAK41AS'
UPDATE TClientRegisterInfo SET FMachineId = FMachineCode WHERE FMachineCode = 'SW7855728HAK41AS'
UPDATE SaiDaoDNS..TAppClient SET FMaxBizClients = 1000
UPDATE TAppClient SET FMaxBizClients = 1111 WHERE FClientId = 10
DELETE TClientLoginControl
SELECT * FROM TAPPcLIENT
SELECT * FROM TClientLoginLog
WHERE 1=1
AND FMachineId = '0321U2A21S5H2244'
FClientNo = '0531meishang'
--AND FMachineCode = '881128KKK9HFH77H'
AND FOrigMachineId = 'CPU:GenuineIntelIntel(R)Pentium(R)CPUG3250@3.20GHz49656E690000000DBFEBFBFF4DDAEBBF;DiskId:W4Y5A2ZE;BaseBoard:150748582502190H81M-KSystemSerialNumber'
ORDER BY FTime DESC
UPDATE TClientRegisterInfo SET FRegTime = '1753-01-01',FRegAgentName = ''
SELECT * FROM TClientRegisterInfo WHERE FClientId = (SELECT FClientId FROM TAppClient WHERE FClientNo = '0532bbm')
AND FVersion = '999'
SELECT A.FClientNo,A.FClientName,B.*
FROM TClientLoginControl AS B,TAppClient AS A
WHERE FLoginTime >= '2015-11-21'
AND A.FClientId = B.FClientId
--AND LEN(B.FMachineId) = 18
ORDER BY FClientNo
SELECT * FROM TClientLoginLog WHERE FMachineId = '5601H9K4739KH427'
DELETE TClientLoginControl
DELETE TClientRegisterInfo WHERE FClientId = (SELECT FClientId FROM TAppClient WHERE FClientNo = '0532lfpr')
AND FMachineId = '361S2489S078FH4368F0614U'
UPDATE TClientRegisterInfo SET FMachineId = '' ,FMachineCode = 'SW7855728HAK41AS',FMemo = '£²£²£¸'
WHERE FClientId = (SELECT FClientId FROM TAppClient WHERE FClientNo = '0532lfpr')
AND FMachineId = '361S2489S078FH4368F0614U'
UPDATE TClientRegisterInfo SET FMachineCode = FMachineId
delete TClientRegisterInfo WHERE FClientId = 10
SELECT * FROM TClientRegisterInfo WHERE FClientId = (SELECT FClientId FROM TAppClient WHERE FClientNo = '0531meishang')
UPDATE TClientRegisterInfo SET FMachineId = '881128KKK9HFH77H'
WHERE FClientId = (SELECT FClientId FROM TAppClient WHERE FClientNo = '0531meishang')
AND FMachineId = '49755W76423H554A'
SELECT * FROM TClientLogin