See how these work
declare @_# int set @_#=56 select @_# GO declare @@@@@@@@@ int set @@@@@@@@@=1 select @@@@@@@@@ GO declare @#$ datetime set @#$=GETDATE() select @#$
Published under: SQL Server Tips · · · ·
Only the following special symbols are allowed in variable declaration:
@ # $ _
Example:
Declare @@ int Declare @# int Declare @$ int Declare @_ int
All others special symbols are not allowed.