Home » U++ Library support » U++ SQL » How to use Sql * Update
Re: How to use Sql * Update [message #19792 is a reply to message #19637] |
Wed, 21 January 2009 14:07 |
|
mirek
Messages: 13984 Registered: November 2005
|
Ultimate Member |
|
|
michael wrote on Fri, 26 December 2008 05:32 | But SqlSelect isn't equivalent to Select?
When i do this:
sql * Select(SqlId(sqlWhat)).From(SqlId(sqlTable)).Where(sqlWhere).OrderBy(sqlOrder);
Everthing is ok, but when i do this:
sql * SqlSelect(SqlId(sqlWhat)).From(SqlId(sqlTable)).Where(sqlWhere).OrderBy(sqlOrder)
I get the following error:
H:\Entwicklung\UPP\prohibisZA\prohibisZA.cpp(1069) : error C2440: '<function-style-cast>' : cannot convert from 'Upp::SqlId' to 'Upp::SqlS
elect'
No constructor could take the source type, or constructor overload resolution was ambiguous
H:\Entwicklung\UPP\prohibisZA\prohibisZA.cpp(1069) : error C2228: left of '.From' must have class/struct/union
H:\Entwicklung\UPP\prohibisZA\prohibisZA.cpp(1069) : error C2228: left of '.Where' must have class/struct/union
H:\Entwicklung\UPP\prohibisZA\prohibisZA.cpp(1069) : error C2228: left of '.OrderBy' must have class/struct/union
prohibisZA: 1 file(s) built in (0:01.96), 1966 msecs / file, duration = 1997 msecs, parallelization 0%
There were errors. (0:02.63)
|
Yes, but it was not intentional, rather forgotten. Now fixed.
[Updated on: Wed, 21 January 2009 14:08] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Mon Jun 10 11:04:50 CEST 2024
Total time taken to generate the page: 0.01568 seconds
|