Getting error!!!!!!!!!

  • Hello All,

    I am trying to execute a query in QA and getting this error:

    [Microsoft][ODBC SQL Server Driver]Syntax error or access violation

    I have created my own test database in the development server and assigned "System Administrators" fixed server role to my NT user name.

    I am creating a table and wrote a stored procedure to get the information. While executing the stored procedure, am encountering the above mentioned error. Table is created in my test database.

    CREATE PROCEDURE test

     AS

     {

            select * from msdb..sysjobs

     }

    any help would be appreciated.

    Windows Server 2003 with SQL Server 2000.

    Thanks


    Lucky

  • CREATE PROCEDURE test

    AS

    select * from msdb..sysjobs

    GO

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

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