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
ch chandrakala
NA
138
6.8k
I am getting error "b" does not match table
Mar 26 2020 5:42 AM
;With test as (select row_number() over (order by hreid) as slno,hreid,b.value as checks from datatbl A)cross apply fn_split(a.Checks,',') as b),b as(select row_number() over (order by hreid) as slno,hreid,b.value as cost from datatbl A)cross apply fn_split(a.cost,',') as b)Select c.checks,b.cost From test c PIVOTE (min(b.cost) for c.checks in(employeement,education,..)Pvt Inner join b on c.hreid=b.hreid and c.slno=b.slno
Reply
Answers (
1
)
How to write this statement with another way best without re
How to separate value exist on temp table dynamically separa