Support all versions of sql server by config changin and auto build connection string.