开发者

T- SQL usage of @$

I joined this new project and found a different way of declaring local vars in SQL Server Stored Procedures as

DECLARE @$prog VARCHAR(50),
        @$errno INT

I have always used @ to declare local variables in T-SQL, wondering when to use @$?

Please guide开发者_如何学运维.


This has no special meaning, the $-sign just happens to be legal inside an identifier. See the MSDN page on identifiers.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜