"-DSQLITE_ENABLE_LOCKING_STYLE=1"
I personally found that this is not as simple as just turning on this
compiler flag. When I turned on this flag (set it to 1) I could then not
get the latest version of SQLite to compile, and my queries here as to why
it wouldn't compile went unanswered.
On Tue,
In sqlite source code. src/test_schema.c
On Tue, Jun 24, 2008 at 4:57 PM, <[EMAIL PROTECTED]> wrote:
> Is there any example source code available that demonstrates a working
> virtual table implementation?
>
> Thanks
> Dan Winslow, GamePlan
> 402-991-5875 x219
> [EMAIL PROTECTED]
>
> Third Nerd
thanks ! that was exactly what I was searching !
Dennis Cote wrote:
>
>
> You can get the names of tables and indexes by querying the
> sqlite_master table.
>
>select * from sqlite_master where type = 'table';
>
> You can get detailed information about the columns in a table using the
dan.winslow wrote:
>
> Column names and types can be found with the following calls :
>
> sqlite3_column_name(ppStmt,x);
> sqlite3_column_decltype(ppStmt,x);
> sqlite3_column_type(ppStmt,x);
>
> Where ppStmt is the structure you get back from the prepare/step
> functions.
c.panel wrote:
>
> I'm a new user of SQLite, (and SQL too). I'm trying to find how can I access
> to tables names, column names and types, from a database, using C API. I
> found this from a result set but what about resident tables ?. Perhaps must
> I use a SELECT statement for this ? But If I
My apologies for the bad editing, fixed copy below :
Column names and types can be found with the following calls :
sqlite3_column_name(ppStmt,x);
sqlite3_column_decltype(ppStmt,x);
sqlite3_column_type(ppStmt,x);
Where ppStmt is the structure you get back from the
Column names and types can be found with the following calls :
sqlite3_column_name(ppStmt,x);
sqlite3_column_decltype(ppStmt,x);
sqlite3_column_type(ppStmt,x);
Where ppStmt is the structure you get back from the prepare/step
functions.
Listing the tble names I am not sure
Is there any example source code available that demonstrates a working
virtual table implementation?
Thanks
Dan Winslow, GamePlan
402-991-5875 x219
[EMAIL PROTECTED]
Third Nerd from the left,Technology Defenestration Office
___
sqlite-users mailing
Hello,
I'm a new user of SQLite, (and SQL too). I'm trying to find how can I access
to tables names, column names and types, from a database, using C API. I
found this from a result set but what about resident tables ?. Perhaps must
I use a SELECT statement for this ? But If I do, does SQLLite
- "Philipp Morath" <[EMAIL PROTECTED]> wrote:
> Thanks you Gopal.
> Nothing about sqlite in my error.log. Hum?
> How do I get the required library?
Hi Philipp:
Is it a stock version of PHP (installed from package), or is it compiled from
source?
If its the former, what does the following
Hi,
I am considering to use SQLite in my current embedded application
project. It's a ARM9/Linux. Do you experts think it is a good idea?
And, is there any tips or considerations in this combination?
Thank you.
___
sqlite-users mailing list
On Jun 24, 2008, at 1:55 PM, Richard Klein wrote:
> On the page describing the various sqlite3_bind_xxx_yyy() functions:
>
> http://www.sqlite.org/c3ref/bind_blob.html
>
> 3rd paragraph:
>
> "The index for named parameters can be looked up using the
> sqlite3_bind_parameter_name() API if
Simon Davies schrieb:
> Christophe,
>
> iso is a column in the subquery and in countries.
>
> so:
>
> select distinct * from (select * from Cities where name like
> 'dusseldorf%' union select * from Staedte where name like
> 'düsseldorf%') as sub, countries where sub.iso=countries.iso;
>
Yes,
Christophe,
iso is a column in the subquery and in countries.
so:
select distinct * from (select * from Cities where name like
'dusseldorf%' union select * from Staedte where name like
'düsseldorf%') as sub, countries where sub.iso=countries.iso;
Regards,
Simon
2008/6/24 Christophe Leske
I think that the column "ISO" is pretty clear here?
select distinct * from (select * from Cities where name like 'düsseldorf
%' union select * from Staedte where name like 'düsseldorf%'),Countries
where
ISO=countries.iso order by class;
SQL error: ambiguous column name: ISO
I mean the ISO from
On the page describing the various sqlite3_bind_xxx_yyy() functions:
http://www.sqlite.org/c3ref/bind_blob.html
3rd paragraph:
"The index for named parameters can be looked up using the
sqlite3_bind_parameter_name() API if desired."
should be:
"... sqlite3_bind_parameter_index() ..."
Thanks you Gopal.
Nothing about sqlite in my error.log. Hum?
How do I get the required library?
On Tue, Jun 24, 2008 at 4:32 AM, Gopal Venkatesan
<[EMAIL PROTECTED]> wrote:
> - "Philipp Morath" <[EMAIL PROTECTED]> wrote:
>
>> Hello all,
>>
>> I made a terrible mistake. I change my running
17 matches
Mail list logo