Does MS Access have a Show Columns SQL command

Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default Does MS Access have a Show Columns SQL command

    I have recently discovered how to Alter Add and Drop columns from MS Access.
    This is going to help me a lot with updating multiple databases when I make
    changes to my administrative product. Before I was opening each database and
    making the changes. Yuck...

    What I am running into is some of the tables don't have data in them yet and
    so I can't query against them to get a columnlist. Is there a way to get this
    with MS Access 2003 on MX 6.? Something like:

    <cfquery name="getColumnList" datasource = "#DSN#">
    SHOW Columns from Tablename
    </cfquery>
    <cfoutput>#getColumnList.Columnlist#</cfoutput>

    Thanks in advance,

    Rock Moore

    P.S. And thanks to so many who have helped me over the last 2 weeks. I have
    had a time of it upgrading from 4.5 to 6.1. I did not test and plan enough...

    UpstateWeb Guest

  2. Similar Questions and Discussions

    1. How to Hide & show the columns in ADVANCED DATAGRID.?
      HI, Am working with Advanced Datagrid. Problem am facing is.. i want to hide & show the columns in AdvancedDataGridColumnGroup. By default am...
    2. DropDownList show the name of columns of dataGrid
      Hello, I make a dataGrid and i like to show the name of the columns of the dataGrid in a DropDownList. For example, if my dataGrid have three...
    3. SQL plugin and Show columns query
      Hi, I would like to know how can I execute and see the result of "Show Columns From table.name from db.name" using SQL plugin with MySQL...
    4. can't get data to show with bound columns
      I'm trying to create a DataGrid filled with values from a DataSet and I want the user to be able to show and hide whichever columns they choose. I...
    5. Conditionally show columns in SQL
      Almost positive that this is impossible without using dynamic sql! -- Dean Savovic www.teched.hr "Pierre Dippenaar" <pierre@sentinal.co.za>...
  3. #2

    Default Re: Does MS Access have a Show All Tables in a Datasbase

    SELECT * from MSysobjects
    WHERE Type = 1
    AND left([name],4) <> 'MSys'

    Provided, of course, that you can get the permission to query the MSysObjects table.
    philh 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