68user's page 掲示板

Prev< No. 1548> Next  [最新発言に戻る] [過去ログ一覧]
No. 1548 # 2001/01/11 (木) 13:48:09
>>1543 68user
>> 現時点でconnectがされているか、されていないかを
>> コーディング上で確認する方法はありますでしょうか?
> ping ちうのがありますね。$rc = $dbh->ping;
ご回答ありがとうございます。
実際に試してみたんですが、disconnectされている状態で
$rc = $dbh->ping;を実行すると以下のようなエラーが出力されました。

DBD::Oracle::db ping failed: ERROR Database disconnected at ****.pl line ****.
For help, please send mail to this site's webmaster, giving this error message and the time and date of the error.
  
続けて処理をすることはできないのでしょうか?
それとも根本的に何かが違うのでしょうか?
よろしくお願いします。

Prev< No. 1548> Next  [最新発言に戻る] [過去ログ一覧]