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
Find the startdate and enddate for Gold Rate?
Jul 25 2018 4:24 AM
If the gold rate is changed then only we have to create a new row.
Input:
dt
Rate
18-09-2014
27000
19-09-2014
27000
20-09-2014
31000
21-09-2014
31000
22-09-2014
31000
23-09-2014
32000
24-09-2014
31000
25-09-2014
32000
26-09-2014
27000
Output:
StartDate
EndDate
Rate
18-09-2014
19-09-2014
27000
20-09-2014
22-09-2014
31000
23-09-2014
23-09-2014
32000
24-09-2014
24-09-2014
31000
25-09-2014
25-09-2014
32000
26-09-2014
26-09-2014
27000
Reply
Answers (
1
)
Exporting from excel to SQL server
How to use of temp table in sql server