81⟩ In a Client/Server context, what does API (Application Programming Interface) refer to?
An API, in a Client/Server context, is a specification of a set of functions for communication between the client and the server.
“SQL Interview Questions and Answers will guide us now that SQL (Structured Query Language) is a database computer language designed for managing data in relational database management systems (RDBMS), and originally based upon Relational Algebra. So learn SQL or get preparation for the job of SQL (Structured Query Language) with the help of this SQL Interview Questions with Answers guide”
An API, in a Client/Server context, is a specification of a set of functions for communication between the client and the server.
Database triggers can be used to enforce business rules, to maintain derived values and perform value-based auditing.
Heterogeneity of the system results in reduced reliablity. May not be suitable for all applications. Managing and tuning networks becomes difficult.
A host based application is re-engineered to run in smaller or LAN based environment.
A client process at first establishes connection with the Server.
A Client,
A Server and
A Network/Communication software.
ODBC uses the description of the datasource available in the ODBC.INI file to load the required drivers to access that particular back end database.
1. An ODBC manager/administrator and
2. ODBC driver.
A file server just transfers all the data requested by all its client and the client processes the data while a database server runs the query and sends only the query output.
Because an event driven program is always waiting for something to happen before processing.
The ODBC Driver allows the developer to talk to the back end database.
CREATE TABLE - creates a new database table
ALTER TABLE - alters (changes) a database table
DROP TABLE - deletes a database table
CREATE INDEX - creates an index (search key)
DROP INDEX - deletes an index
SELECT column_name(s) FROM table_name
SELECT DISTINCT column_name(s) FROM table_name
SELECT column FROM table WHERE column operator value
SELECT column FROM table WHERE column LIKE pattern
SELECT column,SUM(column) FROM table GROUP BY column
SELECT column,SUM(column) FROM table GROUP BY column HAVING SUM(column) condition value
Note that single quotes around text values and numeric values should not be enclosed in quotes. Double quotes may be acceptable in some databases.
DELETE FROM table_name WHERE column_name = some_value
Delete All Rows:
DELETE FROM table_name or DELETE * FROM table_name
USER_TAB_PRIVS_MADE,
USER_TAB_PRIVS_RECD
When this clause is used with the DROP command, a parent table can be dropped even when a child table exists.
INSERT INTO table_name VALUES (value1, value2,....)
INSERT INTO table_name (column1, column2,...) VALUES (value1, value2,....)
RUN.
What will be the output of the following query?
SELECT DECODE(TRANSLATE('A','1234567890','1111111111'), '1','YES', 'NO' );?
NO. Explanation :
The query checks whether a given string is a numerical digit.
IS NULL operator.