编程论坛
注册
登录
编程论坛
→
新人交流区
[求助]怎样将SQLSever2000服务器的名称放在局部变量@a中
wufachun
发布于 2007-10-15 14:02, 428 次点击
写出Transact-SQL,将SQLSever2000服务器的名称放在局部变量@a中(用两种方法)
2 回复
#2
purana
2007-10-15 14:36
declare @host sysname
select @host=host_name()
select @host
#3
zaqxsw
2007-10-15 14:38
谢谢
1