Thanks, error comes only when I in debug mode. It was searching at wrong
location. Thanks!


On Wed, Jul 17, 2013 at 4:13 PM, Mateusz Loskot <[email protected]> wrote:

> On 17 July 2013 17:48, Mello <[email protected]> wrote:
> > int _tmain(int argc, _TCHAR* argv[])
> > {
>
> try
> {
>
> > session sql(backEnd, "service=DATABASE.FDB user=SYSDBA
> > password=masterkey");
> >
> > int count;
> > sql << "select count(*) from MYTABLE", into(count);
> > return 0;
>
> }
> catch (soci::soci_error const& e)
> {
>      // handle error
> }
>
>
> Best regards,
> --
> Mateusz  Loskot, http://mateusz.loskot.net
>
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> soci-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/soci-users
>
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to