- Wed Sep 02, 2020 7:42 am
#828381
Hi,
I'm not able to execute SQL Server stored procedures using the executequery. All queries work fine insert/update etc.
This is the code I use:
Thanks in advance.
I'm not able to execute SQL Server stored procedures using the executequery. All queries work fine insert/update etc.
This is the code I use:
Code: Select all
Any idea how to solve?$proc = @@PROCESS;
$result = executeQuery("SELECT DBS_UID FROM DB_SOURCE WHERE PRO_UID='$proc' " .
"AND DBS_DATABASE_NAME='SHEET'");
if (!is_array($result) or count($result) == 0)
die("Error!");
$db = $result[1]['DBS_UID'];
executeQuery ("EXEC UPD_RDA '20200901164359363','123',''", $db);
Thanks in advance.
Attachments
Schermata del 2020-09-02 13-39-22.png (72.38 KiB) Viewed 8157 times