Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Re: Re: Re: Limit results of a DBI query

by peppiv (Curate)
on Jan 28, 2003 at 21:39 UTC ( #230761=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Re: Limit results of a DBI query
in thread Limit results of a DBI query

I'm running an Apache/Linux server using FreeTDS and dbi:Sybase (Thank you) connecting to a Win2K box with MSSQL 7.0. Took a little while to get this all talking.

peppiv


Comment on Re: Re: Re: Re: Limit results of a DBI query
Re: Re: Re: Re: Re: Limit results of a DBI query
by mpeppler (Vicar) on Jan 28, 2003 at 21:44 UTC
    OK - the "set rowcount" should work, as long as DBD::Sybase doesn't feel that there are still results pending on a previous statement handle associated with the $dbh - in that case it goes and opens a new connection, which of course defeats the purpose here.

    Michael

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://230761]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2014-09-20 17:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (160 votes), past polls