Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unsupported subselect type
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01295494
Message ID:
01295542
Views:
18
Ah... You can try adding distinct

>>Interesting, but error message is now “Subquery returned more than one record.”
select G.cStyle, G.kGarment, G.cDescrip, G.nDefPrice, ;
       cast(nvl((select distinct "A" from LocGarment LG where LG.kGarment = G.kGarment), "X")  as C(1))  as cType;
  from Garments G
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Reply
Map
View

Click here to load this message in the networking platform