Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: How to detect views w/ JDBC?
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
![]() |
![]() |