Results 1 to 28 of 28

Thread: [Resolved] Return value of Stored Procedure

Hybrid View

  1. #1

    Thread Starter
    Hyperactive Member naruponk's Avatar
    Join Date
    Feb 2004
    Location
    Some where in the world
    Posts
    423

    Re: Return value of Stored Procedure

    Dear szlamany,

    Thanks for reply
    What does SET QUOTED_IDENTIFIER ON and SET ANSI_NULLS ON do?
    I can't run your Stored procedure cause i have no some of your stored procedure can you give me more shortly?

    Normally i use command to open recordset from stored procedure, works fine.
    but i can't open a recordset (using command) from stored procedure which is using RETURN keyword

    Thanks everyone
    Last edited by naruponk; May 4th, 2005 at 08:12 AM.

  2. #2
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    Re: Return value of Stored Procedure

    Quote Originally Posted by naruponk
    Dear szlamany,

    Thanks for reply
    What does SET QUOTED_IDENTIFIER ON and SET ANSI_NULLS ON do?
    I can't run your Stored procedure cause i have no some of your stored procedure can you give me more shortly?

    Normally i use command to open recordset from stored procedure, works fine.
    but i can't open a recordset (using command) from stored procedure which is using RETURN keyword

    Thanks everyone
    Another one of our rules is to SCRIPT all DB objects in TEXT FILES that end in .SQL and execute them in QUERY ANALYZER to load them into the database.

    That SET QUOTED stuff is just boilerplate that we have in our SCRIPT files - something we saw that MS did in their scripts.

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width