Developing Database Drivers for AOLserver -- Ns_PdDbSpReturnCode

### 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
Copyright © 1998-99 America Online, Inc.