I hereby claim:
- I am jonathanhickford on github.
- I am jonathanhickford (https://keybase.io/jonathanhickford) on keybase.
- I have a public key ASAqKYyrMYVJhVAaHbtVVJ9K8lzmb3Al1QSDqBmLt6kfHQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
SET ANSI_NULLS ON | |
GO | |
SET QUOTED_IDENTIFIER ON | |
GO | |
CREATE TABLE [dbo].[Users]( | |
[id] [INT] IDENTITY(1,1) NOT NULL, | |
[client_product_code] [NVARCHAR](50) NULL, | |
CONSTRAINT [PK_Users] PRIMARY KEY CLUSTERED |
$tries = 5; | |
$pause = 10; # Seconds to wait between tries | |
While ($tries -gt 0) { | |
try { | |
$ServerConnectionString = "Data Source=(local)\SQL2012SP1;Initial Catalog=master;User Id=sa;PWD=Password12!"; | |
$ServerConnection = new-object system.data.SqlClient.SqlConnection($ServerConnectionString); | |