Subject Re: [IBO] Login without database
Author Helen Borrie
At 05:43 AM 11/04/2007, you wrote:
>Does IBO support the notion of logging into a server without specifying
>a database?

No. The API doesn't support it.

>I'd like to be able to attempt a login just to test
>whether my username and password are correct. The problem is that my
>database may not yet exist and I'm having trouble differentiating this
>from failed authentication.

If you need this ability in an application then use exception
handling to determine the reason[s] for a failed login. The error
codes returned will tell you why a login fails.

If you just want a one-off test for your own purposes, use isql or
some other admin tool that has this exception handling already built in.

Helen