Question
how to create a new column in an existing table without uploading a new db file
hi there, i often find myself needing to add new columns to a
table. currently i choose a quiet time of day, download the db from
my live server, quickly open it up and add in my new column, then
upload it back to the live server - whilst hoping that none of my
visitors a) changed anything during this process and b) that no one
exeperinced any errors
..not ideal!
is there a way to create new columns in tables (and even to create new tables perhaps) via CF so i dont have to do this downloading / uploading procedure to my mdb documnet (i'm using an access database by the way)
i'm thinking something like this??...
<cfquery datasource="blah">
CREATE COLUMN name="new_variable" type="yes/no"...?
</cfquery>
is there such a thing? thank you very much indeed for any assistance you can provide.
..not ideal!
is there a way to create new columns in tables (and even to create new tables perhaps) via CF so i dont have to do this downloading / uploading procedure to my mdb documnet (i'm using an access database by the way)
i'm thinking something like this??...
<cfquery datasource="blah">
CREATE COLUMN name="new_variable" type="yes/no"...?
</cfquery>
is there such a thing? thank you very much indeed for any assistance you can provide.
