You are on page 1of 5

SQL> select * from tab;

TNAME
-----------------------------ACCOUNTS
ACCOUNT_TYPES
ACC_NO_GEN
ADMIN
AUTO
BILL_PAYMENTS
BILL_PAY_CODE_MAXNO
CARD_TRANSACTIONS
CHEQUE_REORDER
CREDIT_CARDS
CUSTOMERS

TABTYPE CLUSTERID
------- ---------TABLE
TABLE
TABLE
TABLE
TABLE
TABLE
TABLE
TABLE
TABLE
TABLE
TABLE

TNAME
-----------------------------DRAFT_CHEQUE
FUNDS_TRANSFERS
LOANISSUE
LOANS
LOAN_TYPES
NOMINEE
TAX_PAYMENTS
TRANSACTIONS
TRANS_CODE_GEN
USERS
USER_ACCOUNT_TYPES

TABTYPE CLUSTERID
------- ---------TABLE
TABLE
TABLE
TABLE
TABLE
TABLE
TABLE
TABLE
TABLE
TABLE
TABLE

22 rows selected.
SQL> desc accounts
Name
Null?
----------------------------------------- -------ACCOUNT_NO
NOT NULL
ACC_CAT
OPERATION_MODE
OPEN_DATE
BALANCE_AMT
INT_NAME
INT_ACC_NO
BRANCH
KNOW_APPLICANTS
ACC_TYPE_CODE

Type
---------------------------VARCHAR2(8)
VARCHAR2(1)
VARCHAR2(1)
DATE
NUMBER(10,2)
VARCHAR2(25)
VARCHAR2(8)
VARCHAR2(20)
NUMBER(2)
VARCHAR2(2)

SQL> desc account_types;


Name
Null?
----------------------------------------- -------ACC_TYPE_CODE
NOT NULL
ACC_TYPE_DESC
MIN_AMT
INTEREST_RATE
MIN_PERIOD

Type
---------------------------VARCHAR2(2)
VARCHAR2(20)
NUMBER(5)
NUMBER(4,2)
NUMBER(2)

SQL> desc ACC_NO_GEN;


Name
Null?
Type
----------------------------------------- -------- ---------------------------ACC_NO_GEN
NUMBER(6)

SQL> desc ADMIN


Name
Null?
----------------------------------------- -------USERNAME
PASSWORD

Type
---------------------------VARCHAR2(5)
VARCHAR2(5)

SQL> desc AUTO


;
Name
Null?
----------------------------------------- -------ACCNO
CUST_CODE
CREDIT_CARDNO
TRANS_CODE_GEN
PROCESSCREDITCARD

Type
---------------------------NUMBER
NUMBER(6)
NUMBER(6)
NUMBER(6)
NUMBER(6)

SQL> desc BILL_PAYMENTS


Name
Null?
----------------------------------------- -------BILL_PAY_CODE
ACCOUNT_NO
BILL_NO
BILL_DATE
BILL_FROM
BILL_TO
PAYEE
BILL_AMOUNT
BILL_DESC

Type
---------------------------VARCHAR2(10)
VARCHAR2(8)
VARCHAR2(10)
DATE
DATE
DATE
VARCHAR2(30)
NUMBER(10,2)
VARCHAR2(30)

SQL> desc BILL_PAY_CODE_MAXNO


Name
Null?
Type
----------------------------------------- -------- ---------------------------BILL_PAY_CODE_MAXNO
NUMBER
SQL> desc CARD_TRANSACTIONS
Name
Null?
----------------------------------------- -------CREDIT_CARD_NO
DESCRIPTION
CREDIT_AMT
CREDIT_DATE
PAYTO

Type
---------------------------VARCHAR2(10)
VARCHAR2(50)
NUMBER(10,2)
DATE
VARCHAR2(30)

SQL> desc CARD_TRANSACTIONS


Name
Null?
----------------------------------------- -------CREDIT_CARD_NO
DESCRIPTION
CREDIT_AMT
CREDIT_DATE
PAYTO

Type
---------------------------VARCHAR2(10)
VARCHAR2(50)
NUMBER(10,2)
DATE
VARCHAR2(30)

SQL> desc CHEQUE_REORDER


Name
Null?
----------------------------------------- -------CHEQ_RO_CODE
ACCOUNT_NO
REQUEST_DATE

Type
---------------------------VARCHAR2(9)
VARCHAR2(8)
DATE

SQL> desc CREDIT_CARDS


Name

Type

Null?

----------------------------------------- -------- ---------------------------CREDIT_CARD_NO


NOT NULL VARCHAR2(10)
ACCOUNT_NO
VARCHAR2(8)
ISSUE_DATE
DATE
EXPIRY_DATE
DATE
MAX_AMT
NUMBER(6)
STATUS
VARCHAR2(1)
SQL> desc CUSTOMERS
Name
Null?
----------------------------------------- -------CUST_CODE
NOT NULL
APPLICANT_NO
ACCOUNT_NO
ACCOUNT_NO2
CUST_FNAME
CUST_MNAME
CUST_LNAME
HOUSE_NO
STREET1
STREET2
AREA
CITY
PIN
STATE_CD
RES_PHONE
CELL_PHONE
EMAIL
NO_YEARS_ADDRESS
PROFESSION
ORGANIZATION
WORKING_SINCE
DESIGNATION
OFF_DOOR_NO
OFF_STREET
OFF_AREA
OFF_CITY
OFF_PIN
OFF_STATE_CD
OFF_PHONE
PAN_GIRN
GENDER
BIRTH_DATE
MAR_STATUS
REL_FIRST_APP
EDUCATION
MONTHLY_INCOME
GUARDIAN_NAME

Type
---------------------------VARCHAR2(7)
NUMBER(1)
VARCHAR2(8)
VARCHAR2(8)
VARCHAR2(25)
VARCHAR2(25)
VARCHAR2(25)
VARCHAR2(10)
VARCHAR2(20)
VARCHAR2(20)
VARCHAR2(20)
VARCHAR2(20)
VARCHAR2(6)
VARCHAR2(2)
VARCHAR2(13)
VARCHAR2(10)
VARCHAR2(30)
NUMBER(2)
VARCHAR2(20)
VARCHAR2(20)
DATE
VARCHAR2(20)
VARCHAR2(10)
VARCHAR2(20)
VARCHAR2(20)
VARCHAR2(20)
VARCHAR2(6)
VARCHAR2(2)
VARCHAR2(13)
VARCHAR2(10)
VARCHAR2(1)
DATE
VARCHAR2(1)
VARCHAR2(10)
VARCHAR2(20)
NUMBER(6)
VARCHAR2(25)

SQL> desc DRAFT_CHEQUE


Name
Null?
----------------------------------------- -------ACCOUNT_NO
DD_OR_CHEQ
PAYEE
DRAWN_ON
DD_CHEQ_NO
AMOUNT
DELIVERY
PAYEE_DOOR_NO

Type
---------------------------VARCHAR2(8)
VARCHAR2(1)
VARCHAR2(30)
DATE
VARCHAR2(10)
NUMBER(10,2)
VARCHAR2(1)
VARCHAR2(10)

PAYEE_STREET
PAYEE_AREA
PAYEE_CITY
PAYEE_PIN
STATUS

VARCHAR2(20)
VARCHAR2(20)
VARCHAR2(20)
VARCHAR2(6)
VARCHAR2(1)

SQL> desc FUNDS_TRANSFERS


Name
Null?
----------------------------------------- -------FUNDS_TRANS_CODE
NOT NULL
ORIGIN_ACC_NO
DEST_ACC_NO
DEST_BANK
DEST_BRANCH
TRANS_AMT
FREQUENCY
INSTALMENTS
TRANS_DATE

Type
---------------------------VARCHAR2(10)
VARCHAR2(8)
VARCHAR2(8)
VARCHAR2(20)
VARCHAR2(20)
NUMBER(10,2)
VARCHAR2(1)
NUMBER(9)
DATE

SQL> desc LOANISSUE


Name
Null?
----------------------------------------- -------LOAN_CODE
NOT NULL
LOAN_TYPE
ACCOUNT_NO
LOAN_AMT
ISSUE_DATE
DESCP
PERIOD

Type
---------------------------VARCHAR2(8)
VARCHAR2(3)
VARCHAR2(8)
NUMBER(6)
DATE
VARCHAR2(20)
NUMBER(3)

SQL> desc LOANS


Name
Null?
----------------------------------------- -------LOAN_CODE
LOAN_TYPE
ACCOUNT_NO
APPLIED_DATE
LOAN_PERIOD
LOAN_AMT
EMI
DOC_DETAILS
STATUS
NO_OF_INSTAL
LAST_PAID

Type
---------------------------VARCHAR2(8)
VARCHAR2(3)
VARCHAR2(8)
DATE
NUMBER(3)
NUMBER(6)
NUMBER(6)
VARCHAR2(40)
VARCHAR2(1)
NUMBER(3)
DATE

SQL> desc loan-types;


SP2-0565: Illegal identifier.
SQL> desc loan_type
ERROR:
ORA-04043: object loan_type does not exist
SQL> desc loan_types
Name
Null?
----------------------------------------- -------LOAN_TYPE
NOT NULL
LOAN_DESC
INTEREST_RATE
SQL> desc NOMINEE

Type
---------------------------VARCHAR2(3)
VARCHAR2(20)
NUMBER(4,2)

Name
Null?
----------------------------------------- -------ACCOUNT_NO
NOM_NAME
NOM_ADDR
NOM_AGE
RELATIONSHIP

Type
---------------------------VARCHAR2(8)
VARCHAR2(25)
VARCHAR2(40)
NUMBER(3)
VARCHAR2(10)

SQL> desc TAX_PAYMENTS


Name
Null?
----------------------------------------- -------TAX_PAY_CODE
ORIGIN_ACC_NO
TAX_PAYER_ID
TAX_PAY_DATE
TAX_FROM
TAX_TO
INCOME
TAX_AMOUNT
TAX_AUTHORITY

Type
---------------------------VARCHAR2(10)
VARCHAR2(8)
VARCHAR2(10)
DATE
DATE
DATE
NUMBER(10,2)
NUMBER(8,2)
VARCHAR2(30)

SQL> desc TRANS_CODE_GEN


Name
Null?
Type
----------------------------------------- -------- ---------------------------TRANS_CODE_GEN
NUMBER(8)
SQL> desc TRANSACTIONS
Name
Null?
----------------------------------------- -------ACCOUNT_NO
TRANS_TYPE
TRANS_DESC
AMOUNT
TRANS_DATE
TRANS_MODE

Type
---------------------------VARCHAR2(8)
VARCHAR2(1)
VARCHAR2(30)
NUMBER(10,2)
DATE
VARCHAR2(1)

SQL> desc USERS


Name
Null?
----------------------------------------- -------USERNAME
NOT NULL
PASSWORD

Type
---------------------------VARCHAR2(8)
VARCHAR2(8)

SQL> descUSER_ACCOUNT_TYPES
SP2-0734: unknown command beginning "descUSER_A..."
SQL> desc USER_ACCOUNT_TYPES
Name
Null?
----------------------------------------- -------ACC_TYPE_CODE
ACC_TYPE_DESC
MIN_AMT
INTEREST_RATE
MIN_PERIOD
SQL> spool off

- rest of line ignored.


Type
---------------------------VARCHAR2(2)
VARCHAR2(20)
NUMBER(5)
NUMBER(4,2)
NUMBER(2)