Updated case for dsn type, Adjusted views.  added database name