Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ SQL » Call external funcions in SQL
Re: Call external funcions in SQL [message #40752 is a reply to message #40747] Thu, 12 September 2013 20:29 Go to previous messageGo to previous message
Zbych is currently offline  Zbych
Messages: 327
Registered: July 2009
Senior Member
koldo wrote on Thu, 12 September 2013 18:37

SqlSelect sel = Select(SqlAll()).From(TABLE).Where(DATE < GetSysTime());
// .. and one hour later or in some function
SQL & sel;
SQL.Fetch();

If you do that, than the easiest way would be to either create the query each time just before executing.


or let database check current time for you:
Postgres:
SqlSelect sel = Select(SqlAll()).From(TABLE).Where(DATE < SqlTxt("NOW()");

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Added code to MySqlSession::DoConnect() correct?
Next Topic: Strange build error with OleDB
Goto Forum:
  


Current Time: Wed Jun 04 23:20:15 CEST 2025

Total time taken to generate the page: 1.94421 seconds