How to rename Access tables and field names?

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default How to rename Access tables and field names?

    Jet SQL doesn't support any kind of rename statements
    directly. I figured this can probably be handled through
    ASP but I'm not sure how to go about it. Any help would
    be appreciated...thanks.
    Marshal Guest

  2. Similar Questions and Discussions

    1. Accessing duplicate field names from different tables
      Hi, I am joining two tables, and the two tables have the same field names, but they represent different data. eg. table 1 - People name -...
    2. CFQUERYPARAM with tables names
      Is there a way to create this sort of query? select * from <cfqueryparam value="table_name"> Thank you
    3. querying field / column names in Access table
      I got great info on my last post, so let's try this one and see if my luck is still good: I have an Access table with about 30+ columns / fields...
    4. Table field names not visible
      This morning I set up check in and check out to work on a site with someone else. Suddenly when looking at bindings details or any of the other...
    5. List Hash 'Field' Names
      I am trying to write more automated code - either I am a lazy typist or am just trying to get more with it! I have a hash I define; I have a form...
  3. #2

    Default Re: How to rename Access tables and field names?

    Marshal wrote:
    > Jet SQL doesn't support any kind of rename statements
    > directly. I figured this can probably be handled through
    > ASP but I'm not sure how to go about it. Any help would
    > be appreciated...thanks.
    Nope. You have to create new objects with the names you want and delete the
    old ones.

    Bob Barrows


    Bob Barrows Guest

  4. #3

    Default Re: How to rename Access tables and field names?

    I found a way to do it if you want to check it out.

    [url]http://www.4guysfromrolla.com/webtech/tips/t030802-1.shtml[/url]
    >-----Original Message-----
    >Marshal wrote:
    >> Jet SQL doesn't support any kind of rename statements
    >> directly. I figured this can probably be handled
    through
    >> ASP but I'm not sure how to go about it. Any help
    would
    >> be appreciated...thanks.
    >
    >Nope. You have to create new objects with the names you
    want and delete the
    >old ones.
    >
    >Bob Barrows
    >
    >
    >.
    >
    Marshal Guest

  5. #4

    Default Re: How to rename Access tables and field names?

    Sorry - I did not realize those properties were read/write. When I first
    read about ADOX, they weren't (IIRC). This must have changes when the Jet
    4.0 engine was released.

    Bob Barrows

    Marshal wrote:
    > I found a way to do it if you want to check it out.
    >
    > [url]http://www.4guysfromrolla.com/webtech/tips/t030802-1.shtml[/url]
    >
    >> -----Original Message-----
    >> Marshal wrote:
    >>> Jet SQL doesn't support any kind of rename statements
    >>> directly. I figured this can probably be handled through
    >>> ASP but I'm not sure how to go about it. Any help would
    >>> be appreciated...thanks.
    >>
    >> Nope. You have to create new objects with the names you want and
    >> delete the old ones.
    >>
    >> Bob Barrows
    >>
    >>
    >> .

    Bob Barrows Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139