Usually it would be something like an embedded query returning more than one
result when it expected just one.

select * from users1
where username = (select name from users2 where firstname = 'Jeff'')

If the users 2 table contains more than one person named jeff, you're
screwed.

There are a number of ways to get around it, such as using a where...in
statement, or with a better database, limiting the subquery to just 1
record. Of course the best way is to find out why your subquery is matching
2 records.

-nathan strutz
http://www.dopefly.com/



On 5/12/06, Jeff Small <[EMAIL PROTECTED]> wrote:
>
> [Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft
> Access Driver] At most one record can be returned by this subquery.
>
> What on earth?
>
> Admittedly, this isn't my code, but I'm tasked with figuring out why it's
> generating that error message...what, philosophically, would cause that?
>
>
> --
> Jeff Small
> LHWH Advertising
> Myrtle Beach, SC 29577
> 843-448-1123 Ext 254
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240387
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to