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: 20060922084944.xbng75r2jjgog04w@webmail.versatel.nl (view raw or flat)
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: http://www.melstra.nl/test/Form1.php

Best regards,

Alex Stienstra.

Responses

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-2014 The PostgreSQL Global Development Group