Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > Servlets
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Servlets section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old October 31st, 2004, 11:15 AM
Authorized User
Join Date: Sep 2004
Location: , , .
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default Question about ResultSetMetaData.getColumnLabel

First at all, I would like to apologize if I am in a wrong forum.

In java api, we could use the method "ResultSetMetaData.getColumnLabel()" to get the designated column's suggested title for use in printouts and displays.

For instance, table STUDENT has column STUDENTID which the column is label as "Student ID". So, if I use method getColumnLabel(), then I should be able to get "Student ID" displayed in my column title, correct me if I am wrong.

How to create a label for a particular column? Is it created during the creation of a table? What's the SQL query shold look like?

For your information, I am using DB2 UDB v7.

Thanks in advanced.

Reply With Quote

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 Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question... stud123 XSLT 3 April 10th, 2006 09:44 AM
Question Ashwini Classic ASP Databases 3 January 10th, 2006 07:20 AM
Question Ashwini Classic ASP Databases 1 January 4th, 2006 06:55 AM
c++ question amahja56 C++ Programming 3 February 24th, 2004 02:45 PM

All times are GMT -4. The time now is 04:35 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.