pipeline? [message #615763] |
Mon, 09 June 2014 02:26 |
|
hahaie
Messages: 194 Registered: May 2014
|
Senior Member |
|
|
Hello.
Who can be a very simple example of a pipe (with simple tables) to tell me?
Grateful
|
|
|
|
Re: pipeline? [message #615768 is a reply to message #615763] |
Mon, 09 June 2014 02:43 |
|
Michel Cadot
Messages: 68641 Registered: March 2007 Location: Nanterre, France, http://...
|
Senior Member Account Moderator |
|
|
It depends on what you mean by this.
* Use of pipelined function
* Use of DBMS_PIPE package?
Which pipe are you talking about? Explain.
Simple example of pipelined function:
SQL> create or replace function get_n (n integer)
2 return sys.odcinumberlist
3 pipelined
4 is
5 begin
6 for i in 1..n loop
7 pipe row (i);
8 end loop;
9 end;
10 /
Function created.
SQL> select * from table(get_n(10));
COLUMN_VALUE
------------
1
2
3
4
5
6
7
8
9
10
10 rows selected.
DBMS_PIPE package is used to communicate between different sessions.
[Updated on: Mon, 09 June 2014 02:44] Report message to a moderator
|
|
|
|
|
|
Re: pipeline? [message #615782 is a reply to message #615775] |
Mon, 09 June 2014 04:07 |
Lalit Kumar B
Messages: 3174 Registered: May 2013 Location: World Wide on the Web
|
Senior Member |
|
|
hahaie wrote on Mon, 09 June 2014 14:08"Lalit Kumar B" You can not rush this link to know what did you give to what!!
I want a simple example of the pipe line in the view(plsql oracle)...
Ok, wasn't that T.Kyte's ETL example of pipeline function simple? Can you please post what have you tried so far? Unless you post a test case, how would anybody understand what you want with your precise words?
|
|
|