SyntaxFix
Write A Post
Hire A Developer
Questions
You can use the following example to store a query result in a variable using PL/pgSQL:
select * into demo from maintenanceactivitytrack ; raise notice'p_maintenanceid:%',demo;