Possible to set default schema from connection string?

后端 未结 4 950
走了就别回头了
走了就别回头了 2020-11-29 09:54

With SQL Server 2005 and 2008 is it possible to set the default schema from the connection string? It\'d be a lot easier if we didn\'t have to manually set the schema with S

4条回答
  •  青春惊慌失措
    2020-11-29 10:24

    No, this is done at the database User level, not in the connection string.

    For reference, here are all of the properties which can be set in a connection string: https://www.connectionstrings.com/all-sql-server-connection-string-keywords/

提交回复
热议问题