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

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 Go to previous messageGo to previous message
sergeynikitin is currently offline  sergeynikitin
Messages: 748
Registered: January 2008
Location: Moscow, Russia
Contributor

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

 
Read Message icon3.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon3.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Sql .sch / Date (moved)
Next Topic: SqlBinary and Postgres 9
Goto Forum:
  


Current Time: Sun Apr 26 22:00:43 GMT+2 2026

Total time taken to generate the page: 0.00693 seconds