Cov txheej txheem:

Kuv yuav ua li cas tso saib lub sij hawm nyob rau hauv SQL Developer?
Kuv yuav ua li cas tso saib lub sij hawm nyob rau hauv SQL Developer?

Video: Kuv yuav ua li cas tso saib lub sij hawm nyob rau hauv SQL Developer?

Video: Kuv yuav ua li cas tso saib lub sij hawm nyob rau hauv SQL Developer?
Video: Автоматизация с Python! Автоматическое выполнение скрипта (Windows 10) 2024, Kaum ib hlis
Anonim

Koj tuaj yeem txiav txim siab yuav ua li cas SQL-Developer tso saib hnub thiab sijhawm teev kab

  1. Mus rau "Tools" zaub mov thiab qhib "Preferences …"
  2. Hauv tsob ntoo sab laug qhib "Database" ceg thiab xaiv “NWS”
  3. Tam sim no hloov cov npe "Hnub Hom", " Daim ntawv teev sijhawm Format” thiab “ Daim ntawv teev sijhawm TZ Format” as you wish!

Xav txog qhov no, kuv yuav ua li cas tso saib hnub thiab sijhawm hauv SQL Developer?

Raws li lub neej ntawd Oracle SQL Developer qhia tsuas yog ib hnub tiv thaiv rau hnub tim teb. Koj tuaj yeem hloov tus cwj pwm no hauv kev nyiam. Mus rau Cov Cuab Yeej -> Nyiam -> Database -> NLS thiab hloov Hnub tim Format tus nqi rau DD-MON-RR HH24:MI:SS (rau 24 teev sij hawm tso saib ) lossis DD-MON-RR HH:MI:SS (rau 12 teev sij hawm tso saib ).

Tsis tas li ntawd, qhov txawv ntawm hnub tim thiab lub sij hawm nyob rau hauv Oracle yog dab tsi? Qhov sib txawv ntawm DATE thiab TIMESTAMP hauv Oracle . DATE rov qab lub hli, hnub, xyoo, xyoo pua, teev, feeb, thiab vib nas this. Yog xav paub ntxiv granular, TIMESTAMP yuav tsum tau siv. Hnub tim yog siv los khaws cia hnub thiab lub sijhawm muaj nuj nqis suav nrog hli, hnub, xyoo, xyoo pua, teev, feeb thiab vib nas this.

Ua li no, kuv yuav ntxiv sijhawm li cas hauv SQL Developer?

Los ntawm Oracle SQL Developer's ntawv qhia zaub mov mus rau: Cov cuab yeej> Nyiam. Los ntawm Kev Xaiv dialog, xaiv Database> NLS los ntawm sab laug vaj huam sib luag. Los ntawm daim ntawv teev npe ntawm NLS tsis, nkag mus rau DD-MON-RR HH24:MI:SS rau hauv Daim Ntawv Qhia Hnub. Txuag thiab kaw lub dialog, ua tiav!

Dab tsi yog timestamp datatype hauv Oracle?

Cov TIMESTAMP datatype yog qhov txuas ntxiv ntawm DATE hom ntaub ntawv . Nws khaws cov xyoo, hli, hnub, teev, feeb, thiab qhov tseem ceeb thib ob. Nws kuj tseem khaws cov ntu ntu ntu, uas tsis khaws cia los ntawm DATE hom ntaub ntawv . Oracle Database SQL Reference rau cov lus qhia ntxiv txog cov TIMESTAMP datatype.

Pom zoo: