vc6中有一个Extended Stored Proc Wizard可生成程序框架

解决方案 »

  1.   

    在SQL SERVER ONLINE BOOK中有扩展存储过程的介绍,安装ODS后,可看到SERVER自带的例子。
      

  2.   

    看任何一本SQL SERVER 的书,都有。
    如:
    以下存储过程返回符合条件的记录
    create procedure sp_sample(@pl varchar(16),@result int[output])
    as 
    begin
       select @result=count(*) from table_1 where field1=@pl
    end 
      

  3.   

    我安装的是SQL SERVER6.5 ,无Open Data Services怎么办?