[sqlite] Making data unique

2015-12-10 Thread Bart Smissaert
Ah, yes they both work and tell me the indexed fields. Saves me some work parsing this out from the table create SQL. Thanks for that. RBS On Thu, Dec 10, 2015 at 10:19 AM, Simon Slavin wrote: > > On 10 Dec 2015, at 10:17am, Bart Smissaert > wrote: > > > This will show in sqlite_master like

[sqlite] Making data unique

2015-12-10 Thread Simon Slavin
On 10 Dec 2015, at 10:17am, Bart Smissaert wrote: > This will show in sqlite_master like this: > > type name tbl_name rootpage sql > --- > index sqlite_autoindex_dataset_1 dataset 717 >

[sqlite] Making data unique

2015-12-10 Thread Bart Smissaert
015 08:01 > > To: 'SQLite mailing list' > > Subject: [sqlite] Making data unique > > > > Hi, > > I have a table that consists of 3 elements: > > ID - integer > > Date/time - integer > > Data - integer > >

[sqlite] Making data unique

2015-12-09 Thread Andrew Stewart
On Behalf Of > Andrew Stewart > Sent: Monday, 7 December, 2015 08:01 > To: 'SQLite mailing list' > Subject: [sqlite] Making data unique > > Hi, > I have a table that consists of 3 elements: > ID - integer > Date/time - integer > Data - integer >

[sqlite] Making data unique

2015-12-07 Thread Keith Medcalf
On Behalf Of Andrew Stewart > Sent: Monday, 7 December, 2015 08:01 > To: 'SQLite mailing list' > Subject: [sqlite] Making data unique > > Hi, > I have a table that consists of 3 elements: > ID - integer > Date/time - integer > Data - integer >

[sqlite] Making data unique

2015-12-07 Thread Andrew Stewart
To: SQLite mailing list Subject: Re: [sqlite] Making data unique When you are about to insert into the table and find that ID & Date/time are identical to another record, but the data is different, do you want to overwrite, or not? Do you want an error? Adam On Mon, Dec 7, 2015 at 10:01 AM, An

[sqlite] Making data unique

2015-12-07 Thread Andrew Stewart
Hi, I have a table that consists of 3 elements: ID - integer Date/time - integer Data - integer A single ID can exist multiple times. A single Date/time can exist multiple times. An ID & Date/time combination is unique.

[sqlite] Making data unique

2015-12-07 Thread Adam Devita
When you are about to insert into the table and find that ID & Date/time are identical to another record, but the data is different, do you want to overwrite, or not? Do you want an error? Adam On Mon, Dec 7, 2015 at 10:01 AM, Andrew Stewart wrote: > Hi, > I have a table that