metadata gettables()
From: Jeff Kish (jeff.kish_at_mro.com)
Date: 02/23/05
- Next message: joeNOSPAM_at_BEA.com: "Re: metadata gettables()"
- Previous message: Alin Sinpalean: "Re: SQLServer 2000 Driver for JDBC behaviour on SQL Server restart"
- Next in thread: joeNOSPAM_at_BEA.com: "Re: metadata gettables()"
- Reply: joeNOSPAM_at_BEA.com: "Re: metadata gettables()"
- Reply: frebe: "Re: metadata gettables()"
- Reply: Thomas Kellerer: "Re: metadata gettables()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 23 Feb 2005 13:21:19 -0500
DatabaseMetaData.getTables(null, schemaName.toUpperCase(), "%", types);
I find that if I don't supply this in upper case, on Oracle 9.2, it does not
work.
So, I'm guessing this is all vendor dependant.
does Oracle always need these folded to upper case, and what about other db's.
I guess you can install ms sql server either to be case sensitive or case
insensitive - what is the best way to check for a certain table then?
I guess I'm not sure if this is a problem.. I mean the user creates the
schema's.. I don't know if it is a problem if they enter mixed/lower/upper
case for schema names.
Thanks for clarifying my mentally muddy waters.
Jeff Kish
- Next message: joeNOSPAM_at_BEA.com: "Re: metadata gettables()"
- Previous message: Alin Sinpalean: "Re: SQLServer 2000 Driver for JDBC behaviour on SQL Server restart"
- Next in thread: joeNOSPAM_at_BEA.com: "Re: metadata gettables()"
- Reply: joeNOSPAM_at_BEA.com: "Re: metadata gettables()"
- Reply: frebe: "Re: metadata gettables()"
- Reply: Thomas Kellerer: "Re: metadata gettables()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|