Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unsupported subselect type
Message
From
22/02/2008 16:45:35
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01295494
Message ID:
01295537
Views:
16
Interesting, but error message is now “Subquery returned more than one record.”

>Bob,
>
>Would something like this work for you? (I did not test)
>
>
>select G.cStyle, G.kGarment, G.cDescrip, G.nDefPrice, ;
>       cast(nvl((select "A" from LocGarment LG where LG.kGarment = G.kGarment), "X")  as C(1))  as cType;
>  from Garments G
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform