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
Enni
NA
30
4.5k
Even and odd numbers should be stored in two columns
Jul 17 2018 5:35 AM
Hi,
My requirement is to print 1 to 20 numbers where even and odd numbers should be as two separate columns, Like as follows
Even Odd
2 1
4 3
6 5
8 7
Note: I need it with out creating table
Thank you.
Reply
Answers (
7
)
How to pass tablename as parameter in SP to add another col?
How i get ROWID and ROWNUM in sql server ?