[ Previous ] [ Contents ] [ Index ] [ Next ]

Ns_PdDbSpReturnCode

Overview

Get return code of stored procedure

Syntax

    void Ns_PdDbSpReturnCode (void *handle)

Description

This function gets the return code from a previously executed stored procedure.

Psuedo-code Example

    void
    Ns_PdDbSpReturnCode (void *handle) {
        DBMSState *state = (DBMSState *)handle;
        char       rc[15];
    
        sprintf(rc, "%d", state->returnCode);
        Ns_PdLog(Trace, "spreturncode: %s", rc);
        Ns_PdSendString(rc);
    }
    

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1998-99 America Online, Inc.