随笔分类 -  存储过程

存储过程
摘要:在SqlServer中创建存储过程:createproc test@result int output ---输出参数as begindeclare @test varchar(50)declare @count intselect @test='this is test proc result:'select @count = count(*) from GOODSCODEset @result=@countprint @testprint @countend其实,Hibernate中还没发现,其集成处理存储过程的方法,但是可通过Session获得对数据库的连接,走Java调 阅读全文
posted @ 2013-04-27 15:19 七星6609 阅读(280) 评论(0) 推荐(0)