SQL server Stored Procedure: Error 21037: [SQL-DMO] "CREATE…" in the Text attribute ..." The Name specified in the statement must be the same as the Name .... Problem Solving

Source: Internet
Author: User

I encountered a problem with using the stored procedure today. I used it for the first time. I used the Enterprise Manager to create a stored procedure. I just gave a name and didn't want to write anything in it. I saved it, later I used it, so I opened it for modification. I changed the process name to the parameter to the return value. The syntax passed. Make sure that the error message is displayed:

"Error 21037: [SQL-DMO] The name specified in the" Create... "statement of the text property must match the name property, and must be followed by a valid tsql statement. "

Obviously it has little to do with the syntax. It seems that no one has explained it on the Internet, but someone mentioned the process name in a post, so I tried it, I completely deleted the failed stored procedure, created a new stored procedure, and pasted the code just now. OK!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.