If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ANSI SQL > How to inquire on column headings?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-14-04, 00:55
masha masha is offline
Registered User
 
Join Date: Jan 2004
Location: Ontario, Canada
Posts: 2
Question How to inquire on column headings?

Hello!
I'd like to be able to find out, programmatically, what field names are there in a particular table. I use JScript and an MS Access database.
Also, if possible, if there is a particular table in the database.
And to do it so that no error message is generated.
Is there a way in SQL? I spent considerable time looking for an SQL syntax for that query, without any success.
Reply With Quote
  #2 (permalink)  
Old 01-16-04, 15:55
dmmac dmmac is offline
Registered User
 
Join Date: Aug 2003
Location: Massachusetts, USA
Posts: 106
Re: How to inquire on column headings?

There is a MS Access forum on this site. The below should help you out:

Dynamical Column Retrieval

Quote:
Originally posted by masha
Hello!
I'd like to be able to find out, programmatically, what field names are there in a particular table. I use JScript and an MS Access database.
Also, if possible, if there is a particular table in the database.
And to do it so that no error message is generated.
Is there a way in SQL? I spent considerable time looking for an SQL syntax for that query, without any success.
Reply With Quote
  #3 (permalink)  
Old 01-16-04, 20:03
masha masha is offline
Registered User
 
Join Date: Jan 2004
Location: Ontario, Canada
Posts: 2
Thumbs up Re: How to inquire on column headings?

Quote:
Originally posted by dmmac
There is a MS Access forum on this site. The below should help you out:

Dynamical Column Retrieval
Thank you very much! That solves it indeed.
Sorry for posting in this forum. I did it because I hoped that it were possible using pure SQL.
Thanks again!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On