<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-26801181.post3316707522995874351..comments</id><updated>2011-12-01T22:30:37.813+01:00</updated><category term='Tutorial PL/SQL'/><category term='Optimización y tuning de bases de datos'/><category term='Librerías estándar PLSQL'/><category term='Utilidades PLSQL'/><category term='Bases de datos Oracle'/><title type='text'>Comments on Programación PL/SQL y bases de datos Oracle: Cómo utilizar un cursor PL/SQL como parámetro de s...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.plsql.biz/feeds/3316707522995874351/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default'/><link rel='alternate' type='text/html' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default?start-index=26&amp;max-results=25'/><author><name>José Luis Pérez</name><uri>https://profiles.google.com/102634062599347146150</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-4QS7hkQaOzk/AAAAAAAAAAI/AAAAAAAAGhg/FWpeXVJY9cg/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>31</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-26801181.post-1303028626142261135</id><published>2011-08-16T14:53:32.361+02:00</published><updated>2011-08-16T14:53:32.361+02:00</updated><title type='text'>Rafael, tu pregunta no tiene mucho que ver con est...</title><content type='html'>Rafael, tu pregunta no tiene mucho que ver con este artículo pero lo que veo a simple vista es que a la sentencia SELECT le falta la &amp;quot;T&amp;quot; final.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/1303028626142261135'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/1303028626142261135'/><link rel='alternate' type='text/html' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html?showComment=1313499212361#c1303028626142261135' title=''/><author><name>Pepelu</name><uri>http://www.blogger.com/profile/00891045835734721638</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='18072941500668390493'/><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp2.blogger.com/_ObxKtfPuuSQ/RZbWU_RnoqI/AAAAAAAAAFA/MVY1NBWkkFM/s200/compuntoes-caballo.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html' ref='tag:blogger.com,1999:blog-26801181.post-3316707522995874351' source='http://www.blogger.com/feeds/26801181/posts/default/3316707522995874351' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1588385999'/></entry><entry><id>tag:blogger.com,1999:blog-26801181.post-5406093547050746128</id><published>2011-08-13T20:28:20.387+02:00</published><updated>2011-08-13T20:28:20.387+02:00</updated><title type='text'>Hola. estoy siguiendo los pasos tal cual indicaste...</title><content type='html'>Hola. estoy siguiendo los pasos tal cual indicaste, pero en el procedimiento almacenado cuando llamo al cursor me envía el siguiente mensaje:&lt;br /&gt;El cursor  no se puede utilizar en una sentencia OPEN de SQL dinámico &lt;br /&gt;&lt;br /&gt;el cursor lo estoy usando de la siguiente manera:&lt;br /&gt;&lt;br /&gt;v_Query2:= &amp;#39;selec nombre, perfil from Perfiles&amp;#39;;&lt;br /&gt;&lt;br /&gt;OPEN cur_OUT FOR v_Query2;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/5406093547050746128'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/5406093547050746128'/><link rel='alternate' type='text/html' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html?showComment=1313260100387#c5406093547050746128' title=''/><author><name>Rafael</name><uri>http://www.blogger.com/profile/04861754669245127290</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html' ref='tag:blogger.com,1999:blog-26801181.post-3316707522995874351' source='http://www.blogger.com/feeds/26801181/posts/default/3316707522995874351' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1343645994'/></entry><entry><id>tag:blogger.com,1999:blog-26801181.post-7709312367645642556</id><published>2011-06-23T03:47:07.821+02:00</published><updated>2011-06-23T03:47:07.821+02:00</updated><title type='text'>gracias , muchas gracias x tu ayuda, no sabes lo m...</title><content type='html'>gracias , muchas gracias x tu ayuda, no sabes lo mucho q me va a servir esto</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/7709312367645642556'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/7709312367645642556'/><link rel='alternate' type='text/html' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html?showComment=1308793627821#c7709312367645642556' title=''/><author><name>Matryx</name><uri>http://www.blogger.com/profile/06577419280091242903</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html' ref='tag:blogger.com,1999:blog-26801181.post-3316707522995874351' source='http://www.blogger.com/feeds/26801181/posts/default/3316707522995874351' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-354096366'/></entry><entry><id>tag:blogger.com,1999:blog-26801181.post-7529960972390273790</id><published>2011-04-26T08:23:19.362+02:00</published><updated>2011-04-26T08:23:19.362+02:00</updated><title type='text'>Hola Jairo, yo no conozco ninguna otra forma de ha...</title><content type='html'>Hola Jairo, yo no conozco ninguna otra forma de hacerlo. El cursor de salida debe estar definido en un paquete PL/SQL.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/7529960972390273790'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/7529960972390273790'/><link rel='alternate' type='text/html' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html?showComment=1303798999362#c7529960972390273790' title=''/><author><name>Pepelu</name><uri>http://www.blogger.com/profile/00891045835734721638</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='18072941500668390493'/><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp2.blogger.com/_ObxKtfPuuSQ/RZbWU_RnoqI/AAAAAAAAAFA/MVY1NBWkkFM/s200/compuntoes-caballo.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html' ref='tag:blogger.com,1999:blog-26801181.post-3316707522995874351' source='http://www.blogger.com/feeds/26801181/posts/default/3316707522995874351' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1588385999'/></entry><entry><id>tag:blogger.com,1999:blog-26801181.post-6842554249974109519</id><published>2011-04-20T00:34:43.744+02:00</published><updated>2011-04-20T00:34:43.744+02:00</updated><title type='text'>Tengo una duda es posible retornar el cursos desde...</title><content type='html'>Tengo una duda es posible retornar el cursos desde el procedimiento sin necesidad de crear el paquete.&lt;br /&gt;&lt;br /&gt;agradezco la colaboracion</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/6842554249974109519'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/6842554249974109519'/><link rel='alternate' type='text/html' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html?showComment=1303252483744#c6842554249974109519' title=''/><author><name>Jairo Plazas Leon</name><uri>http://www.blogger.com/profile/07758084703499085679</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html' ref='tag:blogger.com,1999:blog-26801181.post-3316707522995874351' source='http://www.blogger.com/feeds/26801181/posts/default/3316707522995874351' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-57685642'/></entry><entry><id>tag:blogger.com,1999:blog-26801181.post-331981773524294622</id><published>2010-11-22T20:32:03.178+01:00</published><updated>2010-11-22T20:32:03.178+01:00</updated><title type='text'>excelente blog me fue muy util.. gracias</title><content type='html'>excelente blog me fue muy util.. gracias</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/331981773524294622'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/331981773524294622'/><link rel='alternate' type='text/html' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html?showComment=1290454323178#c331981773524294622' title=''/><author><name>Drauguebz</name><uri>http://www.blogger.com/profile/04819638533654974470</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_KLVnQLyu-zc/TDVNISsioxI/AAAAAAAAAAM/I9n6mQplqM8/S220/22.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html' ref='tag:blogger.com,1999:blog-26801181.post-3316707522995874351' source='http://www.blogger.com/feeds/26801181/posts/default/3316707522995874351' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-948836611'/></entry><entry><id>tag:blogger.com,1999:blog-26801181.post-7628577068373885620</id><published>2010-11-15T14:15:27.282+01:00</published><updated>2010-11-15T14:15:27.282+01:00</updated><title type='text'>Bueno muchas gracias por las respuestas, creo que ...</title><content type='html'>Bueno muchas gracias por las respuestas, creo que ya voy captando la idea, de todos modos seguire investigando y preguntando por aqui algunas dudas mas.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/7628577068373885620'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/7628577068373885620'/><link rel='alternate' type='text/html' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html?showComment=1289826927282#c7628577068373885620' title=''/><author><name>Adaias</name><uri>http://www.blogger.com/profile/07388734320037781528</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html' ref='tag:blogger.com,1999:blog-26801181.post-3316707522995874351' source='http://www.blogger.com/feeds/26801181/posts/default/3316707522995874351' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1895310495'/></entry><entry><id>tag:blogger.com,1999:blog-26801181.post-9046306428436382377</id><published>2010-11-13T11:19:48.732+01:00</published><updated>2010-11-13T11:19:48.732+01:00</updated><title type='text'>Adaias, creo que un ejemplo que escribí el 7 de ag...</title><content type='html'>Adaias, creo que un ejemplo que escribí el 7 de agosto de 2009 en un comentario de este mismo artículo es la respuesta a tu pregunta. Pero basicamente te diré que se necesita un FETCH para recorrer los cursores devueltos por una función o procedimiento.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/9046306428436382377'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/9046306428436382377'/><link rel='alternate' type='text/html' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html?showComment=1289643588732#c9046306428436382377' title=''/><author><name>Pepelu</name><uri>http://www.blogger.com/profile/00891045835734721638</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='18072941500668390493'/><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp2.blogger.com/_ObxKtfPuuSQ/RZbWU_RnoqI/AAAAAAAAAFA/MVY1NBWkkFM/s200/compuntoes-caballo.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html' ref='tag:blogger.com,1999:blog-26801181.post-3316707522995874351' source='http://www.blogger.com/feeds/26801181/posts/default/3316707522995874351' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1588385999'/></entry><entry><id>tag:blogger.com,1999:blog-26801181.post-1587804379650904531</id><published>2010-11-12T23:49:33.438+01:00</published><updated>2010-11-12T23:49:33.438+01:00</updated><title type='text'>Adais, tendrias que definir una funcion que te reg...</title><content type='html'>Adais, tendrias que definir una funcion que te regrese un tipo syscursor y recibirlo en una variable igual y esa variable vaciarlo en una tabla echa por ti que contenga el mismo numero de cambios asi como sus tipos.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/1587804379650904531'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/1587804379650904531'/><link rel='alternate' type='text/html' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html?showComment=1289602173438#c1587804379650904531' title=''/><author><name>Ulises</name><uri>http://www.blogger.com/profile/08583980161318167219</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html' ref='tag:blogger.com,1999:blog-26801181.post-3316707522995874351' source='http://www.blogger.com/feeds/26801181/posts/default/3316707522995874351' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-94150263'/></entry><entry><id>tag:blogger.com,1999:blog-26801181.post-9084700941464990033</id><published>2010-11-12T23:46:34.059+01:00</published><updated>2010-11-12T23:46:34.059+01:00</updated><title type='text'>Ok, de maravilla la información, pero tengo una pr...</title><content type='html'>Ok, de maravilla la información, pero tengo una pregunta.&lt;br /&gt;&lt;br /&gt;¿puedo utilizar un cursor definido en el package como return de una funcion?.&lt;br /&gt;&lt;br /&gt;desconozco como funciona oracle, pero lo que quiero hacer es: desde mi aplicacion llamar un SP o funcion, pero no se si al hacer eso me devuelvan los datos en el formato que lo devuelve directamente un SELECT * FROM USER por ejemplo(lo cual devuelve una tabla en memoria).&lt;br /&gt;&lt;br /&gt;¿si ejecuto una funcion de tipo cursor, al llamarlo en mi aplicacion me regresara algo como si fuera un select? o tengo que recorrerlo con un fetch...etc.  aunque en realidad yo no quiero mostrar los datos en la consola de oracle(dbms_output.put_line)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/9084700941464990033'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/9084700941464990033'/><link rel='alternate' type='text/html' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html?showComment=1289601994059#c9084700941464990033' title=''/><author><name>Adaias</name><uri>http://www.blogger.com/profile/07388734320037781528</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html' ref='tag:blogger.com,1999:blog-26801181.post-3316707522995874351' source='http://www.blogger.com/feeds/26801181/posts/default/3316707522995874351' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1895310495'/></entry><entry><id>tag:blogger.com,1999:blog-26801181.post-2959720235427336440</id><published>2010-09-27T18:14:39.739+02:00</published><updated>2010-09-27T18:14:39.739+02:00</updated><title type='text'>Marcos, efectivamente tienes que definir la refere...</title><content type='html'>Marcos, efectivamente tienes que definir la referencia al cursor.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/2959720235427336440'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/2959720235427336440'/><link rel='alternate' type='text/html' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html?showComment=1285604079739#c2959720235427336440' title=''/><author><name>Pepelu</name><uri>http://www.blogger.com/profile/00891045835734721638</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='18072941500668390493'/><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp2.blogger.com/_ObxKtfPuuSQ/RZbWU_RnoqI/AAAAAAAAAFA/MVY1NBWkkFM/s200/compuntoes-caballo.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html' ref='tag:blogger.com,1999:blog-26801181.post-3316707522995874351' source='http://www.blogger.com/feeds/26801181/posts/default/3316707522995874351' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1588385999'/></entry><entry><id>tag:blogger.com,1999:blog-26801181.post-60935858450515937</id><published>2010-09-27T17:15:25.899+02:00</published><updated>2010-09-27T17:15:25.899+02:00</updated><title type='text'>Otra ves yo!
Saben siento que he aprendi mucho y q...</title><content type='html'>Otra ves yo!&lt;br /&gt;Saben siento que he aprendi mucho y que he avanzado enormemente, pero tengo una consulta mas:&lt;br /&gt;resulta que es realidad lo que hemos aprendido es a enviar referencias de cursores( no cursores como tal) me dicen si me equivoco! en realidad no se puede enviar cursores sino mas bien solo referencias. &lt;br /&gt;Mi consulta es para enviar una referencia de un cursor es necesario definirla en un paquete??? es decir si no la defino en un paquete no puedo enviarla como parametros???</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/60935858450515937'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/60935858450515937'/><link rel='alternate' type='text/html' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html?showComment=1285600525899#c60935858450515937' title=''/><author><name>Marcos</name><uri>http://www.blogger.com/profile/18348285171280364593</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_EBZUoo6Deew/TGnidG0pptI/AAAAAAAAAB4/1IqOLxt3Njs/S220/YO.JPG'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html' ref='tag:blogger.com,1999:blog-26801181.post-3316707522995874351' source='http://www.blogger.com/feeds/26801181/posts/default/3316707522995874351' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1978126872'/></entry><entry><id>tag:blogger.com,1999:blog-26801181.post-7340784897876685339</id><published>2010-08-19T01:52:41.461+02:00</published><updated>2010-08-19T01:52:41.461+02:00</updated><title type='text'>No, no tengo ningún tutorial de Oracle Forms. Con ...</title><content type='html'>No, no tengo ningún tutorial de Oracle Forms. Con este de PL/SQL ya tengo trabajo más que suficiente.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/7340784897876685339'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/7340784897876685339'/><link rel='alternate' type='text/html' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html?showComment=1282175561461#c7340784897876685339' title=''/><author><name>Pepelu</name><uri>http://www.blogger.com/profile/00891045835734721638</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='18072941500668390493'/><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp2.blogger.com/_ObxKtfPuuSQ/RZbWU_RnoqI/AAAAAAAAAFA/MVY1NBWkkFM/s200/compuntoes-caballo.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html' ref='tag:blogger.com,1999:blog-26801181.post-3316707522995874351' source='http://www.blogger.com/feeds/26801181/posts/default/3316707522995874351' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1588385999'/></entry><entry><id>tag:blogger.com,1999:blog-26801181.post-4110963837345870842</id><published>2010-08-18T22:11:36.179+02:00</published><updated>2010-08-18T22:11:36.179+02:00</updated><title type='text'>Saludos, 
Viejo me sirvio de gran ayuda. Te lo agr...</title><content type='html'>Saludos, &lt;br /&gt;Viejo me sirvio de gran ayuda. Te lo agradezco. Pregunta, no tienes tutoriales sobre OracleForms y plsql??&lt;br /&gt;&lt;br /&gt;Gracias por tu ayuda!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/4110963837345870842'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/4110963837345870842'/><link rel='alternate' type='text/html' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html?showComment=1282162296179#c4110963837345870842' title=''/><author><name>Oscar Vargas</name><uri>http://www.blogger.com/profile/11511215847319070670</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html' ref='tag:blogger.com,1999:blog-26801181.post-3316707522995874351' source='http://www.blogger.com/feeds/26801181/posts/default/3316707522995874351' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-778851668'/></entry><entry><id>tag:blogger.com,1999:blog-26801181.post-2160997295788014242</id><published>2010-08-13T12:24:37.253+02:00</published><updated>2010-08-13T12:24:37.253+02:00</updated><title type='text'>Hola Oscar,

1) El error PLS-00382 indica que está...</title><content type='html'>Hola Oscar,&lt;br /&gt;&lt;br /&gt;1) El error PLS-00382 indica que estás utilizando en algún lugar del código un tipo de dato incorrecto, pero no te puedo decir nada más.&lt;br /&gt;&lt;br /&gt;2) En un comentario de esta misma entrada tienes un ejemplo que hace exactamente lo que me estás preguntando.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/2160997295788014242'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/2160997295788014242'/><link rel='alternate' type='text/html' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html?showComment=1281695077253#c2160997295788014242' title=''/><author><name>Pepelu</name><uri>http://www.blogger.com/profile/00891045835734721638</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='18072941500668390493'/><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp2.blogger.com/_ObxKtfPuuSQ/RZbWU_RnoqI/AAAAAAAAAFA/MVY1NBWkkFM/s200/compuntoes-caballo.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html' ref='tag:blogger.com,1999:blog-26801181.post-3316707522995874351' source='http://www.blogger.com/feeds/26801181/posts/default/3316707522995874351' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1588385999'/></entry><entry><id>tag:blogger.com,1999:blog-26801181.post-9081037452482462984</id><published>2010-08-12T23:20:58.637+02:00</published><updated>2010-08-12T23:20:58.637+02:00</updated><title type='text'>Saludos, 
Casi que no encuentro info de este tema....</title><content type='html'>Saludos, &lt;br /&gt;Casi que no encuentro info de este tema. Me ha sido de gran ayuda. Tengo dos inconvenientes por ahora.&lt;br /&gt;1) Al ejecutarlo en el Developer me genera el siguiente error:&lt;br /&gt;&lt;br /&gt;&amp;quot;PLS-00382: el tipo de la expresión no es correcto&amp;quot;&lt;br /&gt;&lt;br /&gt;Solo tengo dos parametros de entrada el cursor y otra llamada P_Dano IN NUMBER&lt;br /&gt;&lt;br /&gt;No entiendo el motivo del error. No creo q&amp;#39; tenga mucho q&amp;#39; ver el numero de digitos como he llamado el cursor o el parametro de entrada.&lt;br /&gt;&lt;br /&gt;La otra pregunta ...&lt;br /&gt;2) Necesito imprimir en pantalla lo que me trae el SP. Tendria que generar otro cursor en el Bloque anonimo cuando llame el SP??? Si es cierto, como realizo el recorrido de este nuevo cursor??&lt;br /&gt;&lt;br /&gt;Gracias por tu colaboración--</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/9081037452482462984'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/9081037452482462984'/><link rel='alternate' type='text/html' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html?showComment=1281648058637#c9081037452482462984' title=''/><author><name>Oscar Vargas</name><uri>http://www.blogger.com/profile/11511215847319070670</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html' ref='tag:blogger.com,1999:blog-26801181.post-3316707522995874351' source='http://www.blogger.com/feeds/26801181/posts/default/3316707522995874351' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-778851668'/></entry><entry><id>tag:blogger.com,1999:blog-26801181.post-1920752428294699663</id><published>2009-11-17T23:46:08.412+01:00</published><updated>2009-11-17T23:46:08.412+01:00</updated><title type='text'>Ulises, echa un vistazo a esta página: 

http://fo...</title><content type='html'>Ulises, echa un vistazo a esta página: &lt;br /&gt;&lt;br /&gt;http://forums.oracle.com/forums/thread.jspa?threadID=841752</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/1920752428294699663'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/1920752428294699663'/><link rel='alternate' type='text/html' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html?showComment=1258497968412#c1920752428294699663' title=''/><author><name>Pepelu</name><uri>http://www.blogger.com/profile/00891045835734721638</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='18072941500668390493'/><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp2.blogger.com/_ObxKtfPuuSQ/RZbWU_RnoqI/AAAAAAAAAFA/MVY1NBWkkFM/s200/compuntoes-caballo.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html' ref='tag:blogger.com,1999:blog-26801181.post-3316707522995874351' source='http://www.blogger.com/feeds/26801181/posts/default/3316707522995874351' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1588385999'/></entry><entry><id>tag:blogger.com,1999:blog-26801181.post-8090284332902378255</id><published>2009-11-17T18:16:44.510+01:00</published><updated>2009-11-17T18:16:44.510+01:00</updated><title type='text'>Hola Pepelepu, pues tengo un pequeño problema, ten...</title><content type='html'>Hola Pepelepu, pues tengo un pequeño problema, tenemos algunos Package en nuestra base de datos, pero los queremos llamar desde un ADF que esta echo en Jdeveloper, me podrias ayudar con esto, los procedimientos tambien nos devuelven cursores asi como los que posteaste, pero no sabemos como invocarlos desde Jdeveloper ADF</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/8090284332902378255'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/8090284332902378255'/><link rel='alternate' type='text/html' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html?showComment=1258478204510#c8090284332902378255' title=''/><author><name>Ulises</name><uri>http://www.blogger.com/profile/08583980161318167219</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html' ref='tag:blogger.com,1999:blog-26801181.post-3316707522995874351' source='http://www.blogger.com/feeds/26801181/posts/default/3316707522995874351' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-94150263'/></entry><entry><id>tag:blogger.com,1999:blog-26801181.post-1278088858290674307</id><published>2009-10-23T17:03:35.419+02:00</published><updated>2009-10-23T17:03:35.419+02:00</updated><title type='text'>Hola Lukaz, en este caso me has pillado porque no ...</title><content type='html'>Hola Lukaz, en este caso me has pillado porque no tengo ninguna experiencia con Visual Basic conectado a una base de datos Oracle.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/1278088858290674307'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/1278088858290674307'/><link rel='alternate' type='text/html' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html?showComment=1256310215419#c1278088858290674307' title=''/><author><name>Pepelu</name><uri>http://www.blogger.com/profile/00891045835734721638</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='18072941500668390493'/><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp2.blogger.com/_ObxKtfPuuSQ/RZbWU_RnoqI/AAAAAAAAAFA/MVY1NBWkkFM/s200/compuntoes-caballo.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html' ref='tag:blogger.com,1999:blog-26801181.post-3316707522995874351' source='http://www.blogger.com/feeds/26801181/posts/default/3316707522995874351' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1588385999'/></entry><entry><id>tag:blogger.com,1999:blog-26801181.post-5468120053060259705</id><published>2009-10-23T16:58:23.677+02:00</published><updated>2009-10-23T16:58:23.677+02:00</updated><title type='text'>pepelu, es excelente la informacion posteada aca,
...</title><content type='html'>pepelu, es excelente la informacion posteada aca,&lt;br /&gt;ahora te pregunto, no se como invocar el store procedure desde visual basic 6 para poder utilizar justamente el cursor.&lt;br /&gt;vos podras pasarme esa informacion?&lt;br /&gt;gracias</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/5468120053060259705'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/5468120053060259705'/><link rel='alternate' type='text/html' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html?showComment=1256309903677#c5468120053060259705' title=''/><author><name>.:. Luk@z .:.</name><uri>http://www.blogger.com/profile/13268621570213751135</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_s4W3P0X2Mnc/SOUa0IJBGeI/AAAAAAAAAAY/T78hQxfBvZo/S220/IMG_0050.JPG'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html' ref='tag:blogger.com,1999:blog-26801181.post-3316707522995874351' source='http://www.blogger.com/feeds/26801181/posts/default/3316707522995874351' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1258391619'/></entry><entry><id>tag:blogger.com,1999:blog-26801181.post-1130253659723183795</id><published>2009-08-22T21:03:39.336+02:00</published><updated>2009-08-22T21:03:39.336+02:00</updated><title type='text'>Marcos, tu comentario puede crear confusión. SYS_R...</title><content type='html'>Marcos, tu comentario puede crear confusión. SYS_REFCURSOR se trata de un tipo REF CURSOR que viene predefinido desde la versión 9i de las bases de datos Oracle. Es cierto que se puede utilizar para lo que he explicado, pero tampoco abrevia demasiado el proceso.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/1130253659723183795'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/1130253659723183795'/><link rel='alternate' type='text/html' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html?showComment=1250967819336#c1130253659723183795' title=''/><author><name>Pepelu</name><uri>http://www.blogger.com/profile/00891045835734721638</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='18072941500668390493'/><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp2.blogger.com/_ObxKtfPuuSQ/RZbWU_RnoqI/AAAAAAAAAFA/MVY1NBWkkFM/s200/compuntoes-caballo.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html' ref='tag:blogger.com,1999:blog-26801181.post-3316707522995874351' source='http://www.blogger.com/feeds/26801181/posts/default/3316707522995874351' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1588385999'/></entry><entry><id>tag:blogger.com,1999:blog-26801181.post-3860768515270321282</id><published>2009-08-21T17:46:54.587+02:00</published><updated>2009-08-21T17:46:54.587+02:00</updated><title type='text'>esa es la manera &amp;#39;primitiva&amp;#39; ahora se usa ...</title><content type='html'>esa es la manera &amp;#39;primitiva&amp;#39; ahora se usa sys_refcursor. suerte , buen blog !!!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/3860768515270321282'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/3860768515270321282'/><link rel='alternate' type='text/html' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html?showComment=1250869614587#c3860768515270321282' title=''/><author><name>Marcos Vera</name><uri>http://www.blogger.com/profile/01987757371547875609</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html' ref='tag:blogger.com,1999:blog-26801181.post-3316707522995874351' source='http://www.blogger.com/feeds/26801181/posts/default/3316707522995874351' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1331353470'/></entry><entry><id>tag:blogger.com,1999:blog-26801181.post-6115120659879288862</id><published>2009-08-20T15:59:06.891+02:00</published><updated>2009-08-20T15:59:06.891+02:00</updated><title type='text'>Buen articulo, me ha servido, y buen blog, he cons...</title><content type='html'>Buen articulo, me ha servido, y buen blog, he conseguido buena info de plsql aqui&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;salu2</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/6115120659879288862'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/6115120659879288862'/><link rel='alternate' type='text/html' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html?showComment=1250776746891#c6115120659879288862' title=''/><author><name>_84kur10_</name><uri>http://www.blogger.com/profile/10956940023085598213</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://3.bp.blogspot.com/_evozqn1WChE/SjKmZv_wX1I/AAAAAAAAAA0/gJek0VecBc0/s1600-R/images.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html' ref='tag:blogger.com,1999:blog-26801181.post-3316707522995874351' source='http://www.blogger.com/feeds/26801181/posts/default/3316707522995874351' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1831305139'/></entry><entry><id>tag:blogger.com,1999:blog-26801181.post-647590629335492819</id><published>2009-08-17T16:17:15.938+02:00</published><updated>2009-08-17T16:17:15.938+02:00</updated><title type='text'>Hola Kraftcreme,

Tu pregunta no tiene mucho que v...</title><content type='html'>Hola Kraftcreme,&lt;br /&gt;&lt;br /&gt;Tu pregunta no tiene mucho que ver con lo que se cuenta en este artículo y es algo bastante básico. De todas formas te adjunto un ejemplo de como debería ser el script PL/SQL que me pides:&lt;br /&gt;&lt;br /&gt;DECLARE&lt;br /&gt;  -- Cursor para obtener el nombre y la edad&lt;br /&gt;  CURSOR obtener_nombre IS &lt;br /&gt;    SELECT &lt;br /&gt;      nombre,&lt;br /&gt;      edad&lt;br /&gt;    FROM &lt;br /&gt;      tabla_nombres&lt;br /&gt;    WHERE &lt;br /&gt;      dni = &amp;amp;1;&lt;br /&gt;    &lt;br /&gt;BEGIN&lt;br /&gt;  -- Obteniendo nombres con mismo DNI&lt;br /&gt;  FOR obtener_nombre_rec IN obtener_nombre LOOP&lt;br /&gt;    dbms_output.put_line (&amp;#39;Nombre &amp;#39;||obtener_nombre_rec.nombre);&lt;br /&gt;    dbms_output.put_line (&amp;#39;Edad &amp;#39;||obtener_nombre_rec.edad);&lt;br /&gt;  END LOOP;&lt;br /&gt;END;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/647590629335492819'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/647590629335492819'/><link rel='alternate' type='text/html' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html?showComment=1250518635938#c647590629335492819' title=''/><author><name>Pepelu</name><uri>http://www.blogger.com/profile/00891045835734721638</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='18072941500668390493'/><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp2.blogger.com/_ObxKtfPuuSQ/RZbWU_RnoqI/AAAAAAAAAFA/MVY1NBWkkFM/s200/compuntoes-caballo.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html' ref='tag:blogger.com,1999:blog-26801181.post-3316707522995874351' source='http://www.blogger.com/feeds/26801181/posts/default/3316707522995874351' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1588385999'/></entry><entry><id>tag:blogger.com,1999:blog-26801181.post-5006774157901441437</id><published>2009-08-16T03:45:15.645+02:00</published><updated>2009-08-16T03:45:15.645+02:00</updated><title type='text'>Hola, tengo una tabla como sigue:
DNI NOMBRE      ...</title><content type='html'>Hola, tengo una tabla como sigue:&lt;br /&gt;DNI NOMBRE       EDAD&lt;br /&gt;--- ------------ ----&lt;br /&gt;11  Juan Álvarez 18&lt;br /&gt;&lt;br /&gt;Cómo puedo hacer lo siguiente:&lt;br /&gt;crear un bloque PL/SQL, que pida por teclado el dni de la persona y que posteriormente se muestre el nombre y la edad de la persona correspondiente.&lt;br /&gt;&lt;br /&gt;Gracias&lt;br /&gt;Saludos&lt;br /&gt;Iván</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/5006774157901441437'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26801181/3316707522995874351/comments/default/5006774157901441437'/><link rel='alternate' type='text/html' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html?showComment=1250387115645#c5006774157901441437' title=''/><author><name>kraftcreme</name><uri>http://www.blogger.com/profile/11818632079397807780</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.plsql.biz/2009/07/como-utilizar-un-cursor-plsql-como.html' ref='tag:blogger.com,1999:blog-26801181.post-3316707522995874351' source='http://www.blogger.com/feeds/26801181/posts/default/3316707522995874351' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-291928333'/></entry></feed>
