Really appreciate if I can get any help on this
I have one sql query i.e query1 which displays the list of users who are not logged in to our application and another query "query2" that uses the ouput of query 1 and disables those user. Until now I had to manually run the two query individually, but now I have to automate the process.
My question is how can I pass the output of query1 as input to query2 without any manually work. I did some research and found out that this can be done using procedures and I need to create cursors as well. If this is true please let me know the steps on how to proceed further
I have Oracle database on the backend for our application. and we use SQL to retrieve the data
Thanks victor
sql-server(that is: Microsoft SQL Server) - so which is it now??