luistsousa
Technical User
Hello
I have a very simple question to make (I think). I want create a new field in a mysql table.
I use a mysql database and when i run the code below appear a error message with "general sql error [Mysql].....:
Who can I solve the problem?
Query1.Close();
Query1.SQL.Clear();
Query1.SQL.Add("ALTER TABLE alter_exp, ADD :name CHAR(25)"
;
Query1.Params.ParamByName("name"
.AsString := "Deg";
Query1.ExecSQL();
Many thanks
Luis
I have a very simple question to make (I think). I want create a new field in a mysql table.
I use a mysql database and when i run the code below appear a error message with "general sql error [Mysql].....:
Who can I solve the problem?
Query1.Close();
Query1.SQL.Clear();
Query1.SQL.Add("ALTER TABLE alter_exp, ADD :name CHAR(25)"
Query1.Params.ParamByName("name"
Query1.ExecSQL();
Many thanks
Luis