当前位置:网站首页>[original] PLSQL index sorting optimization
[original] PLSQL index sorting optimization
2022-07-01 00:46:00 【51CTO】
Reprint please indicate the source
select /*+INDEX_DESC(T IDX_SYS_MESS_CREATE_DATE)*/
*
FROM sys_message T
where t.create_date is not null
Index name :IDX_SYS_MESS_CREATE_DATE
SQL Table alias :T
Be careful :1、 /*+INDEX_DESC(T IDX_SYS_MESS_CREATE_DATE)*/ The alias of the red word should be the same as that of the table
2、 We must add where Index field is not null
3、 Data sets ( Non table ) No index available
4、 /*+INDEX_DESC(T IDX_SYS_MESS_CREATE_DATE)*/ After adding this sentence, it will be automatically sorted according to the red ink keyword , There is no need to add order by , The scarlet letter can also be changed to ASC
Press F5 Under execution , If the following keywords appear, it means success


边栏推荐
- Pytorch installs and uses GPU acceleration
- 解决 error MSB8031: Building an MFC project for a non-Unicode character set is deprecated.
- Rust book materials - yazhijia Library
- New trend of embedded software development: Devops
- 【原创】 PLSQL 索引排序优化
- NATs cluster deployment
- Ditto set global paste only text shortcuts
- CSDN常用复杂公式模板记录
- Docsify building a personal minimalist knowledge warehouse
- ArrayList分析1-循环、扩容、版本
猜你喜欢

left join左连接匹配数据为NULL时显示指定值

NE555波形发生器手把手教程之NE555内部结构(一)

2022-2028 global public address fire alarm system industry research and trend analysis report

Authentication principle of Ranger plug-in

2022-2028 global ultra high purity electrolytic iron powder industry research and trend analysis report

Implementation of OSD on Hisilicon platform (1)

Ranger plug-in development (Part 2)
![[untitled]](/img/96/7f26614bbdcce71006e38ee34ab216.jpg)
[untitled]

2022-2028 global rampant travel industry research and trend analysis report

PyTorch安装并使用gpu加速
随机推荐
CTF tool (1) -- archpr -- including installation / use process
写给 5000 粉丝的一封信!
Can JDBC based on openjdk connect to MySQL?
JS bubble sort and select sort
20220215 misc buctf easycap Wireshark tracks TCP flow hidden key (use of WinHex tool)
Basic knowledge of Embedded Network - introduction of mqtt
Double linked list: initialize insert delete traversal
Redis - how to understand publishing and subscribing
Rhai - rust's embedded scripting engine
Makefile notes (Yiwen Institute makefile)
Examples of topological sequences
2022-2028 global retro glass industry research and trend analysis report
leetcode 474. Ones and zeroes (medium)
HDU 2488 A Knight's Journey(DFS)
Integer to hexadecimal string PTA
2022-2028 global plant peptone industry research and trend analysis report
Oracle-表的创建与管理
2022-2028 global elevator emergency communication system industry research and trend analysis report
What should I do without 50W bride price
2022就要过去一半了,挣钱好难