• λ我爱Aspx >> C#.Net >> SQL 存储过程&算法_数据库技巧
  • SQL 存储过程&算法_数据库技巧

  • :aspxer  Դ:internet  :2007-4-28 23:44:48  ؼ:sql,数据库,数据
  • 代码还在完善中

    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

    Ҷƪл˵?
  • һƪ在Access中模拟sql server存储过程翻页_数据库技巧
    һƪ使用Data Access Application Block 得到存储过程的返回值_ASP.NET技巧