mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
Add spacing in comments to improve readability
This commit is contained in:
@@ -7,10 +7,10 @@ $connectionOptions = [
|
||||
"Uid" => "sa",
|
||||
"PWD" => "your_password",
|
||||
];
|
||||
//Establishes the connection
|
||||
// Establishes the connection
|
||||
$conn = sqlsrv_connect($serverName, $connectionOptions);
|
||||
|
||||
//Read Query
|
||||
// Read Query
|
||||
$tsql = "SELECT SUM(Price) as sum FROM Table_with_5M_rows";
|
||||
$getResults = sqlsrv_query($conn, $tsql);
|
||||
echo("Sum: ");
|
||||
|
||||
Reference in New Issue
Block a user