79161806

Date: 2024-11-06 08:26:01
Score: 3
Natty:
Report link

CREATE PROCEDURE dbo.get_cars_and_cities1 AS BEGIN -- Return rows from 'cars' table SELECT * FROM Test_Practice.dbo.emp;

-- Return rows from 'cities' table
SELECT * FROM Test_Practice.dbo.emp2;

END;

EXEC dbo.get_cars_and_cities1;

I want to achive the same behaviour in pSql, Anyone can suggest me how should i display the 2 result set in one function or query.

Reasons:
  • Blacklisted phrase (1): how should i
  • RegEx Blacklisted phrase (1): I want
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Ayaj Ahamad