U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ SQL » [sql] Select embeded in join
[sql] Select embeded in join [message #22815] Tue, 18 August 2009 23:08 Go to previous message
Zbych is currently offline  Zbych
Messages: 332
Registered: July 2009
Senior Member
Hi,

I need to embed select inside left join. I've found AsValue function, but I could not find anything that converts SqlSelect to SqlId, so I added this:
SqlId    AsTable(SqlId table) const               { return SqlId(String("(") << text << ")").As(table); }

to class SqlSelect.

Maybe it doesn't look to good, but it works.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Possible SqlOption Problem [Solved]
Next Topic: Postgresql - execpt vs minus
Goto Forum:
  


Current Time: Mon Apr 27 21:33:45 GMT+2 2026

Total time taken to generate the page: 0.01606 seconds