Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Strings as Parameters containing &

Strings as Parameters containing &

From: Jeff Smith <jsmit234_at_ford.com>
Date: Wed, 24 Jan 2001 12:29:19 -0500
Message-ID: <3A6F10EF.9B0BA3E8@ford.com>

An existing system here allows users to save some critical varchar2 fields containing ampersands (&). Another system is reading these fields, and via ODBC calling Oracle Stored Procedures (v7.3) using the string contents as parameters.

The OSPs are immediately crashing when the strings contain &.

For example: p1 = '106'
p2 = 'User Named & Causing Problem'

call osp passing p1, p2

<crashes>

In Pl/SQL I can set define off and deal with ampersands while tooling around with PL/SQl. Is there some setting that can be applied globally to this user (all users use a single login) so that oracle will ignore special characters when in strings?

Thanks
Jeff Smith Received on Wed Jan 24 2001 - 11:29:19 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US