Re: [INTERFACES] Status Checking

Поиск
Список
Период
Сортировка
От James Olin Oden
Тема Re: [INTERFACES] Status Checking
Дата
Msg-id 378963DA.768C173E@lee.k12.nc.us
обсуждение исходный текст
Ответ на Status Checking  ("George P. Esperanza" <george@calamba.laguna.net>)
Список pgsql-interfaces
> Hi!
>
> Sorry for posting this simple question....
>
> I'm just new to postgres and i'm using PERL interface to access my
> databases.  I just want to know how can i check or get the status if my
> query command has no errors.
>
>       $dbh = Pg::connectdb("dbname=MMS");
>
> How do i check if there's no error connecting to my database MMS?
>
>       $sth = $dbh->exec("select syskey from syskey where syskey =
>                            '$syskey'");
>       $sth = $dbh->exec("insert into syskey values('$syskey', '$value',
>                       '$desc')");
>       $sth = $dbh->exec("delete from syskey where val='test'");
>
> How to i check if my select, insert and delete statement has no error?
>

All of these questions can be answered by typing:
  man Pg

and reading the text.

Cheers...james

>
> Thanks...
>
> George
>
>  ---------------------------------------------------------------------
> |   George P. Esperanza                    e-mail : george@laguna.net |
> |   Laguna Internet                        phone  : (049) 545-2358    |
> |   6 East Arcade Calamba Trade Center                                |
> |   Calamba, Laguna                                                   |
>  ---------------------------------------------------------------------



В списке pgsql-interfaces по дате отправления:

Предыдущее
От: "George P. Esperanza"
Дата:
Сообщение: Status Checking
Следующее
От: Peter Mount
Дата:
Сообщение: RE: [INTERFACES] jdbc redhat 6.0 NoClassDefFoundError