[sqlite] Native sqlite4 on FreeBSD

2015-09-10 Thread Markus Hoenicka
you prefer to build non-port based software. regards, Markus -- Markus Hoenicka http://www.mhoenicka.de AQ score 38

Re: [sqlite] My HPUX Notes

2007-05-10 Thread Markus Hoenicka
) which points to /opt/OpenSource/bin/make. You can then run GNU make by using "gmake" instead of "make" in the build process from any shell you prefer. regards, Markus -- Markus Hoenicka [EMAIL PROTECTED] (

Re: [sqlite] Unique ids for each record

2007-08-16 Thread Markus Hoenicka
s. Artist Album and tracks. Can i fix a range of ids for each column like 1-100 for Artist 101-200 for Album and 201-300 for tracks So that I can have a unique number(id) for each record. Will there be a problem while deleting and inserting the records? Thanks and best regards, A.Sreedhar.

Re: [sqlite] Unique ids for each record

2007-08-21 Thread Markus Hoenicka
e self-titled and thus carry the same title. regards, Markus -- Markus Hoenicka [EMAIL PROTECTED] (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de - To unsubscribe, send

[sqlite] sqlite db portability

2007-08-27 Thread Markus Hoenicka
n layer's API instead of the database-specific API. regards, Markus -- Markus Hoenicka [EMAIL PROTECTED] (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de - To unsu

Re: [sqlite] sqlite db portability

2007-08-28 Thread Markus Hoenicka
things in a simple fashion. However, you're still required to handle database engine specific stuff in your code to use more advanced SQL features. ODBC seems to encapsulate all and everything, at the price of being huge. regards, Markus -- Markus Hoenicka [EMAIL PROTECTED] (Spam-protected

Re: [sqlite] syntax error

2007-10-24 Thread Markus Hoenicka
index in command than i get the error SQL error: near "index": syntax error http://sqlite.org/lang_keywords.html "index" is a reserved word. Just use a different column name which is not in the above list. regards, Markus -- Markus Hoenicka [EMAIL PROTECTED] (Spam-protected ema

Re: [sqlite] Date arithmetic question

2008-01-17 Thread Markus Hoenicka
ormation you want to compute, it's probably not that goofy after all. regards, Markus -- Markus Hoenicka [EMAIL PROTECTED] (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de

Re: [sqlite] need to form an frame work for database independent API

2006-08-31 Thread Markus Hoenicka
, including SQLite, SQLite3, MySQL, PostgreSQL, Firebird, Ingres, Sybase, MS SQL, mSQL, as well as work in progress for Ingres and Oracle. I strongly support Vivien's suggestion to extend existing abstraction layers instead of developing yet another one. regards, Markus -- Markus Hoenicka [EMAIL PROTE

Re: [sqlite] Database on usbstick

2006-09-05 Thread Markus Hoenicka
? regards, Markus -- Markus Hoenicka [EMAIL PROTECTED] (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Database on usbstick

2006-09-05 Thread Markus Hoenicka
ering if anyone knows approx. > > -- Markus Hoenicka [EMAIL PROTECTED] (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] German umlauts (äöüß) are not displayed in sqlite - solution

2006-09-20 Thread Markus Hoenicka
taining > german umlaut characters? > -- Markus Hoenicka [EMAIL PROTECTED] (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] German umlauts (äöüß) are not displayed in sqlite - solution

2006-09-20 Thread Markus Hoenicka
ndline/sqlitebrowser (for select-statements necessary)? > -- Markus Hoenicka [EMAIL PROTECTED] (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] SQLite under linux

2006-09-27 Thread Markus Hoenicka
r gcc command line in order to build an app that uses SQLite. regards, Markus -- Markus Hoenicka [EMAIL PROTECTED] (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de - To unsub

Re: [sqlite] SQLite under linux

2006-09-27 Thread Markus Hoenicka
e" created. This usually returns your build directory to the state right after unpacking the sources from the tarball. "make uninstall" should remove installed files though. regards, Markus -- Markus Hoenicka [EMAIL PROTECTED] (Spam-protected email: replace the

Re: [sqlite] problem in deleting

2006-10-12 Thread Markus Hoenicka
ved." If no rows match the where clause, no rows will be deleted. This is not an error but the expected behaviour. regards, Markus -- Markus Hoenicka [EMAIL PROTECTED] (Spam-protected email: replace the quadrupeds with "mhoenick

Re: [sqlite] Retrieving date

2006-11-07 Thread Markus Hoenicka
_ > Scanned and protected by Email scanner > > - > To unsubscribe, send email to [EMAIL PROTECTED] > --------- > > -- Markus Hoenicka [EMAIL PROTECTED] (Spam-protec

Re: [sqlite] C++ SQLite

2006-11-28 Thread Markus Hoenicka
sebcity <[EMAIL PROTECTED]> was heard to say: > > Time constraints > Good point. I've got time constraints too. Could everyone else please start to solve all my problems right now too please? Markus -- Markus Hoenicka [EMAIL PROTECTED] (Spam-protected email: replace

Re: [sqlite] Abuse of the SQLite website

2007-01-30 Thread Markus Hoenicka
bility issue, but it seems to work fairly well. just my 2c, Markus -- Markus Hoenicka [EMAIL PROTECTED] (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de - To unsubsc

Re: [sqlite] database is locked

2007-02-05 Thread Markus Hoenicka
a from other shell > eveything works fine. > But when it's the cas from my C program it raises the error message database > is locked. > How can i avoid this issue? > thanks a lot > Do your threads share the same connection? If yes, using separate connections might help. regards

Re: [sqlite] Search engines and the Sqlite.Org website

2007-03-16 Thread Markus Hoenicka
onvenience any users? -- D. Richard Hipp <[EMAIL PROTECTED]> - To unsubscribe, send email to [EMAIL PROTECTED] ----- -- Markus Hoenicka [EMAIL PROTECTED] (Spam-protected email

[sqlite] empty result sets without column names?

2008-07-27 Thread Markus Hoenicka
the column information, or whether simply no one saw this as a limitation yet. regards, Markus -- Markus Hoenicka [EMAIL PROTECTED] (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de ___ sqlite-users mailing l

Re: [sqlite] empty result sets without column names?

2008-07-28 Thread Markus Hoenicka
he low-level interface using prepared statements in order to be able to use sqlite3_column_name() et al. I'm just wondering whether it makes more sense to make sqlite3_get_table() consistent and have it return the number of colums and their names irrespective of the number of returned rows.

Re: [sqlite] empty result sets without column names?

2008-07-28 Thread Markus Hoenicka
e callbacks himself these days, or did I miss some simple and obvious way to switch? regards, Markus -- Markus Hoenicka [EMAIL PROTECTED] (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de ___ sql

Re: [sqlite] FreeBSD port installation error in bsd.port.mk

2008-10-20 Thread Markus Hoenicka
aven't been able to find anything about it on my own. Please > let me know if there is any further information that I can provide that > might help diagnose the issue. > > Thanks in advance, > Adrian > ___ > sqlite-users mailing list

Re: [sqlite] Impossible to declare field type BIGINT PRIMARY KEY

2008-12-15 Thread Markus Hoenicka
d out at runtime that a column has been defined as INTEGER PRIMARY KEY instead of as INTEGER, all is well and I'll be able to fix the sqlite driver accordingly. regards, Markus -- Markus Hoenicka markus.hoeni...@cats.de (Spam-protected email: replace the qua

Re: [sqlite] Impossible to declare field type BIGINT PRIMARY KEY

2008-12-15 Thread Markus Hoenicka
y that I might end up having several INTEGER columns with the pk column set to 1. Does that mean that I cannot unambiguously identify that one autoincrementing column? regards, Markus -- Markus Hoenicka markus.hoeni...@cats.de (Spam-protected email: replace the quadrupeds with "mhoenicka

Re: [sqlite] Importing file from C-code

2009-07-07 Thread Markus Hoenicka
ible, you may have to rewrite your code to avoid implicit transactions around each INSERT statement, see http://www.sqlite.org/faq.html#q19 regards, Markus -- Markus Hoenicka markus.hoeni...@cats.de (Spam-protected email: replace the quadrupeds with "mhoenicka&qu

Re: [sqlite] sqlite and cygwin

2005-11-23 Thread Markus Hoenicka
ok. You should be careful though as the result is something like a Cygwin/Win32 hybrid. All paths are handled Windows-style which makes things a bit odd on Cygwin. regards, Markus -- Markus Hoenicka [EMAIL PROTECTED] (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de

Re: [sqlite] Creating a (really) big table

2006-02-10 Thread Markus Hoenicka
ve looked > around but not much luck. Thanks for looking What about writing a small Perl|Ruby|Python script to generate a SQL command that you feed to sqlite? regards, Markus -- Markus Hoenicka [EMAIL PROTECTED] (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de

Re: [sqlite] Creating a (really) big table

2006-02-10 Thread Markus Hoenicka
> Something along these lines (untested!!) should work: my $command = "CREATE TABLE my_table ("; foreach my $counter (1..999) { $columns .= "INT column" . $counter . ", "; } $command .= "INT column1000)"; print $command; You may need to name your column

Re: [sqlite] Creating a (really) big table

2006-02-10 Thread Markus Hoenicka
Markus Hoenicka <[EMAIL PROTECTED]> was heard to say: Sorry for the typo, fixed below my $command = "CREATE TABLE my_table ("; foreach my $counter (1..999) { $command .= "INT column" . $counter . ", "; } $command .= "INT column1000)"; print $c

Re: [sqlite] Purging the mailing list roles. Was: Please Restore Your Account Access

2006-05-29 Thread Markus Hoenicka
t; will put a stop to the automated signup pretty quickly. > ...and it will exclude the visually impaired just as quickly. regards, Markus -- Markus Hoenicka [EMAIL PROTECTED] (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de

[sqlite] FreeBSD and SQLite

2004-04-14 Thread Markus Hoenicka
me a line to sort this out. regards, Markus -- Markus Hoenicka [EMAIL PROTECTED] (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For

[sqlite] absolute vs. relative path to database on Cygwin

2004-12-10 Thread Markus Hoenicka
the app in / and pass the relative path, the app works ok. I'm currently away from my Linux/BSD boxes, so I can't tell whether this problem is specific to Cygwin. Can anyone help? regards, Markus -- Markus Hoenicka [EMAIL PROTECTED] (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de

Re: [sqlite] absolute vs. relative path to database on Cygwin

2004-12-10 Thread Markus Hoenicka
Unix-style Cygwin port. I'll try to track this down. regards, Markus -- Markus Hoenicka [EMAIL PROTECTED] (Spam-protected email: replace the quadrupeds with "mhoenicka") http://www.mhoenicka.de

[sqlite] switching off large file support?

2004-12-13 Thread Markus Hoenicka
E_USLEEP=1 -I. -I${TOP}/src I still get the same complaint about large file support. Does anyone know what's going on? Has anyone else attempted to build SQLite "natively" as a Unix app on Cygwin? regards, Markus -- Markus Hoenicka [EMAIL PROTECTED] (Spam-protected email: re

Re: [sqlite] switching off large file support?

2004-12-13 Thread Markus Hoenicka
king issue that we've been talking about a while ago. I'm using now an all-Unix-style SQLite build on Cygwin, and attempting to access a database results in: SQL error: database is locked Has anyone ever got close to fixing this locking issue on Cygwin? regards, Markus Markus Hoenicka <[EMAIL PROTECTE

Re: [sqlite] absolute vs. relative path to database on Cygwin

2004-12-13 Thread Markus Hoenicka
sely inspect os.c, you'll notice that the platform-specific code bypasses most of the functionality that Cygwin offers. All file accesses use native Windows calls, and I believe this is why paths with a leading slash fail. regards, Markus -- Markus Hoenicka [EMAIL PROTECTED] (Spam-protect

Re: [sqlite] absolute vs. relative path to database on Cygwin

2004-12-14 Thread Markus Hoenicka
Markus Hoenicka writes: > amead writes: > > It's a bit of a long-shot, but have you tried the 'cygdrive' path syntax? > > > > $ sqite /cygdrive/c/cygwn/usr/local/share/refdb/db/refdb > > > > (assuming you installed Cygwin on C:\cygwin) > >