开发者

How to compare string in PL/SQL?

i just want to know that, there is any way through which i can Compare a column value with Some String value.Something like this...

suppose column name is SHIPMENT_EXPEDITE_HAWB then can i have like this 开发者_开发知识库in plsql

SHIPMENT_EXPEDITE_HAWB=='PD'

Thaanks in advance!!!


You just need one equals, not two.

IF shipment_expedite_hawb = 'PD' THEN
    dbms_output.put_line('Same');
END IF;


Just use the comparison operator =

E.g.

SHIPMENT_EXPEDITE_HAWB = 'PD'
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜