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

Chapter 2: limitations of oracle_sql statements (where clause) and permutation data (order by clause)

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

Share

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

Restrict data access:

Use numbers as conditions

Select ename,sal,deptno from emp where DEPTNO=10

Use characters as conditions, the string should be quoted only, case-sensitive!

Select ename,sal,deptno from emp where ename='king'

Select ename,sal,deptno from emp where ename='KING'

Use date as a condition, format sensitive!

Select ename,hiredate from emp where hiredate='23-JAN-82'

View the system date format with the help of the system function:

Select sysdate from dual

Select * from nls_database_parameters

Use single-line comparison symbols in where conditions

>

< , = ,>

=, = and

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