| Back to Questions Page |
| Question |
if you update view? where we store the data? |
Rank |
Answer Posted By |
|
Interview Question Submitted By :: Sivakumarraju81 |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer |
Even if we update the view, the data will update in the
base table of the view.  |
0 | Smrao |
| |
| |
| Question |
how many types of index? |
Rank |
Answer Posted By |
|
Interview Question Submitted By :: Siva |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer |
Bit Map and B-tree index  |
0 | Hetendra Chauhan |
| |
| |
| Question |
What value the host varible will contain , if null
indicator value is -2 ? Will it contain the truncated value
or nothing will move ? |
Rank |
Answer Posted By |
|
Interview Question Submitted By :: Rahul |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer |
That Host Variable contain the Truncated value when Null
Indicator conatin value -2.  |
0 | Santy |
| |
| |
|
|
| |
| Question |
What if we try to insert the base table through updatable
view , but failed to give a column value which is defined
as NOT NULL. |
Rank |
Answer Posted By |
|
Interview Question Submitted By :: Mangesh |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer |
get error code "-407"
-407 :- An UPDATE, INSERT or SET VALUE is NULL, but the
object column defined as NOT NULL values.  |
0 | Santy |
| |
| |
| Question |
What if , we failed to mentioed null indicator in sql
select query , that may retrieve null value ? |
Rank |
Answer Posted By |
|
Interview Question Submitted By :: Mangesh |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer |
Sorry for the above answer :(
Please see the Correct answer, we will get the SQL error -
305
-305:- The NULL value cannot be assigned to output host
variable number because no indicator variable is specified.  |
0 | Santy |
| |
| |
| Answer |
it will retrive the garbage value.  |
0 | Santy |
| |
| |
| Question |
What if we fail to give values in columns declared as NOT
NULL ? |
Rank |
Answer Posted By |
|
Interview Question Submitted By :: Mangesh |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer |
Please correct the above error defintation :-
-407 :- An UPDATE, INSERT or SET VALUE is NULL, but the
object column defiend as NOT NULL values.  |
0 | Santy_rathod007@yahoo.co.in |
| |
| |
| Answer |
we will get the sql error code "-407"
-407 :- An UPDATE, INSERT or SET VALUE is NULL, but the
object column cannot contain the NULL values.  |
0 | Santy |
| |
| |
| Question |
what is differnece between DROP TABLE & DELETE TABLE . |
Rank |
Answer Posted By |
|
Interview Question Submitted By :: Mangesh |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer |
in DROP TABLE command it will remove the table containts as
well as table structure from the database catalog, also it
release all the storage space it has acquired previously.
we can't rollback it as it is a ddl command.
but in case of DELETE TABLE command it just delete all the
records but not relaese the spaces it acquires .it can be
rollback as it is a dml command.  |
0 | Samir Kumar Sahoo. |
| |
| |
| Answer |
DROP TABLe deletes the entire Structure of the TABLE from
the database with all the datas it contain, DELETE TABLE
deletes only the rows of the TABLE.  |
0 | Santy |
| |
| |
| Answer |
drop table deletes the entire structure from the database
and it also removes entry from syscat.tables. but where as
delete table only deletes the rows in the table.  |
0 | Durga Prasad |
| |
| |
| Question |
1. what if null values retrived from database and no null
indicator mentioned in query. What is sql code. |
Rank |
Answer Posted By |
|
Interview Question Submitted By :: Mangesh |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer |
we will get the sql code "-305".
-305:- The NULL value cannot be assigned to output host
variable number because no indicator variable is specified.  |
0 | Santy |
| |
| |
| Question |
------------------- What is Busschema? |
Rank |
Answer Posted By |
|
Interview Question Submitted By :: Arkchowdary |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer |
Busschema is the way to identify the conformed dimentions
across the business processies known as datamarts  |
0 | Swathi |
| |
| |
| Question |
----------------What is Surrogate Key? |
Rank |
Answer Posted By |
|
Interview Question Submitted By :: Arkchowdary |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer |
Surragate Key: It is a system generated Key and used to
eliminate the redundancy in the primary key.Its act as a
Primary key.so there are always integers.  |
1 | Amp Mohan |
| |
| |
| Question |
-------------------What is StarShema? |
Rank |
Answer Posted By |
|
Interview Question Submitted By :: Arkchowdary |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer |
StarSchema: It is a logical database implement physically
in the datawarehouse with centralized fact table
normalized, depends on the denormalized dimension
table.Advantages of starschema is slicing down,performance
increase and easy to understand the data.  |
0 | Amp Mohan |
| |
| |
|
| |
|
Back to Questions Page |