测试儿童企业.sql 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. use dbmsg
  2. --select * from clientip where name = '20150617162809502788.ly.com' or name = '20140913092332521757.ly.com'
  3. select * from clientip where enterprisename like '%利亚方舟%'
  4. /*
  5. update clientip set ip = '192.168.1.205', branchname = '205店' where name = '20160125113541587674.ly.com'
  6. update clientip set ip = '192.168.1.119', rights = '119店,191店,205店' where name = '20160125113039587445.ly.com'
  7. update clientip set ip = '192.168.1.110', branchname = '总店' where name = '20150708173758521697.ly.com'
  8. */
  9. /*
  10. INSERT INTO [dbmsg].[dbo].[clientip]
  11. ([name]
  12. ,[ip]
  13. ,[bz]
  14. ,[datetime]
  15. ,[applydate]
  16. ,[branchname]
  17. ,[enterprisename]
  18. ,[regcode2]
  19. ,[bmain]
  20. ,[modifydate]
  21. ,[rights]
  22. ,[log]
  23. ,[regcode]
  24. ,[name2])
  25. VALUES
  26. ('20160125113541587674.ly.com' -- 域名;
  27. ,'192.168.1.205' -- IP地址;
  28. ,'' -- 备注;
  29. ,'2016-04-18' -- 日期;
  30. ,'2016-04-18' -- 使用日期;
  31. ,'205店' -- 分店名称;
  32. ,'利亚方舟IT' -- 总店名称;
  33. ,'' -- ;
  34. ,'总店' -- ;
  35. ,'' -- ;
  36. ,'119店,191店,205店' -- 权限;
  37. ,'' -- 日志;
  38. ,'' -- ;
  39. ,'' -- ;
  40. )
  41. GO
  42. */