3
I need to do a calculation via sqlsrv, add a column of values.
This is the code I tried to make:
$qryAC = "SELECT SUM(VLRECEITACONT) AS receitaConta
FROM [RDO].[dbo].[ANALISE_CRITICA]
WHERE CC='$partCC[$i]' ";
$stmtAC = sqlsrv_query( $conn, $qryAC );
echo $stmtAC;
How do I display the result of this query?
Thanks lost! It worked.
– GustavoSevero