declare @email_count tinyint
select @email_count = i_no_of_emails from EmailTbl where Id = 9
There are 2 records in the EmailTbl that satisfies the condition ID= 9.
How come Sybase retrieves only one row and does not raise a Multiple
Rows fetched error or something similar to that . Because, if I run
this same query in Oralce (PL/SQL) , I will get an "exact fetch
returned multiple rows " error .
I 'll really appreciate any views on this ..
Thanks
-JS