Client IP Address Name Lease Expiration Type Unique ID Description 10.16.1.31 SZ-PE-Betty.xxx.com 7/4/2008 7:23:39 AM DHCP RAS 10.16.1.32 7/4/2008 3:08:45 AM DHCP 0011f9ffa8483930333131393132 10.16.1.33 SZ-PE-Betty.xxx.com 7/4/2008 7:23:40 AM DHCP RAS 10.16.1.34 7/4/2008 7:19:02 AM DHCP 636973636f2d303031322e643930352e376538302d566c31 10.16.1.35 SZ-PM03-Kris.xxx.com 7/4/2008 10:12:10 AM DHCP 001c2314ba27  ……
This is a basic access control rule,I think i need to configure squid proxy for the advance ACL later #!/bin/bash #set Default GATEWAY GATEWAY=xxx.xxx.xxx.xxx
#set interface WAN IP_PUB=xxx.xxx.xxx.xxx IF_PUB=eth0 NET_PUB=xxx.xxx.xxx.xxx/x
#SET interface LAN IP_PRV=10.16.5.1 IF_PRV=eth1 NET_PRV=10.16.5.0/24 LAN_MASK=255.255.255.0 #others ANYWHERE=0.0.0.0/0
groupid memberid string val a 3 stral 6 a 9 stra2 7 b 2 strb1 3 b 4 strb2 7 b 5 strb3 3 b 9 strb4 11 c 3 strc1 8 c 7 strc2 10 c 9 strc3 12 想得出结果如下,注意product,是groupid相对应的val乘积 groupid product a 42 b 693 c 960 先看下自己的苯方法
CREATE TABLE Dept( id int primary key, parent_id int, Name nvarchar(20)) insert Dept select 0,0,N'<全部>' union all select 1,0,N'财务部' union all select 2,0,N'行政部' union all select 3,0,N'业务部' union all select 4,0,N'财务部' union all select 5,4,N'销售部' ……