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 > JAVA > Problems with aliases in JDBC 4 X DB2 9.x

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-22-10, 09:53
diecc diecc is offline
Registered User
 
Join Date: Sep 2010
Posts: 7
Problems with aliases in JDBC 4 X DB2 9.x

Hi,

When I use the driver JDBC 4 (db2jcc4.jar) for the DB2 9.X and I make a selection with column alias, in the exibition the columns names keep their original names.


E.g.:

SELECT c1 as t1 from table1

c1
--
X
Y
Z

does anybody have any idea?

thanks in advance
Reply With Quote
Reply

Tags
db2, java, jdbc

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On