Infolinks

Showing posts with label TIPS. Show all posts
Showing posts with label TIPS. Show all posts

Friday, 13 July 2012

13 Common interview questions for freshers

13 Common interview questions for freshers.

Fresher graduates are under enormous pressure to nail campus interviews. With proper interview preparations & a solid resume, this is not a hard task to achieve. While you are awaiting your ca...mpus interviews, try practicing answering the following questions in your own way referring your personal experiences with a presentable manner.

One important interview tip to be kept in mind that you are just a college fresher graduate, your employer knows that. They would make you feel comfortable to a greater extent in order to get the raw talents out of you. So be cool, prepare well for answering these common interview questions that would be asked in your interviews for sure.

- Tell me about yourself
- Why you chose this particular subject of study?
- Tell me about the most exciting moment of your college days
- What are your career goals?
- Why should we hire you?
- Tell me about your dream job
- What is your greatest strength/weakness?
- Where do you want to see yourself in 5 years?
- Are you an effective/flexible team player? State an example
- What do you know about our Organization?
- Would you be flexible for Night shifts?
- What is your salary expectation?
- Do you have any questions?


Thanks & Regards,
Jobs Today
See More

Quote

Quote of the day :-

6 Air Purifying House Plants

6 Air Purifying House Plants.

1. Bamboo Palm: According to NASA, it removes formaldahyde and is also said to act as a natural humidifier.

2. Snake Plant: Found by NASA to absorb nitrogen oxides and formaldahyde.

... 3. Areca Palm: One of the best air purifying plants for general air cleanliness.

4. Spider Plant: Great indoor plant for removing carbon monoxide and other toxins or impurities. Spider plants are one of three plants NASA deems best at removing formaldahyde from the air.

5. Peace Lily: Peace lilies could be called the “clean-all.” They’re often placed in bathrooms or laundry rooms because they’re known for removing mold spores. Also know to remove formaldahyde and trichloroethylene.

6. Gerbera Daisy: Not only do these gorgeous flowers remove benzene from the air, they’re known to improve sleep by absorbing carbon dioxide and giving off more oxygen over night

Let All Come to Know.!!
See More

How To Handle The Interview Stress

How To Handle The Interview Stress :-
No matter what degree you hold, how skilled you are, and what experience you hold, the very thought of facing an interview leads to goose bumps. To think about sitting in front of the interview pane...l causes stress to many people and it can be nerve-wrecking for them. Here we provide certain tips to face the interview confidently.

*Recognize Your Problem: First you need to accept that you are under stress and it is normal in such conditions. This is the most important step, as it allows you to find ways to come out of it. There are various signs which indicate that the person is under stress, such as, tickling in the stomach, sweating, babbling, tightening of the shoulders and neck, etc. Early detection of such signs and symptoms is imperative when formulating a plan of action to combat stress during an interview.

* Prepare In Advance: Before going for an interview, prepare both your mind and body. Some patent interview questions need to be prepared beforehand and body language such as posture must be rehearsed in advance. Preparation gives confidence to face the actual situation.

* Do Not Succumb To The Interview Pressure: Giving in is very easy, but to succeed one has to face challenges and overcome them with determination. Remember that your interview performance is the index of your character. It shows how strong you are. Just focus on your strengths and try to overcome your shortcomings. It is for sure that the interview panel will not change; you have to change and adopt the never-to-quit attitude.

* Respect The Interviewer: Listen carefully to what the interviewer is asking, answer politely and with patience. It is important to face the interview with a positive attitude and keep your mind alert and open.

Only with confidence and determination one can come out of the pressure full situation. There is no shortcut to escape fear. One has to accept the fear and give his/her best to come out of difficult situations with the head held high.


If you found this list of Tips useful, Please 'Like' and 'Share' to Everyone.
See More

6 Good Tips to Increase Your Communication Skills

6 Good Tips to Increase Your Communication Skills :-
Here are 6 great tips you can use:

1. Awareness of your own interaction with other people is the first step in improving your communication skills.

... Learn to identify which types of situations make you uncomfortable and then modify your behavior to achieve positive results is a critical step in improving your communication skills.

You can learn to become aware of behaviors in other people that prompt you to respond in negative ways and modify your own behavior to turn the situation into a positive experience.

2.You must accept responsibility for your own behavior and do not fear apologizing for errors in judgment or insensitive actions.

Asking others for honest feedback about the way you interact with others can be very helpful. Accept the negative feedback along with the positive and make changes accordingly.

3.Your non-verbal communication is equally as important as the things that you say. Positive body language is extremely important in your interactions with other people.

If your words and your actions do not match, you will have a difficult time succeeding in social situations.

4.In order to learn how to improve your communication skills, you must become a great listener. You must fight the urge to respond immediately and really listen to what the other person is trying to communicate.

Offering suggestions or criticism before you are certain of the other person's intent can only lead to frustration for both parties.

5.Improving your communication skills is a process and cannot be accomplished overnight . Trying to improve or change too many things at once will be counter-productive.

You will become discouraged and overwhelmed if you attempt to change your entire personality all at once. Choose one or two traits at a time and work on those over a period of time. Learn to take advantage of your personal strengths and make a positive impact on others.

6.Maximize your positive personality traits and use them in your interactions with others. Good communication and great listening skills are the most important tools you can use in improving your communication skills.

You can learn how to improve your communication skills by developing excellent listening skills, learning to resolve problems and conflicts, understanding body language, and accepting responsibility for your own negative behavior.


If you found this list of Tips useful, Please 'Like' and 'Share' to Everyone.

Wednesday, 11 July 2012

FNDLOAD

FNDLOAD

Data Synchronization: Data Synchronization is a process in which some setup data would be synchronized, and this would be more important when you are working in oracle application development/implementation project. The equally important that AOL data Migration takes place necessary to synchronize the data across databases instance during
  • Installations (New desc. flex field creations etc)
  • Upgrades (Apps upgrade etc)
  • Maintenance (Value set changes etc)
FNDLOAD is one and only oracle solution. It can be defined as a concurrent program that can move Oracle Applications data between database and text file representations. Or this can be defined as FNDLOAD can download data from an application entity into an editable text file, which can be uploaded to another database.
Working of FNDLOAD: Conversion between database format and text file format is specified by a configuration file. Oracle does provide configuation file and it is important to just pass the configuration file name and then just call the loader and leave everything .
These are the extensive list which can be done through FNDLOAD
  • Concurrent Programs, Executables
  • Request Groups, Request Sets
  • Profile Options
  • Key and Descriptive Flexfields
  • Menus and Responsibilities
  • Forms and Form Functions
  • Attachments
  • Messages
  • Value Sets and Values
  • Lookup Types
  • User Responsibilities
  • Printer Definitions
  • FND Dictionary
  • Help Configuration
  • Document Sequences
  • Concurrent Manager Schedules
Advantages using FNDLOAD are :
  • Because downloaded data is stored in a text file, version administration is possible
  • No learning curve.
  • Fully supported and recommended by Oracle
  • Capture the migrations in a file and use it during installations, clones etc. to migrate in batch
  • Pin-point when something happened and where (database) easily
  • Your AOL data migration process is now simplified and streamlined.
Disadvantages:
  • Applications patching mechanisms use FNDLOAD heavily – possibility of negative impact is not zero
  • UPLOAD_MODE=REPLACE only for menus
  • No validation against migrating database/instance sensitive data
Syntax : To use FNDLOAD, the following syntax is needed.
FNDLOAD apps/appspwd 0 Y mode configfile datafile entity [parameter1…..]
  • The mode is either DOWNLOAD or UPLOAD.
  • The configfile is the file that Fndload needs to download on upload data.
  • The data file is the output file, in which the downloaded data is written
  • The entity is the entity you want to download,
Modes of Operation:Two modes .. Upload and Download…
1. Example of download:
FNDLOADapps/pwd 0 Y DOWNLOAD ${FND_TOP}/patch/115/import/afcpprog.lct myfile.ldt \ PROGRAM CONCURRENT_PROGRAM_NAME= concurrent_program_short_name> APPLICATION_SHORT_NAME=
2. Example of Upload
FNDLOAD apps/pwd 0 Y UPLOAD ${FND_TOP}/patch/115/import/afcpprog.lct myfile.ldt - CUSTOM_MODE=FORCE undocumented parameter
FNDLOAD Load Options:
  1. Application level OR single entity level download: Download all the profile options of Inventory or just the INV: Default Primary UOM
  2. Entire OR Partial upload of a data file: Upload the entire myfile.ldt or just a single enity indicated by - and mode UPLOAD or UPLOAD_PARTIAL
    Entity name required for UPLOAD_PARTIAL mode
  3. Custom mode force update : To override Oracle’s upload algorithm and update the custom AOL data regardless, use CUSTOM_MODE= FORCE
    UPLOAD_MODE= REPLACE (only for menus)
  4. Support for NLS uploads : NLS data uploads for translated columns are supported, use UPLOAD_MODE= NLS
Config File Location: By default Oracle delivers most of configuration files you can use to download certain entities.
1. Configuration files with extension .lct
On Unix - all the configuration files are in $FND_TOP/patch/115/import directory
On Unix – Oracle also places the original configuration files in $FND_TOP/admin/import directory
2. Data files with extension .ldt

  • The config files (.lct) are delivered and maintained by Oracle.
  • It has entity definitions, parent-child relationships and user input parameters identified by :NAME
  • Downloading a parent automatically downloads all children - e.g. Concurrent Program download
  • The data files (.ldt) have both entity definition and the data
  • It also shows the version and the location of the config file (.lct) that was used
  • Without the config file, data file is useless
  • Without the data file, config file is meaningless
  • Key files: .lct and .ldt
  • You must run the FNDLOAD as apps user not as applsys or any other, otherwise you will receive Ora-6550
  • Both are easily readable, editable and portable
  • DO NOT MODIFY Oracle’s .lct files
  • Use your favorite editor (I would suggest Textpad or Editplus) to manipulate only the .ldt files but be cautious about data type, length, delimiter placements etc.
  • Use the log file outputs or .ldt file contents creatively for quick file comparisons and answer questions faster (Why can’t I access that? What is that profile option name, value and level? What is the value set used for that DFF segment attribute10 etc.)
  • Partial string searches (which value set has Priority “something” in its where clause? etc)
Sample Script Code:

1 - Printer StylesFNDLOAD apps/apps@seed115 O Y DOWNLOAD $FND_TOP/patch/115/import/afcppstl.lct file_name.ldt STYLE PRINTER_STYLE_NAME=”printer style name”
2 - LookupsFNDLOAD apps/apps@seed115 O Y DOWNLOAD $FND_TOP/patch/115/import/aflvmlu.lct file_name.ldt FND_LOOKUP_TYPE APPLICATION_SHORT_NAME=”prod” LOOKUP_TYPE=”lookup name”
3 - Descriptive Flexfield with all of specific ContextsFNDLOAD apps/apps@seed115 O Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct file_name.ldt DESC_FLEX P_LEVEL=?COL_ALL:REF_ALL:CTX_ONE:SEG_ALL? APPLICATION_SHORT_NAME=”prod” DESCRIPTIVE_FLEXFIELD_NAME=”desc flex name” P_CONTEXT_CODE=”context name”
4 - Key Flexfield StructuresFNDLOAD apps/apps@seed115 O Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct file_name.ldt KEY_FLEX P_LEVEL=?COL_ALL:FQL_ALL:SQL_ALL:STR_ONE:WFP_ALL:SHA_ALL:CVR_ALL:SEG_ALL? APPLICATION_SHORT_NAME=”prod” ID_FLEX_CODE=”key flex code” P_STRUCTURE_CODE=”structure name”
5 - Concurrent ProgramsFNDLOAD apps/apps@seed115 O Y DOWNLOAD $FND_TOP/patch/115/import/afcpprog.lct file_name.ldt PROGRAM APPLICATION_SHORT_NAME=”prod” CONCURRENT_PROGRAM_NAME=”concurrent name”
6 - Value SetsFNDLOAD apps/apps@seed115 O Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct file_name.ldt VALUE_SET FLEX_VALUE_SET_NAME=”value set name”
7 - Value Sets with valuesFNDLOAD apps/apps@seed115 O Y DOWNLOAD $FND_TOP/patch/115/import/afffload.lct file_name.ldt VALUE_SET_VALUE FLEX_VALUE_SET_NAME=”value set name”
8 - Profile OptionsFNDLOAD apps/apps@seed115 O Y DOWNLOAD $FND_TOP/patch/115/import/afscprof.lct file_name.ldt PROFILE PROFILE_NAME=”profile option” APPLICATION_SHORT_NAME=”prod”
9 - Requset GroupFNDLOAD apps/apps@seed115 O Y DOWNLOAD $FND_TOP/patch/115/import/afcpreqg.lct file_name.ldt REQUEST_GROUP REQUEST_GROUP_NAME=”request group” APPLICATION_SHORT_NAME=”prod”
10 - Request SetsFNDLOAD apps/apps@seed115 O Y DOWNLOAD $FND_TOP/patch/115/import/afcprset.lct file_name.ldt REQ_SET APPLICATION_SHORT_NAME=”prod” REQUEST_SET_NAME=”request set”
11 - ResponsibilitiesFNDLOAD apps/apps@seed115 O Y DOWNLOAD $FND_TOP/patch/115/import/afscursp.lct file_name.ldt FND_RESPONSIBILITY RESP_KEY=”responsibility
12 - MenusFNDLOAD apps/apps@seed115 O Y DOWNLOAD $FND_TOP/patch/115/import/afsload.lct file_name.ldt MENU MENU_NAME=”menu_name”
13 – Forms/FunctionsFNDLOAD apps/apps@seed115 0 Y DOWNLOAD $FND_TOP/patch/115/import/affrmcus.lct file_name.ldt FND_FORM_CUSTOM_RULES The Upload syntax for all styles: FNDLOAD apps/apps@seed115 0 Y UPLOAD $FND_TOP/patch/115/import/affrmcus.lct file_name.ldt
14. User/ResponsibilitiesFNDLOAD apps/apps@seed115 0 Y DOWNLOAD @FND:patch/115/import/afscursp.lct file_name.ldt FND_USER Then UPLOAD FNDLOAD apps/apps@seed115 0 Y UPLOAD [UPLOAD_PARTIAL] @FND:patch/115/import/afscursp.lct file_name.ldt FND_USER []

Friday, 22 June 2012

Collections


Collections - Introduction
In PL/SQL Version 2, Oracle introduced the TABLE data type as a way of storing singly dimensioned sparse arrays in PL/SQL. PL/SQL8 introduces two new collection structures that have a wide range of new uses. These structures are nested tables and variable-size arrays (VARRAYs). Like PL/SQL tables, these structures can also be used in PL/SQL programs. But what is new is the ability to use the new collections as the datatypes of fields in conventional tables and attributes of objects. While not an exhaustive implementation of user-defined datatypes, collections offer rich new physical (and, by extension, logical) design opportunities for Oracle practitioners.
Types of Collections
  • PL/SQL tables are singly dimensioned, unbounded, sparse collections of homogeneous elements and are available only in PL/SQL. These are called index-by tables in version 8i and associative arrays in version 9i.
  • Nested tables are also singly dimensioned, unbounded collections of homogeneous elements. They are initially dense but can become sparse through deletions. Nested tables are available in both PL/SQL and the database (for example, as a column in a table).
  • VARRAYs, like the other two collection types, are also singly dimensioned collections of homogeneous elements. However, they are always bounded and never sparse. Like nested tables, they can be used in PL/SQL and in the database. Unlike nested tables, when you store and retrieve a VARRAY, its element order is preserved. Using a nested table or VARRAY, you can store and retrieve nonatomic data in a single column. For example, the employee table used by the HR department could store the date of birth for each employee’s dependents in a single column. This is illustrated in the table below:
Table 1: Storing a Nonatomic Column of Dependents in a Table of Employees
Id (NUMBER)
Name (VARCHAR2)
Dependents_ages (Dependent_birthdate_t)
10010
Zaphod Beeblebrox
4-JUL-1977
22-MAR-2021
12-JAN-1763
10020
Molly Squiggly
15-NOV-1968
15-NOV-1968
10030
Joseph Josephs

10040
Cepheus Usrbin
9-AUG-1996
27-JUN-1995
1
9-JUN-1997

10050
Deirdre Quattlebaum
21-SEP-1997
It’s not difficult to create such a table. First we define the collection type:
CREATE TYPE Dependent_birthdate_t AS VARRAY(10) OF DATE;
Now we can use it in the table definition:
CREATE TABLE employees (
   id NUMBER,
   name VARCHAR2(50),
   ...other columns...,
   Dependents_ages Dependent_birthdate_t
);
We can populate this table using the following INSERT syntax, which relies on the type’s default constructor to transform a list of dates into values of the proper data type:
INSERT INTO employees VALUES (42, 'Zaphod Beeblebrox', ...,
   Dependent_birthdate_t( '12-JAN-1763', '4-JUL-1977', '22-MAR-2021'));
While most of us have been trained to view nonatomic data as a design flaw, in some situations (for those in which you don’t need to scan the contents of all the values in all the rows), theoreticians and practitioners alike consider nonatomic data to be perfectly acceptable. Some database designers have believed for years that the large percentage of nonatomic data inherent in their applications demands a nonrelational solution. Setting aside theoretical arguments about "natural" data representations, Oracle collections allow to pass an entire collection between the database and PL/SQL using a single fetch. This feature alone could have significant positive impact on application performance.
As we’ve mentioned, within PL/SQL both nested tables and VARRAYs are ordered collections of homogeneous elements. Both bear some resemblance to the PL/SQL Version 2 table datatype, the elder member of the "collection" family. The new types are also singly dimensioned arrays, but they differ in areas such as sparseness (not exactly), how they’re initialized (via a constructor), and whether they can be null (yes).
One chief difference between nested tables and VARRAYs surfaces when we use them as column datatypes. Although using a VARRAY as a column’s datatype can achieve much the same result as a nested table, VARRAY data must be predeclared to be of a maximum size, and is actually stored "inline" with the rest of the table’s data.
Nested tables, by contrast, are stored in special auxiliary tables called store tables, and there is no pre-set limit on how large they can grow. For this reason, Oracle Corporation says that VARRAY columns are intended for "small" arrays, and that nested tables are appropriate for "large" arrays.
The old Version 2 table datatype is now called an index-by table, in honor of the INDEX BY BINARY_INTEGER syntax required when declaring such a type. Despite the many benefits of the new collection types, index-by tables have one important unique feature: initial sparseness. The table below illustrates many of the additional differences among index-by tables and the new collection types.
Table 2: Oracle Collection Types Comparison
Characteristic Dimensionality
Index-By Table Single
Nested Table Single
VARRAY Single
Usable in SQL?
No
Yes
Yes
Usable as column datatype in a table?
No
Yes; data stored "out of line" (in separate table)
Yes; data stored "in of line" (in same table)
Uninitialized state
Empty (cannot be null); elements undefined
Atomically null; illegal to reference elements
Atomically null; illegal to reference elements
Initialization
Automatic, when declared
Via constructor, fetch, or assignment. In PL/SQL, elements referenced via BINARY_INTEGER (-2,147,483,647 .. 2,147,483,647) and positive integer between 1 and 2,147,483,647
Via constructor, fetch, or assignment. Positive integer between 1 and 2,147,483,647
Sparse?
Yes
Initially, no; after deletions, yes
No
Bounded?
No
Can be extended
Yes
Can assign value to any element at any time?
Yes
No; may need to EXTEND first
No; may need to EXTEND first, and cannot EXTEND past upper bound
Means of extending
Assign value to element with a new subscript
Use built-in EXTEND procedure (or TRIM to condense), with no predefined maximum
EXTEND (or TRIM), but only up to declared maximum size
Can be compared for equality?
No
No
No
Retains ordering and subscripts when stored in and retrieved from database?
N/A
No
Yes
Click here for suggestions on which construct to use.
Collection Terminology
Collection
A term which can have several different meanings:
·         A nested table, index-by table, or VARRAY datatype
·         A PL/SQL variable of type nested table, index-by table, or VARRAY
·         A table column of type nested table or VARRAY
Inner table
The "enclosed" collection that is implemented as a column in a table; also known as a "nested table column"
Nested table
Unfortunately, the term "nested table" can be a bit misleading. A nested table, when declared and used in PL/SQL, is not nested at all! It is instead fairly similar to an array. Even when you use a nested table as a table column, in Oracle 8.0 you can only nest these structures to a single level. That is, your column cannot consist of a nested table of nested tables.
One-dimensional
(or single-dimensional) Essentially, a collection has just a single column of information in each row, and is in this way similar to a one-dimensional array. You cannot define a collection so that it can be referenced as follows:
my_table (10, 44)
This is a two-dimensional structure and not currently supported.
Outer table
A term referring to the "enclosing" table in which you have used a nested table or VARRAY as a column’s datatype
Store table
The physical table which Oracle creates to hold values of the inner table
VARRAY
"Variable-size array" is also a deceptive name; one might assume, based on the fact that it is supposed to be "variable size," that it can be arbitrarily extended; quite the opposite is true. Although a VARRAY can have a variable number of elements, this number can never exceed the limit that you define when you create the type

BULK COLLECT


Bulk Collect with PL/SQL


In PL/SQL, using bulk collect, it is possible to select the values from mutliple rows in one go.
Example #1
A table with two columns is created...
  a number,
  b varchar2(10)
);
... and filled with some values:
insert into bc values (11,'elf');
insert into bc values (12,'zwoelf');
insert into bc values (13,'dreizehn');
insert into bc values (14,'vierzehn');

An anonymous block is executed. Its declaration part defines two nested-table types and declares two variables, one of either type.
In the body, the select statement used bulk collect to select all rows in the table in one go into the variables.
Finally, a loop over the variables' elements prints the values.

  type t_bc_a is table of bc.a%type;
  type t_bc_b is table of bc.b%type;

  l_bc_a t_bc_a;
  l_bc_b t_bc_b;
  select a, b bulk collect into l_bc_a, l_bc_b from bc;

  for i in l_bc_a.first .. l_bc_a.last loop
    dbms_output.put_line(l_bc_a(i) || ', ' || l_bc_b(i));
  end loop;

end;
/
11, elf
12, zwoelf
13, dreizehn
14, vierzehn
Example #2
The 2nd example is similar to the first one. The main difference is that two columns are bulk collected into one (rather than two) variable. This variable must still be of a nested-table type. However, the type of the elements in the nested-table type must now be an object type with two member variables that correspond to the selected columns. Another difference is that the bulk collect will now be within a function that returns the values.
First, the object type is created:
create or replace type varchar_number as object (
  v varchar2(10),
  i number
);
/
The nested-table type using varchar_number as elements is created:
create or replace type t_varchar_number as table of varchar_number;
/
A table containing some values:
create table vn (
  v varchar2(10),
  i number
);

insert into vn values ('uno',1);
insert into vn values ('due',2);
insert into vn values ('tre',3);

commit;
The following function bulk collects the values of the table vnand returns it as a collection.
create or replace function fct_t return t_varchar_number as
  ret t_varchar_number;
begin
  select varchar_number(v,i) bulk collect into ret from vn;

  return ret;
end;
/
The function in action

declare
  x t_varchar_number;
begin
  x := fct_t;

  for r in (select * from table(cast(x as t_varchar_number))) loop
    dbms_output.put_line(r.v || ', ' || r.i);
  end loop;

end;
/
uno, 1
due, 2
tre, 3
Cleaning up...
drop type t_varchar_number;
drop type varchar_number;
drop function fct_t;
drop table vn;
Example #3
This example demonstrates that bulk collects completly overrides (or deletes) the content of the variable selected into prior to the select.
create table bc_3 (
  a number,
  b number
);
insert into bc_3 values (1, 1);
insert into bc_3 values (2, 1);
insert into bc_3 values (3, 1);

insert into bc_3 values (4, 2);
insert into bc_3 values (5, 2);
insert into bc_3 values (6, 2);
insert into bc_3 values (7, 2);

insert into bc_3 values (8, 3);
insert into bc_3 values (9, 3);
declare
  type numbers is table of number;

  n    numbers;
begin

   select a bulk collect into n from bc_3 where b=1;
   select a bulk collect into n from bc_3 where b=3;

   for i in 1 .. n.count loop
     dbms_output.put_line(n(i));
   end loop;

end;
/
As the output shows, the result of the first bulk collect (where b=1) is completely overwritten by the second bulk collect (where b=3):
8
9