added sql server sample code