Is there an option/setting/default in SQL Server that causes new stored procedures to be placed under your userid instead of schema dbo
? I am in the db-owner group, as tested by this script.
For example, I run this in SSMS:
create proc TestName as
print 'this is just a test'
The stored procedure created is CORP\myuser.TestName
, so CORP\myuser
seems to be the schema, right?
Or do I need to specifically specify dbo.TestName
when I create it?
Relates to this question: Alter Schema Transfer fails even when I'm a db-owner