Skip site navigation (1) Skip section navigation (2)

Re: ResultSetMetaData.getTableName() == null

From: Alex Stienstra <alex(dot)stienstra(at)zonnet(dot)nl>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: ResultSetMetaData.getTableName() == null
Date: 2006-09-22 06:49:44
Message-ID: (view raw or whole thread)
Lists: pgsql-jdbc
MySQL returns the tablename if possible otherwise the alias. I find 
this an acceptable solution. Having at least a name one could query the 
meta system in other to determine whether it is a table name or not.

I am working on automatically generated web interface on the basis of a 
single SQL query. This is why I need to know the columns and tables 
involved in the query:

Best regards,

Alex Stienstra.


pgsql-jdbc by date

Next:From: Tore HalsetDate: 2006-09-22 13:19:19
Subject: the good old getObject(<oid>) issue..
Previous:From: Philip YarraDate: 2006-09-22 06:04:36
Subject: Re: ResultSetMetaData.getTableName() == null

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group