Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

The DEFAULT_SCHEMA clause cannot be used with a Windows group or with principals mapped to certificates or asymmetric keys.

Posted on 2014-11-13
1
Medium Priority
?
867 Views
Last Modified: 2014-11-13
Hi,
 I have windows Auth user to SQL Server 2008, When I try to set dbo schema as default schema for this user

I got the following message

"The DEFAULT_SCHEMA clause cannot be used with a Windows group or with principals mapped to certificates or asymmetric keys."

How do I fix this issue

Thanks
0
Comment
Question by:madmare
1 Comment
 
LVL 25

Accepted Solution

by:
DBAduck - Ben Miller earned 2000 total points
ID: 40441606
This is by design in SQL 2008.  When you have a Windows Group, you do not have an option for default Schema.  You have default schema options for a SQL Login and a Windows Login, but not a Group.

In later versions (SQL 2012, SQL 2014) you get Windows Group default schema, but not SQL 2008.
0

Featured Post

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Integration Management Part 2

963 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question