Home » U++ Library support » U++ SQL » [sql] Select embeded in join
[sql] Select embeded in join [message #22815] |
Tue, 18 August 2009 23:08 |
Zbych
Messages: 326 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.
|
|
|
Goto Forum:
Current Time: Fri May 10 01:59:00 CEST 2024
Total time taken to generate the page: 0.02460 seconds
|