Home » Developing U++ » UppHub » found a solution in the interim - firebird
Re: found a solution in the interim - firebird [message #49295 is a reply to message #49270] |
Wed, 17 January 2018 07:15 |
|
Hi Novo-
Please see test code below:
I tested this really quick except that I had to learn to check out a single file on git.
Your code is working awesome.
The code below prints out a list of countries from the employee.fdb sample db.
thx. so much!
01-17-2018 1:15 GMT -5
Have a cool week,
mtdew3q
FBSession s;
s.Connect(
"/usr/local/firebird/examples/empbuild/employee.fdb",
"localhost",
"SYSDBA",
"masterkey"
);
Sql stmt(s);
stmt.SetStatement(
" SELECT * from country"
);
stmt.Run();
while (stmt.Fetch())
{
Cout()<<stmt[0]<<"\n";
}
[Updated on: Wed, 17 January 2018 07:17] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sun May 05 18:30:54 CEST 2024
Total time taken to generate the page: 0.02499 seconds
|