Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Select question
Message
 
 
To
28/05/2003 21:35:40
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00793758
Message ID:
00794073
Views:
46
>>I am creating a query where I can't seem to find a way to create it with one SQL Select. I thought before I give up and do it with 2 or 3 SQL selects, maybe someone can see a way.
>
>If you need it for a report (that is, read-only, as opposed to a view), I would suggest not to worry too much about having less statements. Dividing a single SQL - SELECT statement into several parts will quite often make everything much faster.

Yes, this query is for a report. And I was not worrying much about speed. Just wanted to, kind of, test myself if I didn't see something obvious. And I agree that 2 SQLs are not always slower than one.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform