Kirill has asked for the wisdom of the Perl Monks concerning the following question:
The problem is that when I am using it for a simple queries, that doesn't take much time - it's fine. It connects to the DB, executes the query and returns the result data.my $result; $db = new Win32::ODBC("DSN=DSNName;UID=$login;PWD=$pass") or die; print "Connected to DB! \n"; $db->Sql ("Select name from person"); while ($db->FetchRow) { $result = $db->Data(); print "Result is - $result"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl + ODBC + long time queries
by Corion (Patriarch) on Sep 18, 2010 at 09:58 UTC |