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

Oracle merging

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

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

DECLARE

TYPE num_tt IS TABLE OF INT

Num_t1 num_tt:=num_tt ()

Num_t2 num_tt:=num_tt ()

Num_t3 num_tt:=num_tt ()

ITun1 INT: = 1

Jroom1 INT: = 1

Dong1 INT: = 1

BEGIN

Num_t1.extend (20)

Num_t2.extend (20)

Num_t3.extend (num_t1.count+num_t2.count)

FOR i IN 1..20 LOOP

Num_t1 (I): = trunc (dbms_random.value (2005100000))

END LOOP

Dbms_output.put_line ('num_t1:')

Quick_sort (num_t1, 1, num_t1.count)

FOR i IN 1..num_t1.count LOOP

Dbms_output.put_line (num_t1 (I) | |',')

END LOOP

FOR i IN 1..20 LOOP

Num_t2 (I): = trunc (dbms_random.value (2005100000))

END LOOP

Dbms_output.put_line ('num_t2:')

Quick_sort (num_t2, 1, num_t2.count)

FOR i IN 1..num_t2.count LOOP

Dbms_output.put_line (num_t2 (I) | |',')

END LOOP

WHILE (iTun1)

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