I have function in MSSQL and I need to start that from PHP. My connection is ready, but I don't know howto execute from PHP.
Here's the function I try to execute:
USE [database]
GO
DECLARE @return_value int
EXEC @return_value = [dbo].[ict_es2_import_ceniku]
@Id_ceniku = N'Maloobchodni cenik'
SELECT 'Return Value' = @return_value
GO