I got a stored procedure as below CREATE OR REPLACE PROCEDURE SP12 (argument1 VARCHAR,argument2 VARCHAR )
if (argument1 <> argument2) { return N1 } else { return N2}
The issue is iam getting error while comparing argument1 <> argument2 (need to compare not equal to). Is this correct method.
Thanks
is the the complete code for your Stored Procedure or is it just a snippet? If it is the full code then I suggest that you read the documentation again: CREATE PROCEDURE
If these suggestions don't help then please provide the full SP Code (if this is just a snippet) and also the error message you are getting