![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
oracle
文章平均质量分 83
Jettle-perfect
这个作者很懒,什么都没留下…
展开
-
SQL必知必会要点记录(6/6)
SQL必知必会要点记录(6/6) *游标CURSOR 1-定义游标 DECLARE CURSOR CustCursor IS SELECT * FROM Customers WHERE cust_email IS NULL 2-使用游标 OPEN CustCursor 3-从游标中检索记录 3-1纯检索 DECLARE TYPE CustCursor IS REF CURSOR RETURN Customers%ROWTYPE; DECLARE CustRecord Customers...原创 2021-05-18 15:14:09 · 110 阅读 · 0 评论 -
SQL必知必会要点记录(5/6)
SQL必知必会要点记录(5/6) *创建表CREATE TABLE:后接表名,若不指定NOT NULL,默认为NULL CREATE TABLE PRODUCTS ( prod_id CHAR(10) NOT NULL, vend_id CHAR(10) NOT NULL, prod_name CHAR(254) NOT NULL, prod_price DECIMAL(8,2) NOT NULL, p...原创 2021-05-17 17:27:32 · 111 阅读 · 1 评论 -
网络资料附表: oracle 常用函数 与mysql 的对照表
网络资料附表: oracle 常用函数 与mysql 的对照表 s:mysql o :oracle 1. 绝对值 S:select abs(-1) value O:select abs(-1) value from dual 2. 取整 ( 大 ) S:select ceiling(-1.001) value O:select ceil(-1.001) value from dual 3. 取整(小) S:select floor(-1.001) value O:select flo...转载 2021-05-17 14:52:50 · 652 阅读 · 0 评论