getPrimaryKeys

Поиск
Список
Период
Сортировка
Искать

getPrimaryKeys

От:
David Gommeren <david@umgenicomputer.com>
Дата:
Hi,

Just discovered after messing around for two hours that the table-name 
in DatabaseMetaData.getPrimaryKeys is case sensitive. I don't think this 
should be.

JDBC version: 8.1-405 JDBC 2

Cheers,

David

Re: getPrimaryKeys

От:
Kris Jurka <books@ejurka.com>
Дата:


On Tue, 21 Feb 2006, David Gommeren wrote:

> Just discovered after messing around for two hours that the table-name in 
> DatabaseMetaData.getPrimaryKeys is case sensitive. I don't think this should 
> be.
>

How else would you differentiate between these two:

CREATE TABLE tab (a int primary key);
CREATE TABLE "TaB" (a int primary key);

Kris Jurka
FAQ