Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3396140
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T04:22:20+00:00 2026-05-18T04:22:20+00:00

Request: Please show me a working example of how to retrieve(in an array?) returned

  • 0

Request:
Please show me a working example of how to retrieve(in an array?) returned rows from a Stored Procedure on a MSSQL server using Zend Framework and passing parameters to the stored procedure.

Explanation:
I can’t find anything in the ZF docs about how to execute SP on MSSQL servers. I’m aware that it is possible via plain PHP. However, since my project uses ZF, I’d like not to have to have extra code to open a connection to the server, etc. etc. Digging through the ZF code I see things like “bindParam” and “execute” and “prepare”. However I have no idea how these work or what I am to do with them. So of course a bit of explanation to the requested example code would be very nice.

I’m using Zend_Db_Adapter_Pdo_Mssql by the way.

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T04:22:20+00:00Added an answer on May 18, 2026 at 4:22 am

    i am sorry to say you can’t run stored Procedure in current state of ZF AFAIK
    why ….. take a look here

    What’s missing?

    What about some of the long-running
    feature requests for Zend Db, like
    stored procedures, character sets, and
    support for queries that can’t run as
    prepared statements? What about
    clarifying the difference between a
    Model and a data layer?

    Source : http://www.phparch.com/2010/06/25/zend-db-2-0-kicks-off/

    update :
    after i had answered you , i got this link from google , and i think it worth mentioning

    http://zend-framework-community.634137.n4.nabble.com/mssql-pdo-lastInsertID-with-a-stored-procedure-td672685.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can anyone please show me a specific example of a Symfony2 form entity update?
I am working on activity which request one php file on server & this
I find it hard to explain, so please request more info if you need
Can anyone please tell what is change request management tool and what is involved
Please help with search string encoding. Simple request like this: https://graph.facebook.com/search?q=max&type=user works pretty good,
if(Request.QueryString[UserId] !== WebSecurity.CurrentUserId){ Response.Redirect(~/AdminError); } what is wrong with the above expression ? Please
I have been given the following request. Please give 7% of the current contacts
Description: An unhandled exception occurred during the execution of the current web request. Please
I want to upload images in server using ASIHTTPRequest library in my IPhone app.
I am working in a web based app , which have to show information

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.