str_to_escaped_quoted_sql_string

	std::string str_to_escaped_quoted_sql_string(std::string const input,
						     char quote);

	This routine returns the input string with it quoted for Sybase
	SQL and with all internal quotes from the original string escaped
	appropriately.

	input		string to escape and quote
	quote		quote to use, anything other than '\'' or '"' would
			be an odd choice

	This function returns status values as follows:

	input string escaped and quoted for Sybase SQL

	This function requires the following include files:

	cbslib_h

	Related functions:

	str_to_sql_expression

	C++ usage:

	std::string input = "I'm OK";

	std::string output = str_to_escaped_quoted_sql_string(input,'\'');

	// output's value will be "'I''m OK'"