Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Query without max()
Message
From
19/09/2019 07:01:06
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
19/09/2019 03:20:54
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01670845
Message ID:
01670942
Views:
74
You are asking me what constraints? Read your own message, you were saying I should write a CTE that is not recursive, or do not use repetitions. Why would that be, when I can use CTEs for that, I name them constraints because you are trying to limit the capabilities as you see fit.

Your function has CTE in it, while you were against that (and you would say but that is for recursive, repeated parts blah blah - if was more readable you could write repeatable parts with subqueries).

If you are asking me about the readability of this function, at top it is nice and understandable and suddenly gets ugly with subqueries. You are wrong about debug and optimizations of CTE vs subquery. I can't understand how you do make that distinction. You are just throwing such ideas with no base.
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform