That's not an SQLitespeed feature but indeed a backwards-compatible
SQLite feature. (I had this wrong too at some point)
You probably already know, but to be clear: In SQL standard,
double-quotes indicate identifiers and single quotes indicate string values.
While the single quotes are used
Thanks for the detailed explanation.
Regards,
Chris
On Tue, Feb 9, 2016 at 4:05 PM, R Smith wrote:
> That's not an SQLitespeed feature but indeed a backwards-compatible SQLite
> feature. (I had this wrong too at some point)
>
> You probably already know, but to be clear: In SQL standard,
-bounces at mailinglists.sqlite.org
[mailto:sqlite-users-boun...@mailinglists.sqlite.org] On Behalf Of Chris Prakoso
Sent: Tuesday, February 9, 2016 5:09 PM
To: SQLite mailing list
Subject: Re: [sqlite] C# + SQLite - How do you do Multiple Rows Inserts/Updates?
Yes thank you. My SQLite
Chris Prakoso wrote:
> insert into test (field1,field2) values (1,"two"),(2,"three")
>
> SQL Error: near ",": syntax error
You might want to update to a tool that is not years out of date.
Regards,
Clemens
Ok. Thanks for the reminder.
Regards,
Chris
On Tue, Feb 9, 2016 at 3:18 PM, Richard Hipp wrote:
> On 2/9/16, Chris Prakoso wrote:
> > Actually I've just done it now, in SQLiteSpeed, and it allowed me to use
> > double-quote as delimiter successfully.
> >
>
> That is supported for backwards
Actually I've just done it now, in SQLiteSpeed, and it allowed me to use
double-quote as delimiter successfully.
Regards,
Chris
On Tue, Feb 9, 2016 at 3:03 PM, Simon Slavin wrote:
>
> On 9 Feb 2016, at 12:10pm, Chris Prakoso wrote:
>
> > *insert into test (field1,field2) values
Yes thank you. My SQLite is the latest, it's the front-end that is
outdated, which I have just swiftly corrected.
Regards,
Chris
On Tue, Feb 9, 2016 at 2:52 PM, Richard Hipp wrote:
> On 2/9/16, Clemens Ladisch wrote:
> > Chris Prakoso wrote:
> >> insert into test (field1,field2) values
On 9 Feb 2016, at 12:10pm, Chris Prakoso wrote:
> *insert into test (field1,field2) values (1,"two"),(2,"three")*
As well as the comments about your software being out of date, you need to know
that the text delimiter in SQLite is the non-directional single quote character
normally seen as
On 2016/02/09 1:30 PM, Chris Prakoso wrote:
> Hi Clemens,
>
> Thanks for your reply. I've tried to use raw SQL but it didn't work
> either. Do you have any SQLite front-end that you use?
If I may suggest, try SQLitespeed (http://sqlc.rifin.co.za/) and add
your DB file, open it and then use
Thanks Ryan,
I will definitely try it. I'm ok with raw SQL, just not familiar with the
odd ones like this multiple rows update.
Thanks a lot,
Chris
On Tue, Feb 9, 2016 at 12:42 PM, R Smith wrote:
>
>
> On 2016/02/09 1:30 PM, Chris Prakoso wrote:
>
>> Hi Clemens,
>>
>> Thanks for your reply.
Chris Prakoso wrote:
> My question is whether anybody had successfully implemented multiple
> rows Insert/Update.
This is possible in SQL:
INSERT INTO MyTable(ID, Value)
VALUES (1, 'hello'),
(2, 'world');
UPDATE MyTable
SET Value = 'the same value'
WHERE ID IN (1, 2);
-- rather verbose;
I did a test using simple table, and entering the sql directly using SQLite
Administrator:
*insert into test (field1,field2) values (1,"two"),(2,"three")*
The error I got from the SQLite Administrator is:
*2/9/2016 11:29:40 AM: SQL Error: near ",": syntax error *
Thanks,
Chris
On Tue, Feb
Hi Clemens,
Thanks for your reply. I've tried to use raw SQL but it didn't work
either. Do you have any SQLite front-end that you use?
Regards,
Chris
On Tue, Feb 9, 2016 at 11:12 AM, Clemens Ladisch wrote:
> Chris Prakoso wrote:
>> My question is whether anybody had successfully implemented
Hi all,
I just joined the Mailing List yesterday, so apologise for any mistake
I am doing.
I'm a .NET (C#) Developer, and at the moment I'm coding a small app
with SQLite as the backend database.
My question is whether anybody had successfully implemented multiple
rows Insert/Update.
I've
On 2/9/16, Chris Prakoso wrote:
> Actually I've just done it now, in SQLiteSpeed, and it allowed me to use
> double-quote as delimiter successfully.
>
That is supported for backwards compatibility. I originally put in
support for double-quoted string literals to be compatible with MySQL
3.5. I
On 2/9/16, Clemens Ladisch wrote:
> Chris Prakoso wrote:
>> insert into test (field1,field2) values (1,"two"),(2,"three")
>>
>> SQL Error: near ",": syntax error
>
> You might want to update to a tool that is not years out of date.
>
What Clemens means by this is that prior to SQLite 3.7.11
On 2/9/16, Chris Prakoso wrote:
> Hi Clemens,
>
> Thanks for your reply. I've tried to use raw SQL but it didn't work
> either.
Please show us the SQL that you did you.
> Do you have any SQLite front-end that you use?
>
The only supported "front-end" (if I correctly understand your
meaning)
17 matches
Mail list logo