代码还在完善中
if exists (select * from dbo.sysobjects where id = object_id(N''[dbo].[t]'') and OBJECTPROPERTY(id, N''IsUserTable'') = 1) drop table [dbo].[t] GO
CREATE TABLE [dbo].[t] ( [id] [int] IDENTITY (1, 1) NOT NULL , [lid] [nvarchar] (50) , [name] [nvarchar] (50) , [type] [int] NOT NULL ) GO
insert into t (lid,[name],[type]) select "11","城站火车站",0 union all select "11","葵巷建国路口",0 union all select "11","菜市桥",0 union all select "11","潮鸣寺巷",0 union all select "11","宝善桥建国路口",0 union all select "11","宝善桥",0 union all select "11","市体育馆",0 union all select "11","武林广场",0 union all select "11","武林门",0 union all select "11","武林们马塍路口",0 union all select "11","八字桥",0 union all select "11","浙大西溪校区",0 union all select "11","庆丰村",0 union all select "11","教工路口",0 union all select "11","花园新村",0 union all select "11","浙江工商大学",0 union all select "11","电子科技大学",0 union all select "11","翠苑新村",0 union all select "57","大关小区",0 union all select "57","通信市场",0 union all select "57","德胜新村",0 union all select "57","潮王路口",0 union all select "57","朝晖五区",0 union all select "57","朝晖三区",0 union all select "57","西湖文化广场东",0 union all select "57","武林广场",0 union all select "57","武林小广场",0 union all select "57","半道红",0 union all select "57","文三路口",0 union all select "57","上宁桥",0 union all select "57","花园新村",0 union all select "57","浙江工商大学",0 union all select "57","文一路口",0 union all select "57","教工路北口",0 union all select "57","大关桥西",0 union all select "57","上塘路口",0 union all select "57","大关西六苑",0 union all select "57","香积寺路口",0 union all select "57","大关小区",0 union all select "14","武林小广场",0 union all select "14","昌化新村",0 union all select "14","长寿桥",0 union all select "14","延安路口",0 union all select "14","中大广场",0 union all select "14","众安桥",0 union all select "14","浙一医院",0 union all select "14","大学路北口",0 union all select "14","庆春门",0 union all select "14","金衙庄",0 union all select "14","总管塘",0 union all select "14","华东家具市场",0 union all select "14","近江村",0 union all select "14","汽车南站",0 union all select "14","汽车南站",1 union all select "14","近江村",1 union all select "14","华东家具市场",1 union all select "14","总管塘",1 union all select "14","金衙庄",1 union all select "14","庆春门",1 union all select "14","大学路北口",1 union all select "14","浙一医院",1 union all select "14","众安桥",1 union all select "14","中大广场",1 union all select "14","延安路口",1 union all select "14","长寿桥",1 union all select "14","昌化新村",1 union all select "14","武林小广场",1 union all select "K105","火车东站",0 union all select "K105","汽车东站",0 union all select "K105","严家弄",0 union all select "K105","景芳五区",0 union all select "K105","景御路口",0 union all select "K105","庆春东路",0 union all select "K105","采荷新村",0 union all select "K105","观音塘小区",0 union all select "K105","总管塘",0 union all select "K105","章家桥" |