fix spacing in pdo_transaction

This commit is contained in:
v-kaywon 2017-04-13 13:27:41 -07:00
parent ada1f7e8be
commit bdd8f35a4a

View file

@ -7,7 +7,7 @@ starts a transaction, delete rows and commit
<?php
require_once("autonomous_setup.php");
$conn = new PDO( "sqlsrv:Server=$serverName; Database = tempdb ", $username, $password);
$conn = new PDO( "sqlsrv:Server=$serverName; Database = tempdb", $username, $password);
$conn->exec("IF OBJECT_ID('Table1', 'U') IS NOT NULL DROP TABLE Table1");
$conn->exec("CREATE TABLE Table1(col1 CHARACTER(1), col2 CHARACTER(1))");