偷偷摘套内射激情视频,久久精品99国产国产精,中文字幕无线乱码人妻,中文在线中文a,性爽19p

Oracle系統(tǒng)變量函數(shù)簡介

數(shù)據(jù)庫 Oracle
Oracle函數(shù)多種多樣,系統(tǒng)變量函數(shù)就是其中之一,下面就為您介紹三種最常見的系統(tǒng)變量函數(shù),希望對您學(xué)習(xí)Oracle能有所幫助。

在Oracle數(shù)據(jù)庫中,Oracle系統(tǒng)變量函數(shù)是經(jīng)常會使用到的函數(shù),下面就為您詳細(xì)介紹Oracle系統(tǒng)變量函數(shù),供您參考學(xué)習(xí)。

Oracle系統(tǒng)變量函數(shù):

(1)SYSDATE

該函數(shù)返回當(dāng)前的日期和時間。返回的是Oracle服務(wù)器的當(dāng)前日期和時間。

select sysdate from dual;

insert into purchase values

(‘Small Widget’,’SH’,sysdate, 10);

insert into purchase values

(‘Meduem Wodget’,’SH’,sysdate-15, 15);
查看最近30天的所有銷售記錄,使用如下命令:

select * from purchase

where purchase_date between (sysdate-30) and sysdate;
(2)USER

查看用戶名。

select user from dual;
(3)USERENV

查看用戶環(huán)境的各種資料。

select userenv(‘TERMINAL’) FROM dual;

以上Oracle系統(tǒng)變量函數(shù)的介紹。

 

 

 

【編輯推薦】

oracle trunc()函數(shù)的用法

創(chuàng)建Oracle包的語法

Oracle to_char函數(shù)的使用

帶您了解Oracle FBI索引

詳解如何將Oracle安裝為Linux服務(wù)

責(zé)任編輯:段燃 來源: 互聯(lián)網(wǎng)
相關(guān)推薦

2010-10-25 15:12:42

Oracle日期函數(shù)

2010-10-25 17:28:05

Oracle bita

2011-04-12 13:27:09

Oracle日期函數(shù)

2010-10-25 17:39:24

Oracle單行日期函

2010-04-27 12:51:49

Oracle 函數(shù)de

2010-04-01 09:34:06

Oracle函數(shù)

2009-11-19 11:00:55

Oracle xmlt

2009-11-18 16:43:59

2010-04-14 13:22:10

Oracle系統(tǒng)函數(shù)

2010-10-28 10:54:46

oracle對象權(quán)限

2010-03-15 09:53:16

Python函數(shù)變量

2010-03-31 09:56:46

Oracle10g

2009-11-16 11:03:44

Oracle INDE

2010-11-19 16:03:20

Oracle分析表

2010-11-15 12:02:24

Oracle進(jìn)程結(jié)構(gòu)

2015-08-21 12:59:38

Oracle數(shù)據(jù)庫

2023-10-11 06:50:32

Oracle數(shù)據(jù)庫系統(tǒng)

2010-11-18 13:09:19

Oracle case

2010-10-26 17:41:05

Oracle索引

2010-10-26 11:39:51

Oracle EXPIMP備份
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號