C# Corner
Tech
News
Videos
Forums
Trainings
Books
Events
More
Interviews
Jobs
Live
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Inline Declaration and value assignation in SQL Server 2008
WhatsApp
Venkatesan Jayakantham
13y
4.7
k
0
0
25
Blog
In older environment, we need to declare the variable and set the value for the varaible as below,
DECLARE @VAL INT , @VAL1 INT
SET @VAL=10
SET @VAL=20
In the newer version of SQL Serve 2008, we are having inline declaration and value assignation.
DECLARE
@VAL INT =97, @VAL1 INT =1
Cheers,
Venkatesan Prabu .J
Head - WWW.Kaashivinfotech.com
http://venkattechnicalblog.blogspot.com/
People also reading
Membership not found