In the very old days before computers were common, a random number
table appeared at the back of many statistical texts. This was used
to select a series of random numbers which would then be used as
look-up indices into some other data set.
You could do the same:
1. generate a list of pseudo-r
out that the table needs to
> be in t2 too.
>
> -Ursprüngliche Nachricht-
> Von: sqlite-users
> [mailto:sqlite-users-boun...@mailinglists.sqlite.org] Im Auftrag von
> Chris Peachment Gesendet: Sonntag, 11. Juni 2017 17:22 An: SQLite
> mailing list Betreff: [sqlit
syntax error
sqlite> create index idx on link (idChild,idParent);
Error: no such table: main.link
sqlite>
Regards,
Chris Peachment
___
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
ry access.
Is there any configuration change I can make to overcome this
problem, or am I detecting a weakness in the markdown interface
for Fossil?
Thanks,
Chris Peachment
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:
e I can make to overcome this
problem, or am I detecting a weakness in the markdown interface
for Fossil?
Thanks,
Chris Peachment
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
r states). If it's a master,
> it organizes the two-phase distributed commit. If it's a slave, it
> escalates to the master. And if it's something else, then it just holds on
> to the request and waits until it's either a slave or a master.
>
> -david
>
>
On Wed, 2012-10-31 at 00:49 +0700, David Barrett wrote:
> Thanks Alek! Yes, we're definitely planning on it, just trying to
> find the right time. We don't want to go through the work to open
> source it only to be greeted with silence. Might you be interested in
> using it in an actual deployed
Here are the steps you must take:
1. Understand that sqlite3 does not have a DATE type, only text.
It does have functions that can work with text strings to
be treated as dates, for example strftime().
2. Convert all your dates in the database and in your programmes
to use a text format
The select statement needs an 's' on 'motorcycle'
to match the table definition. Or you can remove
the 's' in the create statement.
On Sun, 2012-01-29 at 20:03 -0400, Chris Peachment wrote:
> SqlText = "select description from motorcycle "
I don't usually do other people's homework but
it's Sunday night so why not be generous?
At the terminal command line type:
sqlite3 motorcycles.db
At the resulting sqlite3 command line type:
create table motorcycles (
model text;
description text
);
insert into motorcycles
values ('
On Mon, 2011-01-10 at 19:54 -0500, Richard Hipp wrote:
> This is, technically, a compatibility break. On the other hand, there
> appear to be vast numbers of smartphone applications that currently depend
> on undefined behavior and will suddenly stop working if we don't make this
> change.
>
What's wrong with a properly normalised schema like this:
create table main (id, name,...);
create table keyword (id, label);
create table crossref (id_main, id_keyword);
The concept of core and other keywords is a bit arbitrary.
What is important (i.e. core) today might not be so tomorrow.
Pa
Use an autoincrement field in the table instead.
On Wed, 2008-10-29 at 09:46 -0700, Shaun R. wrote:
> The rowid looks to reuse numbers when a row is deleted, how can i stop this?
>
> For example, i insert 3 rows, then i delete row 2, when entering a new row
> after that the rowid is 2 rather tha
Ubuntu version 7.10 has available
PHP version 5.2.3-1ubuntu6.2
that includes
Sqlite3 version 3.5.2
accessible with both PDO and sqlite libraries.
Personally, I prefer to use PDO because a single line
change in the PHP code when declaring the database
name to the PDO new() function permits
According to the php info() function, on Ubuntu, PHP Version
5.2.3-1ubuntu6.2 was released on 3 December 2007 and includes the
PDO sqlite driver for sqlite version 3.5.2.
It also includes the extension library sqlite driver for version
2.8.17 so you have your choice there.
Personally, I use PDO w
At the command line prompt:
sqlite3 name_of_database_to_be_created
SQLite version 3.5.2
Enter ".help" for instructions
sqlite>.read database_definition_text_file_name
sqlite>.quit
On Thu, 2007-11-29 at 15:43 -0600, Mark Brown wrote:
> Hi-
>
> What is the preferred way to create SQLite databa
Here is a small code sample.
Open the database and then:
Result = sqlite3_prepare_v2(hdb,
"select Name, FilePrefix from Application", 100, &hstmt, 0);
if (Result != SQLITE_OK) {
fprintf(stderr,
"cannot select from Application table. Error Code: %d\n", Result);
exit(1);
On Thu, 23 Aug 2007 10:03:00 -0700, David Thieme wrote:
>I've been looking for a WinCE embedded database that supports spatial
>searches. We are already using SQLite for a very small application; we're
>hoping that someone may have some tricks/hints on how to implement fast
>searches on spatial d
On Thu, 23 Aug 2007 18:58:32 +0200, Kees Nuyt wrote:
>Hi Chris,
>On Thu, 23 Aug 2007 12:14:51 -0400, you wrote:
>>On Thu, 23 Aug 2007 08:52:40 -0700, Gerry Snyder wrote:
>>
>>>Chris Peachment wrote:
>>>> I have a database with more than 200,000 records in
On Thu, 23 Aug 2007 08:52:40 -0700, Gerry Snyder wrote:
>Chris Peachment wrote:
>> I have a database with more than 200,000 records in the
>> core table. An update table of similar record count contains
>> a proper subset of the core table columns.
>>
>> I'
g for
use with PHP and a web-browser since the server kills the
process after 30 seconds.
Can anyone help?
Chris Peachment
-
To unsubscribe, send email to [EMAIL PROTECTED]
-
easy with just text -mm-dd,
>But what about BETWEEN or >
>Thanks
>Daniel
>
>-----Original Message-
>From: Chris Peachment [mailto:[EMAIL PROTECTED]
>Sent: Sunday, August 19, 2007 12:19 PM
>To: sqlite-users@sqlite.org
>Subject: Re: [sqlite] Making SQL
Use the ISO date format mmdd or -mm-dd
and your sort and search problems disappear.
On Sun, 19 Aug 2007 12:16:41 +0200, Daniel Cohen Gindi wrote:
>Hi guys!
>
>Is there any way to make SQL queries, with the WHERE clause containing
>dates? I mean [WHERE col > 05/12/2007] or such?
>It ju
On Thu, 2 Aug 2007 14:16:28 -0700 (PDT), Joe Wilson wrote:
>--- John Stanton <[EMAIL PROTECTED]> wrote:
>> Sqlite3 will get into a tangle with certain sequences where it does not
>> accept a semicolon as a terminator or obey a CTL c.
>To reproduce:
>1. build sqlite3 without readline support.
>2
On Thu, 02 Aug 2007 08:21:30 -0600, Scott Derrick wrote:
>This is probably a stupid question but has frustrated me a couple of times.
>When using the command line interface sqlite3, a couple of times I have
>forgotten to use the "." before a command. After that I get a "...>"
>prompt that I c
Why not include another column that specifies the precise
display sequence that you need and use ORDER BY on it?
On Tue, 15 May 2007 19:44:44 +0530, B V, Phanisekhar wrote:
>>> Will the result of the above query be (1, 6, 5, 2) or (1, 2, 5, 6)?
>Actually I was getting the result (1, 2, 5, 6), bu
sqlite3 against the database without issue,
it appears that the version embedded in PHP is the problem.
Chris Peachment
--
On Thu, 10 May 2007 08:46:30 -0400, Brandon Eley wrote:
>Thank you for this information. How would I access the 2.8.x database
>from within PHP? is i
There was a change of file structure with version 3.x.x
and this is described in the documentation under Version 3
Overview.
You are attempting to use Sqlite3 on a version 2.8.x database
and the formats are not compatible.
On Wed, 9 May 2007 19:42:06 -0400, Brandon Eley wrote:
>I've gone throug
28 matches
Mail list logo