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 > Query AS400 Column Names

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-02-02, 10:32
UEBen UEBen is offline
Registered User
 
Join Date: Sep 2002
Location: Evansville, Indiana
Posts: 1
Question Query AS400 Column Names

I need to select the column names from a file I have on our AS400 from an ASP webpage using SQL select statement. By querying the column names I then hope to dynamically create a follow-up SQL select statement based off of the column names queried from the first select statement.

In other words, how do I get the column names from a file on our AS400 using SQL? I know how to do this from a Microsoft SQL Db, but I'm clueless about how to do this from a AS400 Db.
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