TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
sathish
NA
263
0
Use of ‘&’ in sql
May 9 2019 9:03 AM
Hi,
The below code prints A as output, but when doing vice-versa as @A=7 and @B=4 its not working.. kindly let me know what '&' operator does to validate
DECLARE @A int
DECLARE @B int
set @A=4
set @B=7
if @A&@B=@A
print 'A'
Thanks
Sathish
Reply
Answers (
3
)
how to use CTE or subquery in sql
how to select only fields with ‘not null’ values