RE: [Q] SQLPLUS help on "distinct"

2003-08-29 Thread Jared Still
GROUP BY does not necessarily guarantee a sort. eg. you still need an ORDER BY On Fri, 2003-08-29 at 07:59, Mercadante, Thomas F wrote: > Mike, > > Add a GROUP BY command: > > select distinct (rpad(employee_id,6,' ')) ||';'|| ssn > from EMP > group by (rpad(employee_id,6,' ')) ||';'|| ssn > >

RE: [Q] SQLPLUS help on "distinct"

2003-08-29 Thread Stephane Faroult
2003 06:44:40 > >I have problem to use "distinct" with Function on >select statement. Can anyone give me a hint? > >Thanks. > >SQL> select distinct (rpad(employee_id,6,' ')) >||';'|| >ssn from EMP > 2 order by employee_id; >select distinct (rpad(employee_id,6,' ')) ||';'|| >ssn >from EMP >

RE: [Q] SQLPLUS help on "distinct"

2003-08-29 Thread Whittle Jerome Contr NCI
Title: RE: [Q] SQLPLUS help on "distinct" Mike, Try one of these: select distinct (rpad(employee_id,6,' ')) ||';'|| ssn from EMP order by (rpad(employee_id,6,' ')) ||';'|| ssn;    or select distinct employee_id, (rpad(em

RE: [Q] SQLPLUS help on "distinct"

2003-08-29 Thread Mercadante, Thomas F
Mike, Add a GROUP BY command: select distinct (rpad(employee_id,6,' ')) ||';'|| ssn from EMP group by (rpad(employee_id,6,' ')) ||';'|| ssn Hope this helps. Tom Mercadante Oracle Certified Professional -Original Message- Sent: Friday, August 29, 2003 10:45 AM To: Multiple recipients o

RE: [Q] SQLPLUS help on "distinct"

2003-08-29 Thread Jack van Zanen
Select distinct employee >From (select rpad(employee_id,6,' ')) ||';'||ssn as employee from EMP order by employee_id) Jack -Original Message- Sent: Friday, August 29, 2003 4:45 PM To: Multiple recipients of list ORACLE-L I have problem to use "distinct" with Function

RE: [Q] SQLPLUS help on "distinct"

2003-08-29 Thread Jamadagni, Rajendra
Title: RE: [Q] SQLPLUS help on "distinct" order by (rpad(employee_id,6,' ')) Raj Rajendra dot Jamadagni at nospamespn dot com All Views expressed in this email are strictly personal. QOT

[Q] SQLPLUS help on "distinct"

2003-08-29 Thread mike mon
I have problem to use "distinct" with Function on select statement. Can anyone give me a hint? Thanks. SQL> select distinct (rpad(employee_id,6,' ')) ||';'|| ssn from EMP 2 order by employee_id; select distinct (rpad(employee_id,6,' ')) ||';'|| ssn from EMP * ERROR at l

Re: Passing array as input to procedure from sqlplus-HELP

2003-06-17 Thread Paul Baumgartel
You will have to write an anonymous block that declares the array variable, and passes that array to your procedure under test. --- "Basavaraja, Ravindra" <[EMAIL PROTECTED]> wrote: > Hi All, > > I want to test a procedure that accepts an array as input.I want to > test > this script from > SQL*

Passing array as input to procedure from sqlplus-HELP

2003-06-17 Thread Basavaraja, Ravindra
Hi All, I want to test a procedure that accepts an array as input.I want to test this script from SQL*PLUS.How can I pass array value from sql*plus Procedure testproc(iarrPID IN PID_VArray). I want to test it this way SQL>Exec testproc(?) Tried this was SQL>EXEC testproc(33)

RE: Passing array as input to procedure from sqlplus-HELP

2003-06-17 Thread Jamadagni, Rajendra
Title: RE: Passing array as input to procedure from sqlplus-HELP exec testproc(pid_varray(1,2,3,4,5)); Raj Rajendra dot Jamadagni at nospamespn dot com All Views expressed in this email are strictly personal

Passing array as input to procedure from sqlplus-HELP

2003-06-17 Thread Basavaraja, Ravindra
Hi All, I want to test a procedure that accepts an array as input.I want to test this script from SQL*PLUS.How can I pass array value from sql*plus Procedure testproc(iarrPID IN PID_VArray). I want to test it this way SQL>Exec testproc(?) Tried this was SQL>EXEC testproc(33)

Re: SQLPLUS HELP

2001-02-19 Thread Gunawan Yuwono
Please note that the HELP topics on 8.1.6 are a lot less than the ones on 8.0.6. And yes, 8.1.6 doesn't have INSERT topic in the HELP table. You can load the ones missing on 8.1.6 using the scripts from 8.0.6. At least that's what I did. HTH. Gunawan Yuwono Oracle DBA Kansas City, USA --- Yusti

Re: SQLPLUS HELP

2001-02-18 Thread Yustiono
That is because you did not create SQL*Plus help tables/views (there is an option when you create the database). To enable it; - Locate files named helpbld.sql (SQL*Plus help tables/views creation) and helpus.sql (SQL*Plus help tables/views data). - Login through SQL*Plus as SYSTEM - run helpbld.s

RE: SQLPLUS HELP

2001-02-18 Thread Venkat_Kalepalli
Title: RE: SQLPLUS HELP Hello all, I want one help from you.  We are working on Oracle 8.1.6 on Sun solaris 2.6 version. We are not able to invoke help from sqlplus. eg.. sql> help insert   I want help syntax and desc of insert. It would be great if somebody suggest how to invoke h

SQLplus Help

2001-01-31 Thread Sofiane-Ennaifar
Hello, I executed the sql script & the sqlloader commands to create, load and index the table SYSTEM.HELP. When I launch the command HELP <...> in sqlplus environment installed in the Server (HP-UX), it works fine. >From an NT client, when I launch the command HELP <...>, I have the following mess