博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
pl/sql打印_PL / SQL程序以打印数字表
阅读量:2510 次
发布时间:2019-05-11

本文共 607 字,大约阅读时间需要 2 分钟。

pl/sql打印

Here you will get pl/sql program to print table of a given number.

在这里,您将获得pl / sql程序以打印给定编号的表。

You can ask your queries in comment section.

您可以在评论部分提问。

declare	n number;	i number; begin	n:=&n;		for i in 1..10	loop		dbms_output.put_line(n||' x '||i||' = '||n*i);	end loop;end;/

Output

输出量

Enter value for n: 5 old 6: n:=&n; new 6: n:=5; 5 x 1 = 5 5 x 2 = 10 5 x 3 = 15 5 x 4 = 20 5 x 5 = 25 5 x 6 = 30 5 x 7 = 35 5 x 8 = 40 5 x 9 = 45 5 x 10 = 50

输入n的值:5 旧6:n:=&n; 新6:n:= 5; 5 x 1 = 5 5 x 2 = 10 5 x 3 = 15 5 x 4 = 20 5 x 5 = 25 5 x 6 = 30 5 x 7 = 35 5 x 8 = 40 5 x 9 = 45 5 x 10 = 50

翻译自:

pl/sql打印

转载地址:http://bgggb.baihongyu.com/

你可能感兴趣的文章
Linux(SUSE 12)安装jboss4并实现远程访问
查看>>
Overlay之VXLAN架构
查看>>
在eclipse上用tomcat部署项目404解决方案
查看>>
web.xml 配置中classpath: 与classpath*:的区别
查看>>
suse如何修改ssh端口为2222?
查看>>
详细理解“>/dev/null 2>&1”
查看>>
suse如何创建定时任务?
查看>>
suse搭建ftp服务器方法
查看>>
MapReduce的 Speculative Execution机制
查看>>
大数据学习之路------借助HDP SANDBOX开始学习
查看>>
为什么linux安装程序 都要放到/usr/local目录下
查看>>
永久修改PATH环境变量的几种办法
查看>>
Hive Beeline使用
查看>>
【NOI 2018】归程(Kruskal重构树)
查看>>
注册用户
查看>>
TZC Intercommunication System
查看>>
HDU 4571 SPFA+DP
查看>>
centos 创建以日期为名的文件夹
查看>>
Java Timer触发定时器
查看>>
Page Object设计模式
查看>>