Home » U++ Library support » U++ SQL » Access to S_* Structure of TABLE crash Application.
Re: Access to S_* Structure of TABLE crash Application. [message #36261 is a reply to message #36259] |
Thu, 17 May 2012 10:51   |
|
OK! Please say from what table DUMP(SQL[NAME]) read data in read cycle (I say about monosemanticity and single meaning).
Sender Ghost wrote on Thu, 17 May 2012 11:59 |
SQL * Select(WORKER(NAME, LASTNAME), PLANT(NAME, ADDRESS)).From(WORKER).LeftJoin(PLANT).On(WORKER(PLANT_ID) == PLANT(ID));
LOG(SQL.ToString());
while (SQL.Fetch()) {
DUMP(SQL[NAME]); DUMP(SQL[LASTNAME]);
DUMP(SQL[2]); DUMP(SQL[3]);
LOG("-----");
}
|
Where went easily-readable code U++?
In this case it is better to write
WRK_NAME and PLA_NAME
(Exceptions are cases when not myself create the Database, and connected into the already existing DataBase.)
.
PS
By the way, sorry for the tone (if it seemed overpriced).
Nothing personal. I treat you with great respect.
SergeyNikitin<U++>( linux, wine )
{
under( Ubuntu || Debian || Raspbian );
}
[Updated on: Thu, 17 May 2012 10:52] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Tue May 13 12:09:34 CEST 2025
Total time taken to generate the page: 0.03574 seconds
|