×
Create a new article
Write your page title here:
We currently have 3,189 articles on s23. Type your article name above or create one of the articles listed here!



    s23
    3,189Articles
    Revision as of 13:21, 21 December 2004 by imported>DrOwl (some basic sql commands for Concord)
    (diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
    you can use sql to access Concord's database 
    


    first use the "sqlplus" command to open the SQL commandline
    
    then you can use the DESCRIBE command to find detales about tables eg:
    
    • SQL>  DESCRIBE NH_GROUP;
    Name                                      Null?    Type
    ----------------------------------------- -------- ----------------------------
    GROUP_ID                                  NOT NULL NUMBER(11)
    GROUP_TYPE                                NOT NULL NUMBER(11)
    MACHINE_ID                                NOT NULL NUMBER(11)
    CREATE_TIME                               NOT NULL NUMBER(11)
    MODIFY_TIME                               NOT NULL NUMBER(11)
    NAME                                      NOT NULL VARCHAR2(64)
    CONTAINER_TYPE                            NOT NULL NUMBER(11)
    

    EXPIRE_TIME NOT NULL NUMBER(11)


    next to list the group names and there id numbers from the NH_GROUP table:

    • SQL> SELECT NAME,GROUP_ID from NH_GROUP
    groupName1      00001
    

    groupName2 00002

    Cookies help us deliver our services. By using our services, you agree to our use of cookies.
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.