NASIL: SQL'de table döndüren bir Stored Procedure'e SELECT çekmek?
Bir çok yolu var fakat kestirme bir tane daha var. Önce; Sunucunun "ad hoc distributed queries" özelliğini açmanız gerekiyor. Varsayılan olarak kapalıdır.
USE MikroDB_V15_02 EXEC sp_configure 'show advanced options', 1 RECONFIGURE GO EXEC sp_configure 'ad hoc distributed queries', 1 RECONFIGURE GO
SONRA;
Select * from OPENROWSET('SQLOLEDB','Trusted_Connection=yes; Integrated Security=SSPI','Execute MikroDB_V15_04.dbo.msp_Ozetten_Cari_Ozet_Oku N''0'',0,N''M04.00003'',2014,N'''',N'''',0,0')















