Re: MySql Alter table
- From: "Rik" <luiheidsgoeroe@xxxxxxxxxxx>
- Date: Tue, 30 May 2006 13:37:32 +0200
lorento wrote:
No problem, if you add new fields..it will not affect any data.
But if you change the type of fields it will affect your data.
With a little remark on the side:
If you change the fields, it should be no problem if you've created your
queries to accommodate that.
Let's say you have a table 'table':
Fields: field1, field2, field3
Adding field4 betweeen field1 en field2
Now this query will work as you're used to:
"INSERT INTO `table` (`field1`,`field2`,`field3`) VALUES
('var1','var2','var3')"
This query will break:
"INSERT INTO `table` VALUES ('var1','var2','var3')"
Grtz,
--
Rik Wasmus
.
- Follow-Ups:
- Re: MySql Alter table
- From: wesley
- Re: MySql Alter table
- References:
- MySql Alter table
- From: wesley
- Re: MySql Alter table
- From: lorento
- MySql Alter table
- Prev by Date: Re: No Framesets allowed
- Next by Date: Re: MySql Alter table
- Previous by thread: Re: MySql Alter table
- Next by thread: Re: MySql Alter table
- Index(es):
Relevant Pages
|