
Want to know where the problem is
CodePudding user response:
The delete sf, not declare sf.CodePudding user response:
Declare @ sf varchar (20)Select @ SJD='aaa'
CodePudding user response:
Declare a variable data typeVariable names are usually begins with the @
The assignment is to use the Set
For example,
Declare @ var int
The Set @ Var='low'
CodePudding user response:
For writing the wrongDeclare a variable data type
Variable names are usually begins with the @
The assignment is to use the Set
For example,
Declare @ var nvarchar (20) -- just here to write the character after the int and does not match the
The Set @ Var='low'