I am trying to fetch the last inserted ID using the below query in PHP with the help of sqlsrv_query(), but it returns me the error:
sqlsrv_query()
The act