Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to set default value for field?
Message
General information
Forum:
ASP.NET
Category:
Databases
Miscellaneous
Thread ID:
00818645
Message ID:
00818661
Views:
19
>BTW, what's all this '@' stuff about, anyway? What does an '@' do? I'm looking at the docs for @local_variable, but it's going way over my head...
>

The @ is just a requirement for naming your local vars in T-sql. I suppose it distinguishes variables from field and table names.

DECLARE @state char(2)
SET @state = 'UT'
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform