Re: [sqlite] ALTER TABLE ... ADD COLUMN crashes with too many columns

2005-03-29 Thread D. Richard Hipp
On Tue, 2005-03-29 at 03:13 -0800, Andy Lutomirski wrote: > I can crash sqlite3 like this: > > % cat test.sql > create table a (id INTEGER PRIMARY KEY); > alter table a add column f1 TEXT; > alter table a add column f2 TEXT; > alter table a add column f3 TEXT; > alter table a add column f4 TEXT;

[sqlite] ALTER TABLE ... ADD COLUMN crashes with too many columns

2005-03-29 Thread Andy Lutomirski
I can crash sqlite3 like this: % cat test.sql create table a (id INTEGER PRIMARY KEY); alter table a add column f1 TEXT; alter table a add column f2 TEXT; alter table a add column f3 TEXT; alter table a add column f4 TEXT; alter table a add column f5 TEXT; alter table a add column f6 TEXT; alter

[sqlite] ALTER TABLE DROP/RENAME COLUMN?

2005-03-21 Thread chan wilson
Well, please allow me to congratulate to the release of 3.2.0 and many thanks to you guys! I was wondering whether it might be ALTER TABLE DROP/RENAME COLUMN in next release? _ 与世界各地的朋友进行交流,免费下载 MSN Messenger:

Re: [sqlite] ALTER TABLE substitute?

2005-01-06 Thread Tito Ciuro
On 6 ene 2005, at 18:01, aleks ponjavic wrote: What I want to do is drop and add columns, couldn't find something appropriate with sqlite, atleast it doesn't seem as ALTER TABLE works, how can I do it instead? Maybe it isn't possible? Please check the archives. It's been discussed already:

[sqlite] ALTER TABLE substitute?

2005-01-06 Thread aleks ponjavic
What I want to do is drop and add columns, couldn't find something appropriate with sqlite, atleast it doesn't seem as ALTER TABLE works, how can I do it instead? Maybe it isn't possible? _ Express yourself instantly with MSN

RE: [sqlite] ALTER TABLE statement?

2004-10-28 Thread Griggs, Donald
AIL PROTECTED] Sent: Thursday, October 28, 2004 1:52 PM To: [EMAIL PROTECTED] Subject: [sqlite] ALTER TABLE statement? Does anyone know if there are any plans for an ALTER TABLE statement? Not having it is a major issue in possibly adopting SQLite, as my boss feels that he can't easily alter the data

Re: [sqlite] ALTER TABLE statement?

2004-10-28 Thread Mateusz Łoskot
User Richard Boehme wrote:: Does anyone know if there are any plans for an ALTER TABLE statement? Not having it is a major issue in possibly adopting SQLite, as my boss feels that he can't easily alter the database with a GUI tool (the ones I've seen for SQLite don't handle it Read sqlite

Re: [sqlite] ALTER TABLE statement?

2004-10-28 Thread Paolo Vernazza
This sample is wrong. You forgot indexes and triggers Altering a table (if there are indexes or triggers associated to it) cannot be done using only SQL... Perhaps you search these examples ??? -Inserire una nuova colonna nel database (esempio completo). ATTENZIONE FARE PRIMA UNA COPIA DEL

Re: [sqlite] ALTER TABLE statement?

2004-10-28 Thread Cristiano Macaluso
Perhaps you search these examples ??? -Inserire una nuova colonna nel database (esempio completo). ATTENZIONE FARE PRIMA UNA COPIA DEL FILE-DATABASE sqlite prova #Crea una tabella sqlite> create table t1(a text, b text); #Inizia la transazione sqlite> BEGIN TRANSACTION; #Crea una tabella

[sqlite] ALTER TABLE statement?

2004-10-28 Thread Richard Boehme
Does anyone know if there are any plans for an ALTER TABLE statement? Not having it is a major issue in possibly adopting SQLite, as my boss feels that he can't easily alter the database with a GUI tool (the ones I've seen for SQLite don't handle it Thanks. Richard Boehme

Re: [sqlite] Alter Table?!

2003-10-25 Thread andr3a
I've implemented this sintax with few options on my PHP Class, if you're interested in syntax like this: ALTER TABLE tbl_name ADD column_name alter_specification [FIRST | AFTER column_name] or this: ALTER TABLE tbl_name DROP [COLUMN] col_name tell me. andr3a - Original Message - From:

<    1   2