July 18, 2005 at 2:22 am
I am attempting to create a new stored procedure in SQL Server 2000 Enterprise manager. I have copied the contents of an old procedure. And then I click on Stored Procedure under the database and click on New Stored Procedure. I then copy the contents of the old procedure into the New Stored Procedure window. I have only changed the name of the stored procedure in line 2.
And I get the following error when I click on OK to save the procedure.
Microsoft SQL-DMO (ODBC SQLState: 42000) Error 170: line 2: Incorrect syntax near 'sp_UpdateTrusIDFromHIERARCHY'
Any ideas on what could be the problem?
July 19, 2005 at 11:18 am
Would help if you include the whole proc. Must have a syntax error somewhere.
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy