[PHP-users 13874] Re: odbc_pconnect $B$H(B odbc_close
Akira Shimosako
php-users@php.gr.jp
Tue, 11 Mar 2003 11:46:37 +0900
$B2<:4J4$H?=$7$^$9!#(B
# $B$^$H$aFI$_$r$7$F$$$k!u2q<R;XDj%a!<%k%=%U%H$N(B
# $B4X78$G!"(BThread$B$rJx$7$F$7$^$C$F$$$k$H;W$$$^$9!#$9$_$^$;$s!#(B
# $B<!$+$i$O(BYahoo! Mail$B$N%"%+%&%s%H$G9XFI$9$k$J$I$7$FBP1~$7$^$9$N$G!"$4MF<O$/(B
$B$@$5$$!#(B
> Subject: [PHP-users 13855] odbc_pconnect $B$H(B odbc_close
(snip)
> odbc_pconnect
> $B!!!!"-(B
> odbc_exec
> $B!!!!"-(B
> odbc_close
>
> $B$H$$$&N.$l$N%W%m%0%i%`$rAv$i$;$?>l9g$H!">e5-(B odbc_pconnect $B$r(B
> odbc_connect $B$KCV$-49$($FAv$i$;$?>l9g$H$G!"=hM}B.EY$K0c$$$,8+$i$l$J$$$N$G(B
$B$9!#(B
$B:#3NG'$G$-$k4D6-$,L5$$$N$G!"4*$G=q$$$F$$$^$9$,!"(B
$B$b$7$+$7$?$i(BDB2$BB&$G!"(BActivate DB$B$7$F$*$/$H!"(B
close$B$7$F$b=hM}B.EY$,8~>e$7$?$j$7$^$;$s$+!)(B
$B$D$^$j(B
db2 activate database YOUR_DB user ID using PASSWORD
$B$7$F$*$/$H!"B.EY$KJQ2=$O$G$J$$$G$7$g$&$+!)(B
> $B4m81$r>5CN$G!"(Bodbc_close $B$r<h$j5n$C$?>l9g$K$O!"(B
> $B4|BT$7$?!V;}B3@-@\B3!W$N%9%T!<%I$,F@$i$l$^$7$?$,!"(B
> $B$3$N>l9g$K!"$3$N>l9g$@$H@\B3$,;D$C$?$^$^$J$N$G$O!)$H$$$&IT0B$,$"$j$^$9!#(B
>
> $B2>@b$H$7$F!"(B
> $B!!!&(Bodbc_close $B$O!"(BDBMS$B$N:GBg@\B3?t$N@_Dj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