Implementing sql server database client