* [Comm] SQLite 3.0 @ 2004-11-25 11:27 Roman Savochenko 2004-11-25 11:37 ` Guest007 0 siblings, 1 reply; 6+ messages in thread From: Roman Savochenko @ 2004-11-25 11:27 UTC (permalink / raw) To: community Всем привет! Подскажите пожалуйста! SQLite поддерживает модификацию структуры таблицы? Подобие команды ALTER в MySQL! С уважением Роман! ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] SQLite 3.0 2004-11-25 11:27 [Comm] SQLite 3.0 Roman Savochenko @ 2004-11-25 11:37 ` Guest007 2004-11-25 13:55 ` Roman Savochenko 2004-12-01 12:22 ` Roman Savochenko 0 siblings, 2 replies; 6+ messages in thread From: Guest007 @ 2004-11-25 11:37 UTC (permalink / raw) To: community В сообщении от 25 Ноябрь 2004 14:27 Roman Savochenko написал(a): > Всем привет! > > Подскажите пожалуйста! > SQLite поддерживает модификацию структуры таблицы? > Подобие команды ALTER в MySQL! Хм, доку читал? http://sqlite.org/faq.html#q13 -- WBR Guest007 JID: guest007@jabber.ru ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] SQLite 3.0 2004-11-25 11:37 ` Guest007 @ 2004-11-25 13:55 ` Roman Savochenko 2004-12-01 12:22 ` Roman Savochenko 1 sibling, 0 replies; 6+ messages in thread From: Roman Savochenko @ 2004-11-25 13:55 UTC (permalink / raw) To: community Guest007 wrote: >>Подскажите пожалуйста! >>SQLite поддерживает модификацию структуры таблицы? >>Подобие команды ALTER в MySQL! >> >> >Хм, доку читал? >http://sqlite.org/faq.html#q13 > Спасибо! До сюда не дочитал. :) С уважением Роман! ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] SQLite 3.0 2004-11-25 11:37 ` Guest007 2004-11-25 13:55 ` Roman Savochenko @ 2004-12-01 12:22 ` Roman Savochenko 2004-12-01 13:31 ` Evgeniy Kobzev 1 sibling, 1 reply; 6+ messages in thread From: Roman Savochenko @ 2004-12-01 12:22 UTC (permalink / raw) To: community Guest007 wrote: >В сообщении от 25 Ноябрь 2004 14:27 Roman Savochenko написал(a): > > >>Всем привет! >> >>Подскажите пожалуйста! >>SQLite поддерживает модификацию структуры таблицы? >>Подобие команды ALTER в MySQL! >> >> >Хм, доку читал? >http://sqlite.org/faq.html#q13 > Не совсем оно работает. Имеем ошибку: INSERT INTO "test" SELECT "name","descr","val","id","stat" FROM "temp_test";DROP TABLE "temp_test"; TEST:BD:ERROR| sqlite: table test has 6 columns but 5 values were supplied С уважением Роман! ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] SQLite 3.0 2004-12-01 12:22 ` Roman Savochenko @ 2004-12-01 13:31 ` Evgeniy Kobzev 2004-12-01 13:47 ` Roman Savochenko 0 siblings, 1 reply; 6+ messages in thread From: Evgeniy Kobzev @ 2004-12-01 13:31 UTC (permalink / raw) To: community Roman Savochenko пишет: > > INSERT INTO "test" SELECT "name","descr","val","id","stat" FROM > "temp_test";DROP TABLE "temp_test"; > TEST:BD:ERROR| sqlite: table test has 6 columns but 5 values were supplied Таблица test имеет 6 колонок, а передано 5 значений. Ошибка будет с любым SQL сервером. Нужно делать INSERT INTO "test" (список, полей, для, которых, есть, значения, в, выражении, select) SELECT "name","descr","val","id","stat" FROM "temp_test" Это уже из оперы "Понимание SQL". ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] SQLite 3.0 2004-12-01 13:31 ` Evgeniy Kobzev @ 2004-12-01 13:47 ` Roman Savochenko 0 siblings, 0 replies; 6+ messages in thread From: Roman Savochenko @ 2004-12-01 13:47 UTC (permalink / raw) To: community Evgeniy Kobzev wrote: > Roman Savochenko пишет: > >> >> INSERT INTO "test" SELECT "name","descr","val","id","stat" FROM >> "temp_test";DROP TABLE "temp_test"; >> TEST:BD:ERROR| sqlite: table test has 6 columns but 5 values were >> supplied > > Таблица test имеет 6 колонок, а передано 5 значений. > Ошибка будет с любым SQL сервером. > Нужно делать > INSERT INTO "test" (список, полей, для, которых, есть, значения, в, > выражении, select) SELECT "name","descr","val","id","stat" FROM > "temp_test" > Это уже из оперы "Понимание SQL". Спасибо, работает. С уважением Роман! ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-12-01 13:47 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2004-11-25 11:27 [Comm] SQLite 3.0 Roman Savochenko 2004-11-25 11:37 ` Guest007 2004-11-25 13:55 ` Roman Savochenko 2004-12-01 12:22 ` Roman Savochenko 2004-12-01 13:31 ` Evgeniy Kobzev 2004-12-01 13:47 ` Roman Savochenko
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