SQL Server 2008 default schema not being respected?

Has foo user sysadmin rights on SQL Server? Because if it does then any sysadmin user will have by default assigned schema dbo, independently of what is set in User's properties for a specific database.

So, in order to have a default schema a user needs to have database roles like db_owner, db_datawriter and so on, instead of server role sysadmin.

Tell me if it'snot your case.


Another scenario in which this problem may occur (SQL 2008 R2)...

I had a user linked to a SQL Authentication Login, that I was trying to associate with an existing schema. The Login did not have sysadmin rights, so the above solution did not help.

I eventually figured out that the database was still configured in SQL 2000 compatibility mode. Changing to SQL 2005 resolved the issue.