Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ SQL » SqlArray::SetDistinct()
Re: SqlArray::SetDistinct() [message #7483 is a reply to message #7480] Sun, 31 December 2006 09:23 Go to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
Novo wrote on Sat, 30 December 2006 23:19

Thank you!

I got the idea. Just two remarks:

1) DISTINCT doesn�t break editing of data. You just need to add a list of columns from DISTINCT to a WHERE part. DISTINCT breaks master-detail relationship.



I guess you are right. Anyway, IME distinct is useful for selecting single column only, correct? I just somehow fail to see scenario / data model where distinct would be useful with SqlArray. OTOH, it is true that I have mostly self-learned most of data model design Smile (Means: I am quite interested about the real world example of distinct with SqlArray).

Quote:


You already have a tree, which represents an SQL statement. You do not have to parse anything.



Well, in fact, I do not have a tree, I considered that too expensive.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: SqlArray::Join when a foreign key has more than one field
Next Topic: SqlArray Limit and Offset
Goto Forum:
  


Current Time: Sun Aug 24 13:14:16 CEST 2025

Total time taken to generate the page: 0.04139 seconds