Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
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
12y
4.6
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/
Inline Declaration and value assignation in SQL Server 2008
Up Next
Differences between Sql server 2005, 2008, 2008r2, 2012
Ebook Download
View all
SQL Queries For Beginners
Read by 18.4k people
Download Now!
Learn
View all
Membership not found