Hi Sören,

The problem is that php open the cursor as dynamic, as a workaround can
try to set the cursor as forward only.
We are looking for a solution.

Best Regards,
Mitko

Sören Auer wrote:
> Hi all,
>
> I tried the following code with both Virtuoso for Windows and Linux:
>
> $db=odbc_connect('virtuoso','dba','dba');
> $result = odbc_exec($db,'SELECT TOP 3 * FROM DB.DBA.SYS_USERS');
> print_r(odbc_result_all($result));
>
> However, I always get the full result set and not just the top three
> as I would expect. What am I doing wrong?
>
> Sören
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Virtuoso-users mailing list
> Virtuoso-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/virtuoso-users
>   


-- 
Mitko Iliev
Developer Virtuoso Team
OpenLink Software
http://www.openlinksw.com/virtuoso
Cross Platform Web Services Middleware


Reply via email to