1.etc/stelnetd.conf
此文件是根据表1.xls和2.xls生成的,共6列,其中第一列为表格2.xls中的ttypip+ttypno,第二列为表格2中的ttyp+number;其余几列为定值;
要求:a:所有表2中的数据必须以追加的方式加入此文件中;
b:ttyp+number中的number值不能重复,同时也不能与文件/etc/fixtty.cfg中的ptyp的number号重复;
c:第一列不能重复;
d:记录必须插入到对应的节点号(即2.xls中的nodeno前4位)开始的后面;
例如:
#3201 nanjing start
137.20.3.8.1 ttyp5000 0 0 0 1
137.20.3.9.1 ttyp5001 0 0 0 1
137.20.3.10.1 ttyp5002 0 0 0 1
137.20.3.11.1 ttyp5003 0 0 0 1
137.20.3.12.1 ttyp5004 0 0 0 1
137.20.3.24.1 ttyp5021 0 0 0 1
137.20.3.25.1 ttyp5022 0 0 0 1
137.20.3.40.1 ttyp5031 0 0 0 1
137.20.3.38.1 ttyp5032 0 0 0 1
#3201 nanjing end
按照上面的需求把例子中的数据添加倒sqlserver中,希望哪位高手帮忙解决告知方法大致相同,只要解决之一,其他的就好办了,拜托了,急于两三天上交。
此文件是根据表1.xls和2.xls生成的,共6列,其中第一列为表格2.xls中的ttypip+ttypno,第二列为表格2中的ttyp+number;其余几列为定值;
要求:a:所有表2中的数据必须以追加的方式加入此文件中;
b:ttyp+number中的number值不能重复,同时也不能与文件/etc/fixtty.cfg中的ptyp的number号重复;
c:第一列不能重复;
d:记录必须插入到对应的节点号(即2.xls中的nodeno前4位)开始的后面;
例如:
#3201 nanjing start
137.20.3.8.1 ttyp5000 0 0 0 1
137.20.3.9.1 ttyp5001 0 0 0 1
137.20.3.10.1 ttyp5002 0 0 0 1
137.20.3.11.1 ttyp5003 0 0 0 1
137.20.3.12.1 ttyp5004 0 0 0 1
137.20.3.24.1 ttyp5021 0 0 0 1
137.20.3.25.1 ttyp5022 0 0 0 1
137.20.3.40.1 ttyp5031 0 0 0 1
137.20.3.38.1 ttyp5032 0 0 0 1
#3201 nanjing end
按照上面的需求把例子中的数据添加倒sqlserver中,希望哪位高手帮忙解决告知方法大致相同,只要解决之一,其他的就好办了,拜托了,急于两三天上交。
哎!~各位朋友我这个任务很紧急不是开玩笑的,希望能帮帮我的忙
我的附件里面有所需文档和excel文件
拜托了