存储过程返回执行 疯了,VB中说SQL语法了dim no as integer... 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 declare @no int,@name char(10), @address char(40),@age int ,@buf char这些声明是在存储过程中声明的,不用放到程序中为程序中存储过程的调用准备参数就可以了,如:Adocm.Execute select_student_1 ,name , address, @age output 根据大家的建议我又加了一个过程,请再看看那有问题?CREATE PROCEDURE [test2]@buf char(128) outputasdeclare @no int, @name char(10), @address char(40), @age int Execute [select_student_1] @no = 1 ,@name output , @age output , @address output begin select @buf = 'new man:' + @name + @age + @address print @buf EndGO 通配符 sqlexpress启动失败 sql 创建表 能使用unsigned ??? SQL2005中如何用C#写一个函数让SQL调用 问个关于远程访问SQL SERVER 2000 局域网共享上网 问高手一个简单的问题 急!~~~简单的语句~~~~把这两句合并成一句 问个蠢蠢的问题:如何用一条SQL语句在插入一条记录的同时取出这条记录的ID号(ID为自增字段) @@error什么意思? 有没有可以定义服务器名和数据库名的变量类型? 请教:如何在VFP程序表单中,自动画出统计图形?谢谢。 怎麽樣在給定查詢條件的情況下,選出以這條符合條件的紀錄為中心的前後五條紀錄
加了一个过程,请再看看那有问题?
CREATE PROCEDURE [test2]@buf char(128) outputas
declare
@no int,
@name char(10),
@address char(40),
@age int
Execute [select_student_1] @no = 1 ,@name output , @age output , @address output
begin
select @buf = 'new man:' + @name + @age + @address
print @buf
End
GO