sql server 2000

  •  I basically want to 'step through' t-sql 2000 statements and I have tried the several methods. Can you tell me what  would you suggest? I have tired the following methods:

     1. I have a question about setting up visual studio.net 2005 professional version to debug with a sql server 2000 database. The visual studio.net 2005 is on my workstation and the sql server 2000 databases are on two separate window server boxes.

      My goal is to debug some t-sql commands. To do this, I have setup a project as a database project. The insturctions on the microsoft website url says that I need to

    attach to a process and the process that I need to attach to is 'sqlserver.exe'. However, I can not find this process to connect so. Thus, I can not attach to it if it is not in the drop down list.

      Thus can you tell me what my next step would be?

      Does it  make a difference if I select wanting to debug as 'T-sql clr' or with the 'SQL CLR' debugger?

    2. I have tried to use query analyzer 2000 from my workstation so that I can debug a stored procedure. I select the stored procedure I want from the object browser and right click to debug. The debug window does show up and the only icons that are not grayed out are the set breakspoints, and start to run. It does not allow me to set through or 'step into'. What is wrong here?

      Thanks!

  • permissions due to a service pack:

    http://support.microsoft.com/kb/328151

    You need to have admin rights, and this switch must be called in order to restore debug rights:

    Exec sp_sdidebug 'legacy_on'

    HTH; i ran into the same issue, and i knew it was wierd

     

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • Thank you very much!

  • how to call ADO.DB in VB??

    i need the code..

    if there is one..

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply