Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8483837
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T20:12:57+00:00 2026-06-10T20:12:57+00:00

Using Server Explorer in Visual Studio 2010 to browse and query a SQL Server

  • 0

Using Server Explorer in Visual Studio 2010 to browse and query a SQL Server – there are some stored procedures for the database but I could not find a way to view the body of the stored procedure in Visual Studio.

From this MSDN article I tried a few hints, but I kept getting:

The EXEC SQL construct or statement is not supported

Is there no way to do this from Visual Studio? I eventually solved my problem by installing SQL Management Studio; but I am hoping there is a way to do this in Visual Studio.

Update:

  • I am not using a project – that is, I am not in an active project in Visual Studio; it is a simple case of browsing the database’s objects and executing some queries from the Server Explorer window.
  • The database server appears in the Server Explorer tree as SQLEDB.SERVER-NAME.DBNAME
  • Visual Studio 2010 already has SP1 applied
  • The same credentials allow me to view the body of the stored procedure when I connect via SQL Management Studio.
  • SQL Server version is SQL Server 8.0.2055 (8.0 SP4)
  • Workstation is running Windows XP Professional (so SQL Server Data Tools cannot be installed)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T20:12:59+00:00Added an answer on June 10, 2026 at 8:12 pm
    • Open Server Explorer
    • Drill down to your procedure.
    • Right Click Open

    http://msdn.microsoft.com/en-us/library/saezsty3(v=vs.100).aspx

    Or if you have Sql Server Data Tools installed

    • Open SQL Server Object Explorer from the view menu.
    • Drill down to your procedure.
    • Right Click View Code
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using MS Visual Studio 2010 to create an application with SQL Server 2008
I use to attach a database to my server explorer in visual studio 2010,
I have connected with the database successfully by using wizard in server explorer. but
I created a database and dbml in visual studio 2010 using its wizards. Everything
I've been happily using Team Foundation Server with Visual Studio 2010 for the last
I am using visual studio 2008 and SQl Server 2008. I recently formatted my
Using the Source Control Explorer for TFS in Visual Studio, is there a way
I am using Visual Studio 2010, and I have a LINQ-to-SQL DBML file that
I'm trying to connect my local Oracle 11g database using server explorer in Visual
In Visual Studio 2010, attempting to use the Server Explorer to add a data

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.