You are on page 1of 1

declare cursor primary_cur is select 'x' from utab where user=upper('&uid') and password=translate(upper('&pas sword'), 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', '1234567890!@#$%^&*()<>,.

/"'); dummy_var char; begin open primary_cur; fetch primary_cur into dummy_Var; if primary_cur%found then print('the uid and pwd is know'); else prinT('the uid and pwd is unknow'); endif; close primary_cur; end;

You might also like