Giter Site home page Giter Site logo

jdbc's Introduction

JDBC

##SQLDeveloper(Tables)

  1. TABLE COMMENT CREATE TABLE COMMENT ( ID NUMBER, CONTENT NVARCHAR2(2000), REGDATE TIMESTAMP(6), WRITER_ID NVARCHAR(50), NOTICE_ID NUMBER )

  2. TABLE MEMBER CREATE TABLE MEMBER ( ID NVARCHAR(50), PWD VARCHAR2(50), NAME VAWRCHAR2(50), GENDER NCHAR(2), BIRTHDAY CHAR(10), PHONE CHAR(13), REGDATE DATE, EMAIL VARCHAR2(200) )

  3. TABLE MEMBER_ROLE ( MEMBER_ID NVARCHAR2(50), ROLE_ID VARCHAR2(50) )

  4. TABLE NOTICE ( ID NUMBER, TITLE NVARCHAR2(100), WRITER_ID NVARCHAR2(50), CONTENT CLOB, REGDATE TIMESTAMP(6), HIT NUMBER, FILES NVARCHAR2(1000), PUB NUMBER(1,0) )

  5. TABLE ROLE( ID VARCHAR2(50), DESCRIPTION NVARCHAR2(500) )

##Sequence SELECT NOTICE_SEQ.NEXTVAL FROM DUAL;

  • 증분 1, 최소값 1, 최대값 9999999999999, 캐시 20, 이름 NOTICE_SEQ

##VIEW CREATE VIEW NOTICE_VIEW AS SELECT * FROM ( SELECT ROWNUM NUM, N.* FROM ( SELECT * FROM NOTICE ORDER BY REGDATE DESC ) );

SELECT * FROM NOTICE_VIEW WHERE NUM BETWEEN ? AND ?;

ROLLBACK;

COMMIT;

jdbc's People

Contributors

poohoh avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.