WHAT IS NULL INDICATOR ? WERE IS THIS USED? AND IF IT IS
USED IN FILES CONCEPT? HOW DO WE USE IT?

Answers were Sorted based on User's Feedback



WHAT IS NULL INDICATOR ? WERE IS THIS USED? AND IF IT IS USED IN FILES CONCEPT? HOW DO WE USE IT?..

Answer / mr. cooooool

We use Null Indicator to fetch the Null Values from the
database through the application Program.
If we don't mention Null Indictor, in that case Null Values will not be retrieved by application program.


THANKS

Is This Answer Correct ?    1 Yes 0 No

WHAT IS NULL INDICATOR ? WERE IS THIS USED? AND IF IT IS USED IN FILES CONCEPT? HOW DO WE USE IT?..

Answer / nans

NULL indicator specifically used to find the value is present
or not in Table. For PRIMARY key the value should present.
When working with this key in program, there may be chance of
no value is present/value truncated. In such cases, NULL
indicator is used.

In file NULL indicator cannot be used.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More DB2 Interview Questions

What is the difference between cursor and select statement?

0 Answers  


What is the size of a data page?

2 Answers   IBM,


What is the use of predicate?

0 Answers  


what is cursor stability?

2 Answers   IBM,


by using cursors , we can access particular records from the table based on some condition, i want to delete those selected records, how can we write a query for this in the program?

4 Answers   Mphasis,






COBOL PRECOMPILER ERROR: "XXXXXX" (TABLE) PREVIOUSLY DECLARED OR REFERENCED DCLGEN VARIABLES GETS IMPORTED TWICE FOR ONLY ONE EXEC SQL STATEMENT. WHAT COULD BE THE PROBLEM?

1 Answers  


What is a view? Why use it?

3 Answers  


can i code union in cobol-db2 pgm ?

4 Answers   Patni,


How do you check for a null value in a db2 column?

2 Answers  


If a table has a column "dept" (declared to have nulls) and there are 10 rows in the table of which 3 have a null value in the dept column, what will select count(*) and select count(distinct dept) return?

6 Answers  


What is the difference between plan and package in db2?

0 Answers  


Can we use select * statement in cobol program without giving field names ???

3 Answers   Zensar,


Categories