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 #7480 is a reply to message #7411] Sun, 31 December 2006 05:19 Go to previous messageGo to previous message
Novo is currently offline  Novo
Messages: 1430
Registered: December 2006
Ultimate Contributor
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.

2) Instead of building an SQL statement in place you can analyze an already build statement and retrieve a list of columns to select and a FROM part. You already have a tree, which represents an SQL statement. You do not have to parse anything. You are a lucky man!

Happy New Year !!!


Regards,
Novo
 
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 11:13:01 CEST 2025

Total time taken to generate the page: 0.07781 seconds