Add brackets for database name when selecting

Database names like "0_MyDatabase" needs to be wrapped in "[ ]", otherway the driver will throw an exception.