I am using VBscript in a webpage to modify tables, and one of the tasks is to change the name of a table, but this fails so far...
so I have my database (access XP database) and
connectionstring = "provider=microsoft.jet.oledb.4.0;data source=D:\database.mdb;persist security info=false"
set db = Server.CreateObject("ADODB.Connection")
db.Open connectionstring
Qry = "RENAME TABLE " & oldname & " TO '" & newname & "'"
db.execute Qry
but access does not know the rename command....
So any idea how I could achieve this ???
so I have my database (access XP database) and
connectionstring = "provider=microsoft.jet.oledb.4.0;data source=D:\database.mdb;persist security info=false"
set db = Server.CreateObject("ADODB.Connection")
db.Open connectionstring
Qry = "RENAME TABLE " & oldname & " TO '" & newname & "'"
db.execute Qry
but access does not know the rename command....
So any idea how I could achieve this ???