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 wou
Hi all,
MySQL has the neat feature of defining a table column to be a
enumeration or set of a number of elements, e.g.:
create table person (
name varchar,
sex enum('male', 'female')
)
or:
create table person (
name varchar,
likes_fruits set('apple', 'pear','orange')
)
I guess somethin
Hi Sören,
I found that odbc driver causes this problem.
We have a fix for it so we will update the driver soon.
Best Regards,
Mitko
Mitko Iliev wrote:
> Hi Sören,
>
> I tried the case locally, but just getting :
>
> Warning: PHP Startup: SQL error: [OpenLink][Virtuoso ODBC
> Driver][Virtuoso Se
Hi Sören,
I tried the case locally, but just getting :
Warning: PHP Startup: SQL error: [OpenLink][Virtuoso ODBC
Driver][Virtuoso Server]SQ074: Line 1: syntax error at '*' before
'FROM', SQL state 37000 in SQLExecDirect in
C:\dbs\var\lib\virtuoso\vsp\vos1.php on line 3
Warning: odbc_result_all():
Hi Trevor,
Seems like passing CFLAGS=-O no longer prevents 'virtuoso-t' from
dumping core in version 5.0.2 on Solaris.
Which compiler (+version) are you using to compile virtuoso on your
Solaris 10 sparc system?
Patrick
--
Patrick van KleefEmail :
Virtuoso Maintainer
Hi Trevor,
Having some trouble compiling on OS X 10.4.10
% uname -a
Darwin names-computer.local 8.10.1 Darwin Kernel Version 8.10.1: Wed
May 23 16:33:00 PDT 2007; root:xnu-792.22.5~1/RELEASE_I386 i386 i386
Output from 'make':
[..cut..]
Making all in ODS-Polls
make[2]: Nothing to be done for