Comparing strings in SQL
From: George A. Zellner <gt6853d_at_prism.gatech.edu>
Date: 15 Feb 1995 01:10:46 -0500
Message-ID: <3hs5t6$la7_at_acmez.gatech.edu>
Date: 15 Feb 1995 01:10:46 -0500
Message-ID: <3hs5t6$la7_at_acmez.gatech.edu>
Okay. I know just enough about Oracle and SQL to be dangerous.
I believe I'm running Oracle Version 7.0.12.1.0, on a Sun Sparc 10+, if that helps.
strcpy (request->USER_ID.arr, "hello");
request->USER_ID.len = strlen("hello");
SELECT USER_ID FROM PERSON WHERE PERSON.SSN# = :SSN;
if ((strncmp(USER_ID.arr, request->USER_ID.arr))==0)
x=1;
return x;
.
.
.
Any ideas?
thanks
--Andy Zellner
gt6853d_at_prism.gatech.edu
-- Andy Zellner Internet: gt6853d_at_prism.gatech.edu I'd rather be Caving...maybe I am!Received on Wed Feb 15 1995 - 07:10:46 CET