oracle啟動 更改時間

2021-04-07 04:27:02 字數 928 閱讀 3800

oracle啟動

1.啟動資料庫(oracle 9i):

>sqlplus /nolog

>connect /as sysdba

>startup

>quit

>lsnrctl

>start

quit

2.關閉資料庫(oracle 9i ):

前提是使用者連線已經關閉

>sqlplus /nolog   

>connect sys/passwd as sysdba

>shutdown immediate

>shutdown immediate

pl/sql:

字串連線「||」,例如:update student set email = studentno || 『@doit.net.cn』 where studentno = 『0101110101』;

3.修改sysdba密碼:

sqlplus /nolog

> conn as sysdba

>alter user sys identified by no**oking

4.匯出資料庫檔案:

> exp test/test@test_192.168.0.1

匯出檔案:test.dmp

…5.匯入資料庫檔案:

> imp

> user:test

> password:test

匯入檔案:test.dmp

...(將9i的資料庫內容匯入8i資料庫中,可以通過8i的客戶端機將9i的資料庫檔案匯出?*.dmp,再將次dmp檔案匯入8i資料庫中)

oracle中更改時間

update ksxx t set t.csny=to_date('1965-1-1 0:0:0', 'yyyy-mm-dd hh24:mi:ss') where 1=1;

更改時區,時間

published by 笨二十一 at 11 56 上午 under linux unix,伺服器 執行 tzselect 按照提示進行選擇時區 sudo cp usr share zoneinfo asia shanghai etc localtime 執行sudo ntpdate cn.poo...

Raspberry Pi 樹莓派更改時區

時區不對,時間慢8個小時。pi raspberrypi date thu 14 jun 16 00 00 utc 2018方法一 2020年4月20日01 30 35新增 可以直接通過raspi config 4 localisation options i2 change timezone asi...

Centos6 7更改時區

檢視本地時區 1 2 root ubuntusvn date r fri,18 nov 2016 16 46 55 0800 修改本地時區 1 2 3 4 5 6 7 8 9 10 11 更改中國的時區 cp usr share zoneinfo asia shanghai etc localtim...

SharePoint 更改時間欄位的方法

使用eventhandler處理一個列表的時間欄位時,按照.net常用的做法是 properties.afterproperties list.fields 關閉時間 staticname datetime.now 或者 datetime.tostring yyyy mm dd hh mm ss 但...

CentOS7快速更改時區

本地時區不一致導致一些log日誌顯示時間不一致 注 中國時區為東8區,不進行更改會導致時間相差8小時 例 這是不正常時區及時間顯示 timedatectl 檢視當前時區及本地時間 檢視所有時區中是否存在上海或北京時區 timedatectl list timezones grep asia shan...