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

Ns_DbQuoteValue

Overview

Adds extra single quote to single quotes in string

Syntax

    void Ns_DbQuoteValue(
    	Ns_DString *pds,
    	char       *string
    );

Description

The Ns_DbQuoteValue function places an additional single quote (') in front of all single quotes in the string. The result is then copied to pds. This function is typically used to pre-process a string used in an SQL statement.

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1996 America Online, Inc.