All Products 
Username / Customer#
Password
Log In
 Hi,  |  Log Out
  • Site Search
  • Domain Search
  • WHOIS Domain Check
24/7 Support: (480) 505-8877
Hablamos Español
9 AM to 9 PM IST
7 days a week
Go Daddy Support

Search help articles, forums, and discussion groups

Viewing Your Database in SQL Server Management Studio

Date Submitted: 9-23-2010 by GoDaddy Expert  Rachel

Not what you're looking for?
We want your feedback!

Many of you let us know that you needed this functionality restored, so we did. Thanks for letting us know what we can do to provide you the best hosting service possible.

As a security measure, our MSSQL team disabled the “view server state” permissions on Web hosting accounts. This change prevents you from viewing your database directly from SQL Server Management Studio. However, you can still see your database through a new query window, which increases your safety and protects your data in the shared environment.

To view your database, you can enter the following commands in the query window:

Enter this commandTo do this
sp_helptext ‘myviewname’See the contents of a view
sp_helptext ‘myprocedurename’See the contents of a stored procedure
sp_help ‘mytable’See the details of a table
sp_help ‘objectname’Get more information about a specific object
select * from sys.tablesList database tables
select * from sys.proceduresList stored procedures
select * from sys.viewsList views
select * from sys.database_permissionsList permissions in the entire database
select * from fn_my_permissions (‘mytablename’, ‘object’)List permissions for a specific object
select * from fn_my_permissions (‘myviewname’, ‘object’)List permissions for a specific object
select * from fn_my_permissions (‘myprocedurename’, ‘object’)List permissions for a specific object
select * from fn_my_permissions (‘mydatabaseuser’, ‘user’)List permissions for a specific database user

You can refer to SQL Server Books Online (BOL) for additional commands.

5 Comments on "Viewing Your Database in SQL Server Management Studio"

  • by uvuvi on September 27th, 2010

    Sorry, a blog is no replacement to a much needed functionality.

  • by jamest85 on September 30th, 2010

    I don’t like it, it might drive potential user away. I have to use SQL Server web Admin to manage the database, I had a problem when I was trying to insert a new column in a table, the new column was also created on the end, but i want to insert it in the middle of the existing columns.

  • by Koleon on October 11th, 2010

    “Many of you let us know that you needed this functionality restored, so we did. Thanks for letting us know what we can do to provide you the best hosting service possible.

    As a security measure, our MSSQL team disabled the “view server state” permissions on Web hosting accounts. This change prevents you from viewing your database directly from SQL Server Management Studio”

    Not following you here. fail.

  • by OSCF on November 8th, 2010

    I’m glad you restored this functionality for SQL Server Mgmt Studio. But did you recently remove it again? I just connected for the first time and cannot view or access my database in the Object Explorer tree. I can access it from the query window, but as everyone else has noted, this is not acceptable. Is there something specific I need to do to be able to make use of the Mgmt Studio features?

  • by GoDaddy Expert Sean on November 15th, 2010

    @OSCF Everything should be working normally. If you’re having issues, you should try contacting support.