Hi all. I am recieving:
Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.
Below is the set statement I am using to get the above error.
set @abndless = (select new_time from tmphdr where new_time < 10)
I realize why I am getting the error (due to many values being returned from above set/select statement), but, can anyone help me with how I would set a variable or ???? to be able to retrieve all values in column new_time that are less then 10?
Thanks in advance.
Bob
Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <= , >, >= or when the subquery is used as an expression.
Below is the set statement I am using to get the above error.
set @abndless = (select new_time from tmphdr where new_time < 10)
I realize why I am getting the error (due to many values being returned from above set/select statement), but, can anyone help me with how I would set a variable or ???? to be able to retrieve all values in column new_time that are less then 10?
Thanks in advance.
Bob