views:

7

answers:

1

I'm trying to add an SQL stored procedure to our PVCS directory, and I'm seeing a weird error pop up. First, I get a dialog box containing ÿþC. When I click OK on this dialog box, I'm told that -

An error has ocurred: The stored procedure code does not use the CREATE method. Please check your syntax.

Despite the fact that my procedure code DOES use the CREATE method. I have also debugged my create procedure statement in the SQL Server Management Studio.

What is going on?

+2  A: 

I was using a non-standard character encoding in Notepad++ (UCS-2 Little Endian). PVCS (Merant Version Manager) can't handle non-standard encodings. When I switched to ANSI encoding, the error went away.

Eric Hendrickson
+1 for figuring it out yourself.
Bob Jarvis