Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Do I need to prefix "dbo" to table name when creating a table?

Status
Not open for further replies.

sjh

Programmer
Oct 29, 2001
263
US
Hi,
Is it necessary to prefix the table name with "dbo" when using the CREATE TABLE command?

create table dbo.MYTABLE
or
create table MYTABLE

Is there a difference? If so, which one do you recommend?

Thanks for your help!
Susie
 
Shouldn't be necessary if you are sa or dbo.
If you are not then it probbably will fail.


======================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top