Sie sind auf Seite 1von 4

Rowid Data Types

Every row stored in the database has an address. Oracle Database uses a ROWID data type to
store the address (rowid) of every row in the database. Rowids fall into the following categories:

Physical rowids store the addresses of rows in heap-organized tables, table clusters, and table and
index partitions.
Logical rowids store the addresses of rows in index-organized tables.
Foreign rowids are identifiers in foreign tables, such as DB2 tables accessed through a gateway.
They are not standard Oracle Database rowids.

Advance Premium Tax Credit (APTC)


A tax credit you can take in advance to lower your monthly health insurance payment (or
premium). When you apply for coverage in the Health Insurance Marketplace, you estimate
your expected income for the year. If you qualify for a premium tax credit based on your
estimate, you can use any amount of the credit in advance to lower your premium.

If at the end of the year youve taken more premium tax credit in advance than youre
due based on your final income, youll have to pay back the excess when you file your
federal tax return.

If youve taken less than you qualify for, youll get the difference back.

CE- Cash Management

Table Name Description


CE_BANK_ACCOUNTS This table contains bank account information. Each bank account must be
affiliated with one bank branch.
CE_BANK_ACCT_BALANCES This table stores the internal bank account balances
CE_BANK_ACCT_USES_ALL This table stores information about your bank account uses.
CE_STATEMENT_HEADERS Bank statements
CE_STATEMENT_LINES Bank statement lines
CE_STATEMENT_HEADERS_INT Open interface for bank statements
CE_STATEMENT_LINES_INTERFACE Open interface for bank statement lines
CE_TRANSACTION_CODES Bank transaction codes
AP- Accounts Payables

Table Name Description


AP_ACCOUNTING_EVENTS_ALL Accounting events table
AP_AE_HEADERS_ALL Accounting entry headers table
AP_AE_LINES_ALL Accounting entry lines table
AP_BANK_ACCOUNTS_ALL Bank Account Details
AP_BANK_ACCOUNT_USES_ALL Bank Account Uses Information
AP_BANK_BRANCHES Bank Branches
AP_BATCHES_ALL Summary invoice batch information
AP_CHECKS_ALL Supplier payment data
AP_HOLDS_ALL Invoice hold information
AP_INVOICES_ALL Detailed invoice records
AP_INVOICE_LINES_ALL AP_INVOICE_LINES_ALL contains records for invoice lines entered
manually, generated automatically or imported from the Open Interface.
AP_INVOICE_DISTRIBUTIONS_ALL Invoice distribution line information
AP.AP_INVOICE_PAYMENTS_ALL Invoice payment records
AP_PAYMENT_DISTRIBUTIONS_ALL Payment distribution information
AP_PAYMENT_HISTORY_ALL Maturity and reconciliation history for payments
AP_PAYMENT_SCHEDULES_ALL Scheduled payment information on invoices
AP_INTERFACE_REJECTIONS Information about data that could not be loaded by Payables Open
Interface Import
AP_INVOICES_INTERFACE Information used to create an invoice using Payables Open Interface
Import
AP_INVOICE_LINES_INTERFACE Information used to create one or more invoice distributions
AP_SUPPLIERS AP_SUPPLIERS stores information about your supplier level attributes.
AP_SUPPLIER_SITES_ALL AP_SUPPLIER_SITES_ALL stores information about your supplier site level
attributes.
AP_SUPPLIER_CONTACTS Stores Supplier Contacts

What is exception handling and how we can handle the exception in


Oracle?
Exception is an error situation which arises during program execution. When
an error occurs exception is raised normally execution is stopped and control
transfers to exception handling part. Exception handlers are routines written to
handle the exception. The exceptions can be internally defined User-defined
exception. In oracle we can handle exception by using these statements.
EXCEPTION WHEN
DUP_VAL_ON_INDEX
NOT_LOGGED_ON
NO_DATA_FOUND
TOO_MANY_ROWS
VALUE_ERROR
Can we define more than one exception in one block?
Yes we can define more than one exception in one block in oracle form builder
like we will use DUP_VAL_ON_INDEX and NO_DATA_FOUND
simultaneously
What is SQL sequence and what are their attributes?
Sequence is an Oracle object that is using for generating the sequence of
number. IT=T is normally using for column that have primary key.
CREATE SEQUENCE TRANS_ID_SEQ
START WITH 1
MAXVALUE 99999999
MINVALUE 1
NOCYCLE
NOCACHE
NOORDER
What is CYCLE AND NO CYCLE in sequence?
When we use CYCLE option in sequence and sequence reaches its
MAXVALUE, it will start again from the MINVALUE. That is not good when we
are using the sequence for primary key. In NOCYCLE option cursor did not
start from minimum value again.
Can we design one view on another view?
Yes we can design one view on the other view.
What are aggregate functions in Oracle?
Aggregate function are using in oracle with group by clause and with having clause. Avg, count, max, min,
sum,
How can we sort out our data in oracle?
We can sort out or data in oracle by using Order by clause. If we sort our data then we use this Order by
Roll_Num AEC and fro descending order we will use Order by Roll_Num Desc.
What is a PL/SQL package and what are the advantages of PL/SQL Packages?
A package is a collection of PL/SQL elements that are grouped together within a special BEGIN-END
syntax. A package is a schema object that groups logically related PL/SQL types, items, and subprograms.
Packages usually have two parts, a specification and a body, although sometimes the body is
unnecessary. The specification (spec for short) is the interface to your applications; it declares the types,
variables, constants, exceptions, cursors, and subprograms available for use. The body fully defines
cursors and subprograms, and so implements the spec.
What are the query and how many types of queries?
A database query is some type of syntax that is sent to database and get some data or information from
the database. It is some type of communicator that is using for giving something and taking something from
database.
Simple Query
Advanced Query
Saved Query
Cross-project Query
What is the union, intersect and minus operation in oracle?
Create table MY_A
(
My_ID number
)
Table A values: (1, 2, 3)
Create table MY_B
(
My_ID number
)
Table A values: (1, 2, 5)

For UNION:
Select MY_ID from MY_A;
UNION
Select MY_ID from MY_B;
Result: 1, 2, 3,5

For INTERSECT:
Select MY_ID from MY_A;
INTERSECT
Select MY_ID from MY_B;
Result: 1, 2

For MINUS:
Select MY_ID from MY_A;
MINUS
Select MY_ID from MY_B;
Result: 3
What is the difference between UNION and UNION ALL?
In UNION if two rows will match then result come only of two rows but if we use UNION ALL then result
will be four rows.
Create table MY_A
(
My_ID number
)
Table A values: (1, 2, 3)
Create table MY_B
(
My_ID number
)
Table B values: (1, 2, 5)
For UNION:
Select MY_ID from MY_A;
UNION
Select MY_ID from MY_B;
Result: 1, 2, 3,5
For UNION ALL:
Select MY_ID from MY_A;
UNION ALL
Select MY_ID from MY_B;
Result: 1,1, 2,2, 3,5
Explain in detail use of OCI in oracle?
OCI is an API that provides functions you can use to access the database server and control SQL
execution. OCI supports the data types, calling conventions, syntax, and semantics of the C and C++
programming languages. You compile and link an OCI program much as you would any C or C++ program.
Oracle function can take OUT parameter?
Yes we use OUT parameter in function.
In form Parameter can we define default value?
Yes you can define initial value in form parameter.
What is the difference between NO_DATA_FOUND and %NOTFOUND?
NO_DATA_FOUND is a system defined exception. It is generated when no record found in implicit cursor.
%NOTFOUND is used in cursor. If cursor returns no row then %NOTFOUND returns true and if returns
row then %NOTFOUND is false.
Write a statement to find out the no. of rows in oracle?
Select count(*) from emp;
Which function is use for display the numeric figure in words?
SELECT TO_CHAR(TO_DATE(123,'J'),'JSP') to_words FROM dual;

What is the difference between WHERE clause and HAVING clause?


WHERE clause use in simple select statement on the other hand HAVING clause use in group function
statement like.
Select emp_name from WHEER dept_code=123;
Select emp_name from emp HAVING count(emp_cod) > 2;
Write a difference between SUBSTR and INSTR function?
SUBSTR provide some portion of string like from one word to 5th word and INSTR gives us location of
that particular word.

Das könnte Ihnen auch gefallen