Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
11
Reply
Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.
karthik parcha
Nov 3 2011 3:11 AM
5.4k
Reply
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));
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
11
)
Next Recommended Forum
Want to add rows values to show in a new row
Want to add the rows data