Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Sign function in Oracle

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Function syntax: sign (n)

Function description: the symbol that determines the value n. If n > 0, the return value is 1; if n

< 0,返回 -1;若 n = 0,则返回0。 函数示例: 一、select sign(100) as "正数100" , sign(-100) as "负数-100" , sign(0) as "零0" from dual;

II. Axiom 10 and Bobby 20

Select sign (aMub) from dual; result:-1

Select sign (bmura) from dual; result: 1

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report