Re: [PHP-DEV] Pear::db and odbc issue

2002-11-20 Thread Andreas Karajannis
See: http://www.php.net/manual/en/function.odbc-num-rows.php "For a SELECT clause this _can_ be the number of rows available. Note: Using odbc_num_rows() to determine the number of rows available after a SELECT will return -1 with many drivers." -Andreas -- Andreas Karajannis mediaw

Re: [PHP-DEV] odbc problems in 4.2

2002-04-24 Thread Andreas Karajannis
lled "scrollable cursors", some Driver Managers (afaik unixODBC and the standard MS Windows DM do) provide support for this via a cusror library that caches resultsets and emulates scrolling cursors. My guess is that the PHP 4.2 you've tried was wasn't compiled with HAVE_SQL_EXT

Re: [PHP-DEV] PHP 4.0 Bug #9261: odbc to an oracle 'view' fails

2001-02-14 Thread Andreas Karajannis
ultset). I could add another parameter to odbc_prepare/odbc_exec to set the cursor type. I'm unsure to what type the cursor should be set, if not specified. Either keep the existing behaviour and be backwards compatible or use the default static cursor provided. Any Opinions? -Andreas -