5
I need to run the query below in PHP with SQL Server, however I cannot use the clause LIMIT
absent in darlings microsoft.
$SqlTabelaAtual="SELECT *
FROM BusinessCadTabPreco
RIGHT JOIN BusinessCadTabPrecoItem ON BusinessCadTabPreco.CdTabela = BusinessCadTabPrecoItem.CdTabela
WHERE BusinessCadTabPreco.CdEmpresa =01
AND CdProduto =".$row['CdProduto']."
ORDER BY BusinessCadTabPreco.DtSincronizar DESC LIMIT 1
Which version of mssql?
– rray
I believe it is 2015, I ran a php_info, I didn’t see anything in mssql info. How can I test?
– denis