Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Is it a way to return Jason object from SQL query?This is my store proc that I like to return Jason object.
Create PROCEDURE [dbo].[Get_Payment_Gateway] ASBEGIN SET NOCOUNT ON;SELECT [Payment_Gateway_ID] ,[Payment_Gateway_Name] ,[Payment_Gateway_URL] ,[Payment_Gateway_Description] FROM [CustomerPortal].[dbo].[Payment_Gateway] PG WITH (NOLOCK) END
tkizer
Almighty SQL Goddess
38200 Posts
Posted - 2015-01-12 : 12:39:29
What is "Jason object"? Please show us sample data and expected output.Tara KizerSQL Server MVP since 2007http://weblogs.sqlteam.com/tarad/