SQL Server Max Lines in a STORED PROCEDURE

Posted on 2007-08-09
Last Modified: 2013-11-05
Does anybody know if theres a max line or charactor limitation in SQL server 2000.  I'm trying to create a stored procedure with 925 lines and only 3/4 of the code is being checked in.  I run the code in query analyzer and the query pulls the data OK.  When I try the same query in a CREATE  PROCEDURE, not all of the code is checked in.  
Question by:agustinjohn
    LVL 13

    Expert Comment

    there is no limitations to the lines or characters of code.. try this..


            //your codes here
    LVL 142

    Accepted Solution

    do you have some GO statement at the 3/4th of the query?
    if yes, remove that.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Join & Write a Comment

    When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
    Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
    Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.
    Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now