What's up with the <Code> block feature? If I paste my SQL code into a description field, like this....
CREATE PROC [dbo].[TestMostRecent]
(
@location varchar(50),
@tsn varchar(10),
@records int = 1
)
AS
BEGIN
RETURN 0
END
And then specify that it's SQL, and click Save.
When I come back into it, and copy it to my clipboard, it comes out fine (apparently), but it must include some bad characters because it no longer parses in SQL Server Management Studio saying there are errors...
Msg 102, Level 15, State 1, Line 1
Incorrect syntax near ''.