Các lệnh thường dùng

Create Table:

CREATE TABLE hr.admin_emp (
         empno      NUMBER(5) PRIMARY KEY,
         ename      VARCHAR2(15) NOT NULL,
         hiredate   DATE DEFAULT (sysdate),
         sal        NUMBER(7,2),
                     CONSTRAINT admin_dept_fkey REFERENCES hr.departments
                     (department_id));

COMMENT ON TABLE hr.admin_emp IS 'Enhanced employee table';

select sysdate from dual;

LINUX CRONTAB: crontab -l ; crontab -e; crontab -l | grep abc

RESET tomcat: service tomcat7 restart

Start MongoDB: "C:\Program Files\MongoDB\Server\4.0\bin\mongod.exe" --dbpath c:\data