Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: How to detect views w/ JDBC?

Re: How to detect views w/ JDBC?

From: Rauf Sarwar <rs_arwar_at_hotmail.com>
Date: 18 Apr 2005 07:16:11 -0700
Message-ID: <1113833771.156657.167630@l41g2000cwc.googlegroups.com>

Thomas Kellerer wrote:
> On 18.04.2005 15:32 Rauf Sarwar wrote:
>
> > String s = new String("TABLE\nVIEW");
> > String[] str = s.split("\n");
>
> Any reason why you didn't use
>
> String[] str = new String[] { "TABLE", "VIEW" };
>
> Thomas

No particular reason. Was trying couple of different things so it ended up like this. Syntax can be easily improved upon :)

Regards
/Rauf Received on Mon Apr 18 2005 - 09:16:11 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US