ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Roman Savochenko <rom_as@diyaorg.dp.ua>
To: community@altlinux.ru
Subject: Re: [Comm] Производительность SQLite!
Date: Tue, 30 Nov 2004 18:46:00 +0200
Message-ID: <41ACA3C8.9090104@diyaorg.dp.ua> (raw)
In-Reply-To: <41AC9B09.3040609@diyaorg.dp.ua>

Roman Savochenko wrote:

>>> CREATE TABLE "test2" ("name" TEXT PRIMARY KEY, "num" DOUBLE, "TABLE" 
>>> TEXT);
>>> Ругается: <Request error: near "TABLE": syntax error>.
>>
>> - Есть имена колонок на которые SQLite ругается. Например на запрос:
>>
>> Неправда.
>>
>> sqlite> .schema test2
>> CREATE TABLE "test2" ("name" TEXT PRIMARY KEY, "num" DOUBLE, "TABLE" 
>> TEXT);
>>
>> Как видите - всё создалось.
>> Просто помните про, 'TABLE', "TABLE" и [TABLE]
>> Почитайте про ключевые слова.
>
>
> Из командной строки работает, а вот через C-API имеем:
> //==============================================================
> TEST 03: query: <CREATE TABLE "controllers" ("NAME" TEXT PRIMARY KEY 
> ,"MODUL" TEXT ,"BDTYPE" TEXT ,"BDNAME" TEXT ,"TABLE" TEXT );>
> SYS| kernel1:Controller:sqlite: near "TABLE": syntax error
> //==============================================================
> Или он там экранирует ковычки?

Разобрался, это боком вылазили INSERT и UPDATE без кавычек.

Большое спасибо за помощь!

С уважением Роман!


  reply	other threads:[~2004-11-30 16:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-29 17:13 Roman Savochenko
2004-11-29 21:18 ` Alexey Rusakov
2004-11-30  7:22   ` Roman Savochenko
2004-11-30 10:08     ` Evgeniy Kobzev
2004-11-30 16:08       ` Roman Savochenko
2004-11-30 16:46         ` Roman Savochenko [this message]
2004-12-01 10:05       ` Roman Savochenko
2004-12-01 10:30         ` Evgeniy Kobzev
2004-12-02 14:19 ` Денис Смирнов

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=41ACA3C8.9090104@diyaorg.dp.ua \
    --to=rom_as@diyaorg.dp.ua \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git