RE: [sqlite] Re: Sqlite3_prepare() question

2007-03-05 Thread Dennis Volodomanov
> > "SELECT *, Table1.ID AS _ID FROM Table1 LEFT JOIN Table2 ON > > Table2.ID=Table1.ID WHERE _ID=?1" and bind only the _ID > parameter in > > this case? > > This would work. > > > The issue is that I don't know beforehand what can be in that WHERE > > statement and how many parameters it

[sqlite] Re: Sqlite3_prepare() question

2007-03-05 Thread Igor Tandetnik
Dennis Volodomanov wrote: I'm converting sqlite3_mprintf() into sqlite3_prepare_v2() and the SQL for that was like this: "SELECT *, Table1.ID AS _ID FROM Table1 LEFT JOIN Table2 ON Table2.ID=Table1.ID %s" and I was putting a "WHERE _ID=1", for example, in the %s Now, I'm trying to do the

[sqlite] Sqlite3_prepare() question

2007-03-05 Thread Dennis Volodomanov
Hello all, Maybe what I want is not possible or maybe I'm just not doing it right, so I wanted to ask... Thank you in advance for your answers. I'm converting sqlite3_mprintf() into sqlite3_prepare_v2() and the SQL for that was like this: "SELECT *, Table1.ID AS _ID FROM Table1 LEFT JOIN

[sqlite] not sqlite question, but design ? for IoMethod & os_????.c

2007-03-05 Thread Ken
Can you explain the IoMethod and IoFile from the os.h ??? I see the follwing in the code... #if OS_UNIX #define sqlite3OsOpenReadWrite sqlite3UnixOpenReadWrite . #endif #if OS_WIN #define sqlite3OsOpenReadWrite sqlite3WinOpenReadWrite #if OS_OS2 #define

Re: [sqlite] custom collation problem with delphi

2007-03-05 Thread Ralf Junker
Hello jp, >Thanks Ralf, that seems to be more stable - the process is not crashing >anymore (ran it twice, no errors). Glad to read this! >Pardon my ignorance - I am still using cdecl, how can I use 'register'? >Doesn't sqlite expects cdecl? There is no ignorance involved: The sqlite3.dll of

RE: [sqlite] Lemon example

2007-03-05 Thread Doug Nebeker
URL didn't work for me either, but you'll see what you want at the root (at least today): http://www.cesarodas.com/ -Original Message- From: Cesar Rodas [mailto:[EMAIL PROTECTED] Sent: Monday, March 05, 2007 10:44 AM To: sqlite-users@sqlite.org Subject: Re: [sqlite] Lemon example The

Re: [sqlite] Lemon example

2007-03-05 Thread Cesar Rodas
The URL is ok, I opened here... try again and let me know if you could not and I will email you the content of the example. On 05/03/07, Clay Dowling <[EMAIL PROTECTED]> wrote: Cesar Rodas wrote: > Here is Lemon tutorial. Shows how to make a calculator with a feature of > use Parents "()"

Re: [sqlite] Lemon example

2007-03-05 Thread Clay Dowling
Cesar Rodas wrote: > Here is Lemon tutorial. Shows how to make a calculator with a feature of > use Parents "()" in math expression. > http://www.cesarodas.com/2007/03/creating-basic-calculator-with-lemon.html. > > The author disclaims the copyright of the calculator. There's a problem with

[sqlite] Lemon example

2007-03-05 Thread Cesar Rodas
Here is Lemon tutorial. Shows how to make a calculator with a feature of use Parents "()" in math expression. http://www.cesarodas.com/2007/03/creating-basic-calculator-with-lemon.html. The author disclaims the copyright of the calculator. -- Cesar Rodas http://www.sf.net/projects/pagerank

Re: [sqlite] custom collation problem with delphi

2007-03-05 Thread jp
Thanks Ralf, that seems to be more stable - the process is not crashing anymore (ran it twice, no errors). Pardon my ignorance - I am still using cdecl, how can I use 'register'? Doesn't sqlite expects cdecl? jp --- Ralf Junker <[EMAIL PROTECTED]> wrote: > Hello jp, > > with DISQLite3, I use

[sqlite] Re: Re: Why it does not work properly?

2007-03-05 Thread Igor Tandetnik
woj <[EMAIL PROTECTED]> wrote: Thank's for your reply. I didnt realize this, but of course it is logical. So, now I think how to select not only one row (what seems to be easy) but set of rows from previously mentioned data where only these rows are picked up with largest Data value for each

[sqlite] Crosscompiling Problem

2007-03-05 Thread ugumugu
Hi, I followed to below order to crosscompile the source but the end I get some undefined reference errors. Do you have any idea how to solve this problem. Note: There is no problem when I try to crosscompile ver. 2.8.17. Every thing works great. ** rm tclsqlite.c

Re: [sqlite] Re: Why it does not work properly?

2007-03-05 Thread woj
Thank's for your reply. I didnt realize this, but of course it is logical. So, now I think how to select not only one row (what seems to be easy) but set of rows from previously mentioned data where only these rows are picked up with largest Data value for each IdMat, so correct version of