develop:perl:mssql
차이
문서의 선택한 두 판 사이의 차이를 보여줍니다.
| 양쪽 이전 판이전 판다음 판 | 이전 판 | ||
| develop:perl:mssql [2011/11/14 10:15] – [Example] starlits | develop:perl:mssql [2011/11/14 10:55] (현재) – [Perl을 이용하여 MS SQL Server 활용하기] starlits | ||
|---|---|---|---|
| 줄 1: | 줄 1: | ||
| - | ====== | + | ====== |
| ===== Installation ===== | ===== Installation ===== | ||
| 줄 42: | 줄 42: | ||
| ===== Example ===== | ===== Example ===== | ||
| - | * [[develop: | + | |
| + | # | ||
| + | |||
| + | use DBI; | ||
| + | |||
| + | $dsn = ' | ||
| + | |||
| + | my $dbh = DBI-> | ||
| + | die " | ||
| + | |||
| + | $dbh-> | ||
| + | |||
| + | $query = " | ||
| + | $sth = $dbh-> | ||
| + | $sth-> | ||
| + | |||
| + | while ( @first = $sth-> | ||
| + | | ||
| + | print " | ||
| + | } | ||
| + | } | ||
| + | |||
| + | $dbh-> | ||
| + | </ | ||
| + | - [[develop: | ||
| 줄 54: | 줄 78: | ||
| ===== Reference ===== | ===== Reference ===== | ||
| - http:// | - http:// | ||
| + | - http:// | ||
| - http:// | - http:// | ||
develop/perl/mssql.1321233316.txt.gz · 마지막으로 수정됨: 저자 starlits
