Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2009
    Posts
    8

    Unanswered: Excel & MS Query and oracle stored procedure.

    I am trying to create a stored procedure (or function) that will allow me to create a temporary table in oracle populate with the records the user has requested and return that recordset to Excel. I've been able to get excel via MSQuery to access the oracle tables, but I don't know how to call a stored procedure in oracle and return a record set. Does anyone have an example?

    Thanks.

  2. #2
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

  3. #3
    Join Date
    Jul 2009
    Posts
    8

    MSQuery.

    Yes those are good examples, but they require VB code to pull the data into Excel. I am hoping to allow the end users to hit against this stored procedure using only MSQuery. Is there a way to access the stored procedure return a record set without coding in VB?

  4. #4
    Join Date
    Jun 2003
    Location
    West Palm Beach, FL
    Posts
    2,713

    MS c.r.a.p.

    This is NOT an Oracle issue, the problem resides in the ability of M$Query to a) execute an Oracle stored procedure and b) provide adequate "bind" variables to accept the result returned by the SP.
    The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb

  5. #5
    Join Date
    Jun 2003
    Location
    West Palm Beach, FL
    Posts
    2,713

    Thumbs down M$ c.r.a.p.

    This is NOT an Oracle issue, the problem resides in the ability of M$Query to a) execute an Oracle stored procedure and b) provide adequate "bind" variables to accept the result returned by the SP.
    The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb

Posting Permissions

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