SQL Quiz-Y
SQL Quiz-Y
SQL Quiz-Y
SQL
SQL
SQL
SQL
SQL
Question
Which of the following texts below is a SQL statement that allows you
to add a DEFAULT value for a column to a particular table
SQL
SQL
SQL
SQL
SQL
SQL
SQL
SQL
SQL
CONNECT BY is used to
Below is a pseudo column
SQL
SQL
SQL
SQL Loader
Below Oracle function can only be used on NUMBER datatype
GREATEST oracle function works on
SQL
SQL
SQL
SQL
SQL
SQL
SQL
SQL
SQL
SQL
SQL
SQL
Options
UPDATE TABLE
SET DEFAULT
ALTER TABLE
ALTER COLUMN
MODIFY COLUMN
Answer Option1
UPDATE TABLE
x
1
Duplicate Values
ROWNUM
Join two different tables
CURRVAL
is oracle utility
COUNT
NUMBER datatype
EXTRACT Function
One join condition
Option2
Option3
Option4
SET DEFAULT
ALTER TABLE
ALTER COLUMN
10
only one NULL
DISTINCT
to specify relation between
parent and child rows
LEVEL
is oracle command
MIN
DATE datatype
100 an error
any number of NULLS
none of the above
ROWID
none of the above
to specify connection between
two tables
none of the above
NEXTVAL
ROWNUM
is a third party file loading
is oracle function
software
AVG
MAX
CHAR datatype
All of the above
TO_CHAR Function
TO_DATE Function
Option 1 & 2
The <ANY operator means less The =ANY and =ALL operators The IN operator cannot be used
than the maximum
have the same functionality
in single-row subqueries
It produces higher-level
subtotals, moving from right to
left through the list of grouping
columns specified in the
GROUP BY clause
It produces higher-level
subtotals, moving in all the
directions through the list of
grouping columns specified in
the GROUP BY clause
They can be used to retrieve
They use the <ALL operator to multiple rows from a single
imply less than the maximum table only
Option5
Answer
MODIFY COLUMN
1
3
3
2
5
1
3
4
SAVEPOINT
4
4
Topic
Question
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
Expression Transformation is
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
Lookup Transformation is
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
INFORMATICA
Option1
Option2
Active/Connected Transformation
Passive/Connected
Transformation
Source Tables
Used in the mapping
Target Tables
Available in the Source
Qualifier
Source Analyzer
Transformation Developer
Mapping Designer
Transformation Developer
Queries the Database with the modified SQL Query
and applies the condition entered in the Source
Queries the Database with the
Filter on the result set
modified SQL Query
Passive/Connected
Transformation
to a variable port but of the
same datatype in the next
Transformation
Input Port
Input/Output Port
Active/Connected Transformation
Input
Input/Output
Equivalent Joins
Non-Equivalent Joins
Passive/Connected
Active/Connected
Input Port
Output Port
Input
Input/Output
Source Database
Target Database
Input Ports
Output Ports
100
Output
Connected/Passive
Unconnected/Passive
Static
Dynamic
1,024 bytes
1,024 Kbytes
AND
OR
Source Pre-Load
Source Post-Load
Connected
Unconnected
Reject File
Lookup Transformation
Stored Procedure
Transformation
8.1
8.6
YES
NO
Custom
Connected SP
YES
NO
YES
Takes only oneoutputrow(wrong)
NO
Returns only multiple output
row
StoredProcedure
SQL
through ftp
ADVANCE DESGINER
QUESTIONS
The Code Page (also called encoding) is defined in the XML
The Code Page (also called encoding
Option3
Option4
Active/Unconnected Transformation
Passive/Unconne
cted
Transformation
1
Repository
None
Answer
Depends on the
settings
configured in the
Informatica
Client
Components
2
Warehouse
Designer
3
None
None of the
above
Input/Output
Variable
Active/Unconnected Transformation
Passive/Unconne
cted
Transformation
2
None of the
above
Output Port
Variable Port
3,4
10
Any Number
invalidates the
session
Reverts to
Normal Load
Both
Depends on the
number of Joiner
Transformations
used in the
mappings.
1
Both input
pipelines
originate from
the same Source
Qualifier
Transformation
2,4
depends on
which source the
can be configured in the session properties to either Informatica
use detail or master source to
Server first reads 2
Active/Unconnect
Passive/Unconnected
ed
2
Depends on the datatype of the value returned by
the condition
NULL
2
Evaluates the
condition if the
Source is
relational source
only.
2
Output
Variable Port
2
Input/Output/Vari
able
3
Repository
To a Flat File in
the Informatica
Server $RootDir
Input/Output Ports
Variable Ports
1,000
10,000
None
Directs it to the
Default Group
Input/Output
Can be connected to next Transformation or Target
definition
GroupBy
Are rejected by
the Informatica
Server
Connected/Active
Persistent
None
1,00,000 bytes
1,000,000 bytes 1
LIKE
None
Target Pre-Load
Normal
The Stored
Procedure
Transformation
type is
Connected
Connected/Unconnected
Source Pre-Load 3
Marks the
Can be configured in the session properties sheet to mapping/session
either stop or continue the session
as invalid
3
Input, Output, GroupBy
Input, Output
Bad File
None
Lookup and
Update Strategy 2
Expression
Transformation
7.3
3
1
By Using "Lookup
Policy on Multiple
Match" option
4
Unconnected Look-up
non of these
non of these
ip address
Take input more than one row
1
Takes multiple
output row
3
ExternalProcedur
e
2
vpn service
Take input one
row
2
1
The Code page for the XML target definition can be set to m
The Code Page for th1
Which transformation should u need while using the COBOL sources as source definitions?
What are the unsupported repository objects for a mapplet?
In Infomatica Can you use the mapping parameters or variables created in one mapping into another
What are the difference between joiner transformation and source qualifier transformation?
In Informatica which conditions we can not use joiner transformation (Limitations of joiner transformat
What r the tasks that Load manger process will do informatica powercenter?
What r the out put files that the informatica server creates during the session running?
What is a staging area? Do we need it? What is the purpose of a staging area?
What are the various methods of getting incremental records or delta records from the source systems?
Can we use procedural logic inside Infromatica? If yes how, if now how can we use external procedural logi
How do we extract SAP data Using Informatica? What is ABAP? What are IDOCS?
Normalizer transformation is used to normalize the data. Since COBOL sources r often consists of Demoralized data
COBOL source definition
Joiner transformations
Normalizer transformations
Non reusable sequence generator transformations.
Pre or post session stored procedures
Target definitions
Power mart 3.5 style Look Up functions
XML source definitions
IBM MQ source definitions
In Informatica Mapping parameter represents a constant value that you can define before running a session. Infoma
in a mapping or mapplet. Then define the value of parameter in a parameter file for the session. Unlike a mapping p
variable to the repository at the end of session run and uses that value next time you run the session.
NO. In Informatica We can use mapping parameters or variables in any transformation of the same mapping or map
In Informatica you can join heterogeneous data sources in joiner transformation which we can not ach
you need matching keys to join two relational sources in source qualifier transformation. Where as u d
Two relational sources should come from same data source in sourcequalifier. you can join relational s
In
In
In
In
In
In
Informatica
Informatica
Informatica
Informatica
Informatica
Informatica
Persistent cache: You can save the lookup cache files and reuse them the next time the informatica se
Recache from database: If the persistent cache is not synchronized with he lookup table, You can confi
Static cache: You can configure a static or read-only cache for only lookup table. By default informatic
transformation. When the lookup condition is true, the informatica server does not update the cache w
Dynamic cache: If You want to cache the target table and insert new rows into cache and the target, Y
Shared cache: You can share the lookup cache between multiple transactions. You can share unnamed
Static cache
In Informatica
You can not inert or update the cache.
The informatica server returns a value from the lookup table opr cache when the condition is true. Wh
informatica server returns the default value for connected transformations and null for unconnected tr
A Router transformation is similar to a Filter transformation because both transformations allow you t
meet the condition. A Router transformation tests data for one or more conditions and gives you the o
If you need to test the same input data based on multiple conditions, use a Router Transformation in a
In Informatica Status code provides error handling for the informatica server during the session. The s
When we issue the STOP command on the executing session task, the Integration Service stops readin
processing and committing data, we can issue the abort command.
In contrast ABORT command has a timeout period of 60 seconds. If the Integration Service cannot fini
You specify the target load order based on source qualifiers in a mapping. If u have the multiple sourc
Within a session. When you configure a session, you can instruct the Informatica Server to either treat
records for different database operations.
Within a mapping. Within a mapping, you use the Update Strategy transformation to flag records for in
The informatica server follows instructions coded into update strategy transformations within the sess
Insert
Delete
Update
Update as update
Update as insert
Update else insert
Truncate table
The Designer provides two mapping wizards to help you create mappings quickly and easily. Both wiza
Getting Started Wizard. Creates mappings to load static fact and dimension tables, as well as slowly g
the amount of historical dimension data you want to keep and the method you choose to handle histo
sourc
Type2 Dimension/Flag current Mapping: This mapping is also used for slowly changing dimensions. In
Flag indicates the dimension is new or newly updated. Recent dimensions will gets saved with current
Type2 Dimension/Effective Date Range Mapping: This is also one flavor of Type2 mapping used for slow
effective date range for each version of each dimension.
Load manager Process: Starts the session, creates the DTM process, and sends post-session email wh
The DTM process. Creates threads to initialize the session, read, write, and transform data, and handle
For relational sources informatica server creates multiple connections for each partition of a single sou
concurrently. Similarly for loading also informatica server creates multiple connections to the target an
For XML and file sources, informatica server reads multiple files concurrently. For loading the data info
Manages the session and batch scheduling: When u start the informatica server the load manager lau
load manager maintains list of list of sessions and session start times. When u start a session load ma
Locking and reading the session: When the informatica server starts a session load manager locks the
Reading the parameter file: If the session uses a parameter files, load manager reads the parameter fi
load manger checks whether or not the user have privileges to run the session
Creating log files: Load manger creates log file contains the status of session.
After the load manger performs validations for session, it creates the DTM process. DTM is to create a
Master thread: Creates and manages all other threads
Mapping thread: One mapping thread will be creates for each session. Fetches session and mapping in
Pre and post session threads: This will be created to perform pre and post session operations.
Reader thread: One thread will be created for each partition of a source.It reads data from source.
Writer thread: It will be created to load data to the target.
Transformation thread: It will be created to transform data.
Data movement modes determines how informatica server handles the charector data. U choose the d
Two types of data movement modes available in informatica.
I. ASCII mode
II. Uni code mode.
Informatica server log: Informatica server(on unix) creates a log for all status and error messages(def
Session log file: Informatica server creates session log file for each session. It writes information abou
load summary. The amount of detail in session log file depends on the tracing level that u set.
Session detail file: This file contains load statistics for each target in mapping. Session detail includes
window
Performance detail file: This file contains information known as session performance details which help
Reject file: This file contains the rows of data that the writer does not write to targets.
Control file: Informatica server creates control file and a target file when U run a session that uses the
external loader.
Post session email: Post session email allows U to automatically communicate information about a ses
session fails.
Indicator file: If u use the flat file as a target, U can configure the informatica server to create indicato
reject.
Output file: If session writes to a target file, the informatica server creates the target file based on file
Cache files: When the informatica server creates memory cache it also creates cache files. For the foll
Aggregator transformation
Joiner transformation
Rank transformation
Lookup transformation
If you configure a session in a sequential batch to stop on failure, you can run recovery starting with t
property
To recover sessions in sequential batches configured to stop on failure:
1. In the Server Manager, open the session property sheet.
2. On the Log Files tab, select Perform Recovery, and click OK.
3. Run the session.
4. After the batch completes, open the session property sheet.
5. Clear Perform Recovery, and click OK.
If you do not clear Perform Recovery, the next time you run the session, the Informatica Server attemp
If you do not configure a session in a sequential batch to stop on failure, and the remaining sessions in
If multiple sessions in a concurrent batch fail, you might want to truncate all targets and run the batch
session as a standalone session.
To recover a session in a concurrent batch:
1. Copy the failed session using Operations-Copy Session.
2. Drag the copied session outside the batch to be a standalone session.
3. Follow the steps to recover a standalone session.
4. Delete the standalone copy.
Under certain circumstances, when a session does not complete, you need to truncate the target table
The source qualifier transformation does not use sorted ports.
If u change the partition information after the initial session fails.
Perform recovery is disabled in the informatica server configuration.
If the sources or targets changes after initial session fails.
If the mapping consists of sequence generator or normalizer transformation.
If a concurrent batch contains multiple failed sessions.
When the Informatica Server starts a recovery session, it reads the OPB_SRVR_RECOVERY table and no
processing from the next row ID. For example, if the Informatica Server commits 10,000 rows before th
By default, Perform Recovery is disabled in the Informatica Server setup. You must enable Recovery in
OPB_SRVR_RECOVERY table.
If you stop a session or if an error causes a session to stop, refer to the session and error logs to deter
the properties of the mapping, session, and Informatica Server configuration.
Use one of the following methods to complete the session:
Run the session again if the Informatica Server has not issued a commit.
Truncate the target tables and run the session again if the session is not recoverable.
Consider performing recovery if the Informatica Server has issued at least one commit.
Tracing level represents the amount of information that informatcia server writes in a log file. Types of
Normal
Verbose
Verbose init
Verbose data
U can schedule a session to run at a given time or interval, or u can manually run the session.
Different options of scheduling
Run only on demand: server runs the session only when user starts session explicitly
Run once: Informatica server runs the session only once at a specified date and time.
Run every: Informatica server runs the session at regular intervals as configured.
Customized repeat: Informatica server runs the session at the dates and times specified in the repeat
When using incremental aggregation, you apply captured changes in the source to aggregate calculat
Power Mart is designed for:
Low range of warehouses only for local repositories mainly desktop environment.
we can connect to single and multiple Repositories, generally used in big Enterprises.
Power mart is designed for:
High-end warehouses Global as well as local repositories
ERP support.
Power Mart: we can connect to only a single Repository.
Materialized view:
Answer 1.Materialized view is a view in which data is also stored in some temp table.i.e if we will go w
stored in some temp tables.
Answer 2. Materialized view means it stores pre calculated data, it is a physical representation and it'
Snapshot:
Answer 1. A snapshot is a table that contains the results of a query of one or more tables or views, oft
Answer 2.Snapshot is a specific interval of data,
Partitioning is a part of physical data warehouse design that is carried out to improve performance an
components because it:
1. Reduces work involved with addition of new data.
2. Reduces work involved with purging of old data.
Two types of partitioning are:
1. Horizontal partitioning.
2. Vertical partitioning (reduces efficiency in the context of a data warehouse).
Staging area is place where you hold temporary tables on data warehouse server. Staging tables are c
before loading the data into warehouse.
In the absence of a staging area, the data load will have to go from the OLTP system to the OLAP syste
staging area. In addition, it also offers a platform for carrying out data cleansing.
According to the complexity of the business rule, we may require staging area, the basic need of stagi
Data modeler will provide the ETL developer, the tables that are to be extracted from various sources.
When addressing a table some dimension key must reflect the need for a record to get extracted. Mos
be adding an archive flag to record, which gets reset when record changes.
Draw the inference if slowly changing dimension and based on the Type 1/2 or3 tables defined.
You can use a Command task to call the shell scripts, in the following ways:
1. Standalone Command task. You can use a Command task anywhere in the workflow or worklet to ru
2. Pre- and post-session shell command. You can call a Command task as the pre- or post-session shel
There is a task named command task, using that you can write or call Shell script, DOS commands or
By Full Load or One-time load we mean that all the data in the Source table(s) should be processed. Th
came after one-time load.
Full Load is the entire data dump load taking place the very first time.
Gradually to synchronize the target data with source data, there are further 2 techniques:Refresh load - Where the existing data is truncated and reloaded completely.
Incremental - Where delta or difference between target and source data is dumped at regular interval
Full Load: completely erasing the contents of one or more tables and reloading with fresh data.
Incremental Load: applying ongoing changes to one or more tables based on a predefined schedule.
seen by the user. It only used by the informatica server to determine whether to continue running the session o
he other threads.
cess only those changes. This allows the Informatica Server to update your target incrementally, rather than fo
ementally, rather than forcing it to process the entire source and recalculate the same calculations each time yo