I would like to insert a new column into my DB via B4J program. The new column should not be added at the back, but in the middle. I have applied the following command:
SQL_DB.ExecNonQuery("ALTER TABLE Angebot_Details ADD Rabatt_Proz Text AFTER 'Netto_Preis'")
Unfortunately, he adds the new column last. What is wrong ?
I think, that the order of columns is not definable; but if this a problem for you, then you can create a view with columns in your wanted order or simple create the select statement like "Select Notte_Preis, Rabatt_Proz from..."
That I can query the columns about the name is known to me. I just wanted to get some structure in my DB. So I'll have to take it that way.
Thank you for your answers.