Re: renaming a access table in ado .net

From: Paul Clement (UseAdddressAtEndofMessage_at_swspectrum.com)
Date: 02/14/05


Date: Mon, 14 Feb 2005 11:06:39 -0600

On Mon, 14 Feb 2005 08:57:06 -0500, "ray well" <nospam@nospam.com> wrote:

¤ hi,
¤
¤ i need to rename a table in a access database, within ado .net.
¤
¤ is that doable with a ExecuteNonQuery sql command applied to a
¤ OleDbConnection, if so what
¤ would the command be, i can't find any documentation for it?
¤
¤ is it done thru a SchemaTable? what then would be code. i tried
¤ SchemaTable.Rows(RowCount)!TABLE_NAME = "tblNewName", but it is read only.
¤

I'm not aware of any way to rename a table directly using Access SQL DLL.

You will probably need to use either ADOX (Microsoft ADO 2.x for DDL and Security) or DAO.

Paul ~~~ pclement@ameritech.net
Microsoft MVP (Visual Basic)



Relevant Pages

  • renaming a access table in ado .net
    ... i need to rename a table in a access database, within ado .net. ... OleDbConnection, if so what ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: How to connect MS ACCESS in Netwaork base VB6.0 Programme from server
    ... Structure you can use to connect to and query an Access Database using ADO. ... How to connect MS ACCESS in Netwaork base VB6.0 Programme from server ... SIDE) AND ATTENDENS STORE OM MS ACCESS DATABASE WHICH IS STORED ON ...
    (microsoft.public.vb.winapi)
  • Re: ADO and Active Server pages on a mac
    ... In otherwords does the Excel object model on a Mac have ADO? ... Here is how to create a connection to a MS Access Database: ... Does ADO only work on Active Server Pages on a PC? ...
    (microsoft.public.mac.office.excel)
  • ADO and Active Server pages on a mac
    ... Can you use ADO object to connect to an Access database from Excel on a Mac ... Does ADO only work on Active Server Pages on a PC? ...
    (microsoft.public.mac.office.excel)
  • Re: Importing data From Word Form to Access
    ... you have DAO and ADO. ... > access database. ... This reply is posted in the Newsgroup; please post any follow question or reply ...
    (microsoft.public.word.docmanagement)