Skip to content
Advertisement

Tag: stored-procedures

Stored procedure to return count

I am trying to make a stored procedure for the query I have: or I have written this stored procedure but it returns count of all the records in column not the result of query plus I need to write stored procedure in plpgsql not in SQL. Help me write this type of stored procedure in plpgsql which returns returns

SQL Server: Invalid Column Name

I am working on modifying the existing SQL Server stored procedure. I added two new columns to the table and modified the stored procedure as well to select these two columns as well. Although the columns are available in the table, I keep getting this error: Invalid column name ‘INCL_GSTAMOUNT’ Can anyone please tell me what’s wrong here? Answer Whenever

Advertisement