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
karthik parcha
NA
153
92.9k
Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.
Nov 3 2011 3:11 AM
ERROR:
Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.
SELECT@Scheduled=(SELECT T.SCHEDULEDTIME FROM #TEMP_SB_ZEROSPLIT T WHERE T.SCHEDULEDTIME=(SELECT MAX(ISNULL(T.SCHEDULEDTIME,0))FROM #TEMP_SB_ZEROSPLIT T WHERE T.SPLIT_BOOK_ID=@BOOK_ID));
SELECT @Signeddate=(SELECT T.SIGNING_DATE FROM #TEMP_SB_ZEROSPLIT T WHERE T.SIGNING_DATE = (SELECT MAX(T.SIGNING_DATE ) FROM #TEMP_SB_ZEROSPLIT T WHERE T.SPLIT_BOOK_ID=@BOOK_ID));
Reply
Answers (
11
)
Want to add rows values to show in a new row
Want to add the rows data