Re: sql 2005 schema as the default schema.



You can set this as the property of a database user e.g.

alter user foo with default_schema=bar

--
HTH

Jasper Smith (SQL Server MVP)
http://www.sqldbatips.com
I support PASS - the definitive, global
community for SQL Server professionals -
http://www.sqlpass.org

"Nalaka" <nalaka12@xxxxxxxxxxxxx> wrote in message
news:%236rsiHV8FHA.3388@xxxxxxxxxxxxxxxxxxxxxxx
> Hi,
> is it possible to set a "connection string" to use a default schema.
> instead of me having to prefix tablename with schema name in the query.
>
> so, if I don't say a schema name it uses the default schema (not .dbo).
>
>
>
>
> Thanks
> Nalaka
>
>


.



Relevant Pages

  • Re: how to get functions from stored procedures
    ... schemas and a bitmask of the supported restrictions for each schema. ... In the SQL Server case you may ... Providers are not required to support ... >> You don't say which OLEDB provider you are using here, ...
    (microsoft.public.data.oledb)
  • Re: Protecting database structure
    ... can use the new encryption support that comes out of the box in SQL server ... SQL server will only see encrypted data. ... you could do what SAP and other ERP vendors do: obfuscate the schema ... Microsoft Online Partner Support ...
    (microsoft.public.sqlserver.security)
  • Re: Is it impossible to have schema1.dave and schema2.dave as tables in the same DB?
    ... identifiers of SQL Server Objects. ... different schema names) is supported in both SQL Server 2008 and SQL Server ... Microsoft Online Community Support ... initial response from the community or a Microsoft Support Engineer within ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Schema Includes Another Schema
    ... Also...I'm almost certain that you don't mean xsd:include, but SQL Server ... 2005 doesn't support xsd:include. ... one XML namespace into one XML schema varaiable. ...
    (microsoft.public.sqlserver.xml)
  • Re: multiple cascade paths
    ... You should not have them if your schema is designed properly. ... make you understand that I tried to show that a proper design can have ... am a SQL Server MVP, for crying out loud - you can safely assume that I ...
    (comp.databases.ms-sqlserver)