主頁(yè) > 知識(shí)庫(kù) > Oracle 系統(tǒng)變量函數(shù)介紹

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

熱門(mén)標(biāo)簽:外呼電話系統(tǒng)用卡嗎 N個(gè)你智能電銷機(jī)器人 地圖標(biāo)注怎么保存 廣東營(yíng)銷智能外呼系統(tǒng)商家 車瑪仕極限運(yùn)動(dòng)場(chǎng)所地圖標(biāo)注 七日殺a19.5全地圖標(biāo)注 高德地圖標(biāo)注公司名字大全 騰訊地圖標(biāo)注要費(fèi)用嗎 電渠外呼系統(tǒng)

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

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

(1)SYSDATE

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

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中decode函數(shù)的使用方法
  • oracle生成動(dòng)態(tài)前綴且自增號(hào)碼的函數(shù)分享
  • oracle 日期時(shí)間函數(shù)使用總結(jié)
  • oracle排名函數(shù)的使用方法分享
  • Oracle排名函數(shù)(Rank)實(shí)例詳解
  • oracle的nvl函數(shù)的使用介紹
  • Oracle定義DES加密解密及MD5加密函數(shù)示例
  • Oracle to_date()函數(shù)的用法介紹
  • oracle中的trim函數(shù)使用介紹
  • oracle trunc()函數(shù)的使用方法
  • Oracle過(guò)程與函數(shù)的區(qū)別分析
  • Oracle to_char函數(shù)的使用方法
  • Oracle文本函數(shù)簡(jiǎn)介

標(biāo)簽:大興安嶺 來(lái)賓 蘇州 棗莊 玉樹(shù) 贛州 遼寧 長(zhǎng)沙

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《Oracle 系統(tǒng)變量函數(shù)介紹》,本文關(guān)鍵詞  Oracle,系統(tǒng),變量,函數(shù),介紹,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問(wèn)題,煩請(qǐng)?zhí)峁┫嚓P(guān)信息告之我們,我們將及時(shí)溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無(wú)關(guān)。
  • 相關(guān)文章
  • 下面列出與本文章《Oracle 系統(tǒng)變量函數(shù)介紹》相關(guān)的同類信息!
  • 本頁(yè)收集關(guān)于Oracle 系統(tǒng)變量函數(shù)介紹的相關(guān)信息資訊供網(wǎng)民參考!
  • 推薦文章