MySQL Forums
Forum List  »  Spanish

Almacenar consultas en la base de datos
Posted by: Elkin Fernando Ortiz
Date: February 17, 2022 07:25PM

Como almaceno una consulta sql en el motor de mysql de la cual obtenga luego un cursor de datos, invocando desde el cliente la consulta por un nombre. Sin necesidad de mandar el script al motor para que me devuelva datos.
Ej
Create nombre_consulta
return cursor
as
select .... from ....where()

Desde el cliente : Select * from nombre_consulta.
Es esto posible. Muchas gracias por su ayuda.

Options: ReplyQuote


Subject
Views
Written By
Posted
Almacenar consultas en la base de datos
488
February 17, 2022 07:25PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.