Schema name

Continue and complete #3924 I've added tests for postgres and SQLserver.