Stored Procedure help

Results 1 to 2 of 2

Thread: Stored Procedure help

  1. #1
    Rahul Guest

    Default Stored Procedure help

    is it possible to pass on dynamically generated sql query in an asp page to a stored procedure? <BR>How?<BR><BR>Thanx in advance

  2. #2
    Join Date
    Dec 1969

    Default RE: Stored Procedure help

    Sure it&#039;s possible... although i don&#039;t see the purpose of it: why not simply execute the generated query?<BR><BR>But if you want to do it: just add an argument to your stored procedure of varchar(500) or bigger, depending on what you are generating.<BR><BR>To execute this query in your stored procedure:<BR><BR>EXEC @GeneratedQuery<BR>

Posting Permissions

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