ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories >> Software >> Databases
 
  SQL-Server (546)  MS-Access (6)  MySQL (108)  Postgre (3)  Sybase (8)
  DB-Administration (82)  DB-Development (27)  SQL-PLSQL (402)  Databases-AllOther (38)
 


 

Back to Questions Page
 
Question
What is the use of Printer Definition file (PRT) in Reports ?
Rank Answer Posted By  
 Question Submitted By :: Nihar
This Interview Question Asked @   GE , Epson
I also faced this Question!!   © ALL Interview .com
Answer
Printer Definition file (PRT) is very use ful when we are 
crating Character Mode report it process faster and using 
this file we can write printer code in print before & Print 
after property of the report.
 
0
Manoj
 
 
Question
What is the use of Validation triggers in Reports?
Rank Answer Posted By  
 Question Submitted By :: Nihar
This Interview Question Asked @   GE
I also faced this Question!!   © ALL Interview .com
Answer
The Validation Triggers are used to validate the data 
entered int the parameter form.
If the parameter is having the number format and if the 
varchar2 is entered then to restrict such situations the 
VAlidation Triggers are used.
 
0
Swarna.alizerla
 
 
Question
What is summary column in Oracle Reports ?
Rank Answer Posted By  
 Question Submitted By :: Nihar
This Interview Question Asked @   GE
I also faced this Question!!   © ALL Interview .com
Answer
for the summary feilds like grand totals we can place this 
column,and it should be placed out of the repeating frame
 
0
Rajesh
 
 
 
Question
How can you create  Lexical parameter  n  Bind parameter in
Reports ?
Rank Answer Posted By  
 Question Submitted By :: Nihar
This Interview Question Asked @   GE
I also faced this Question!!   © ALL Interview .com
Answer
we can create lexical parameter & bind parameter in the 
report in the data model query.
The bind parameter is used as well and lexical parameter 
used for ex:

select &deptno,ename,deptno from emp where empno=:empno
 
0
Swarna.alizerla
 
 
Question
Where we can use the placeholder columns?
Rank Answer Posted By  
 Question Submitted By :: Nihar
This Interview Question Asked @   GE
I also faced this Question!!   © ALL Interview .com
Answer
Its like temp variable to limit the formula column we can 
used it.
 
0
Raj
 
 
Question
What is the sequence the Report triggers will fires while
running a report ?
Rank Answer Posted By  
 Question Submitted By :: Nihar
This Interview Question Asked @   GE
I also faced this Question!!   © ALL Interview .com
Answer
Before parameter 
After parameter 
Before report 
Between pages 
after report
 
0
Rajesh
 
 
Question
What are all the system Parameters available in ORACLE Reports
Rank Answer Posted By  
 Question Submitted By :: Nihar
This Interview Question Asked @   GE
I also faced this Question!!   © ALL Interview .com
Answer
BACK GROUND 
COPIES
CURRENCY
DESCIMAL
DESCIMAL FORMAT.
DES. NAME
DES. TYPE
MODE
ORIENTATION
PRINT JOB
 
0
Raj
 
 
Question
how can u store a picture file in oracle database? explain the
path/command?

Rank Answer Posted By  
 Question Submitted By :: Nihar
This Interview Question Asked @   GE , Satyam
I also faced this Question!!   © ALL Interview .com
Answer
we put the pictures in report output use bellow path
    
     goto livepriviwer of reports--->goto file
import--->image browse--->select image and save it
 
0
Srihari.y
 
 
Question
What is lexical parameter ? 
Rank Answer Posted By  
 Question Submitted By :: Nihar
This Interview Question Asked @   Zensar
I also faced this Question!!   © ALL Interview .com
Answer
Lexical parameter is a condition (where clause) given at 
runtime to generate the report on that condition. The '&' 
symbol will preceed the where clause condition.
 
0
Anil Kumar Karasi
 
 
Answer
Lexical parameters can dynamically replace clauses in the 
Select statement in the data model and even the whole 
select statement. It replaces any part of a SELECT 
statement, such as column names, the FROM clause, the WHERE 
clause, the ORDER BY clause. To create a lexical reference 
in a query, prefix the parameter name with an ampersand (&)
 
0
Deepak Muduli
 
 
Question
What are the differences between stored procedure and
functions in SQL Server 2000?
Rank Answer Posted By  
 Question Submitted By :: Honeysukumar
This Interview Question Asked @   TCS
I also faced this Question!!   © ALL Interview .com
Answer
The Text property exposes the Transact-SQL or other script 
that defines the referenced Microsoft? SQL Server? 2000 
database object.

The FunctionName property specifies the function name to 
call in the Microsoft? ActiveX? script associated with a 
script task or step.
 
0
Lrk
 
 
Answer
1) functions are used for computations where as procedures 
can be used for performing business logic
2) functions MUST return a value, procedures need not be.
3) you can have DML(insert, update, delete) statements in a 
function. But, you cannot call such a function in a SQL 
query..eg: suppose, if u have a function that is updating a 
table.. you can't call that function in any sql query.- 
select myFunction(field) from sometable; will throw error.
4) function parameters are always IN, no OUT is possible
 
3
Pavan Pareta
 
 
Answer
1. Functions can be used inline with a select statement 
while sprocs can't.

2. EXEC command can't be used inside a Function where it 
can be used inside an sproc.
 
4
Vampire007
 
 
Answer
Stored procedures are a set of actions already written and 
stored inside the database for acheiving a particular task 
where as functions are general database objects which are 
used for general purpose programming
 
5
Srinivas
 
 
Answer
there are 3 main differences between sp and function.
1 sp takes input,output parameters, function takes only 
input parameters.
2 temparary variables required to store return values of 
sp. in functions temparary variables will be optinale.
3 sp can not be called directly into DML statements , 
functions can be called directly into DML statements.
 
3
Vijayabhaskarreddy
 
 
Answer
Stored procedure have the security and reduce the network
traffic.
and also we can call stored procedure in any no.of
applications at a time.
 
4
Ugandhar
 
 
Answer
SP return a single result-set,
SP works with table variables,
SP uses EXEC stmts
 
0
Bhupi
 
 
Question
How do we get current date in SQL Server 2000, Oracle, MS
Access?
Rank Answer Posted By  
 Question Submitted By :: Honeysukumar
I also faced this Question!!   © ALL Interview .com
Answer
SELECT GETDATE() AS 'Current Date'
GO
 
2
Lrk
 
 
Answer
i donot abt the SQLserver2000and MSaccess.But in ORACLE we 
get current date by following SQLstmt:
SELECT sysdate() FROM DUAL;
 
3
Nikita
 
 
Answer
we use getdate()in SQL server to view current date and in 
oracle we use sysdate().
 
5
Sridhar Kumar Nelanti
 
 
Answer
In Access We USE 'Select Date()'
In Sql server 2000 'Select getdate()'
In Oracle 'Select SysDate() from dual'
 
5
Rajiv Rohilla
 
 
Answer
In Access 'Select date()'
In Oracle 9i 'Select Sysdate from dual;'
In SQL Server 2000 'Select Getdate()'
 
3
Selvaraj.v
 
 
Answer
This command is not working, I transferred MySQL database 
to SQL Server 2000 database.

Please tell me the actual command to use
 
0
Suhel
 
 
Answer
To display current systems date
 
 DateTime.Now
 
0
Swetha
 
 
Answer
select getdate(); in sql server 2000
 
0
Jayesh L Lolariya
 
 
Answer
slect TO-CHAR(syssdate,'dd-mm-yy h:mipm') from dual; this is
oracle query..
 
0
Abhirams
 
 
Answer
select date() does not work in Access 97.
 
0
Smithers
 
 
Question
What are the magic tables in SQL Server 2000?
Rank Answer Posted By  
 Question Submitted By :: Honeysukumar
This Interview Question Asked @   Infogain , Merrill Lynch
I also faced this Question!!   © ALL Interview .com
Answer
The INSERTED and DELETED tables, popularly known as MAGIC 
TABLES, and update () and columns_updated() functions can 
be used to determine the changes being caused by the DML 
statements.
Note that the Magic Table does not contain the information 
about the columns of the data-type text, ntext, or image. 
Attempting to access these columns will cause an error.
 
0
Kirti Kumar Agarwal
 
 
Answer
While using triggers these Inserted & Deleted tables 
(called as magic tables) will be created automatically. 

When we insert any record then that record will be added 
into this Inserted table initially, similarly while 
updating a record a new entry will be inserted into 
Inserted table & old value will be inserted into Deleted 
table.

In the case of deletion of a record then it will insert 
that record in the Deleted table
 
0
Maya
 
 
Answer
wen we are performing DML operations into table . amagic 
table created in the memory.
inserted  magic table 
deleted magic table 
update magic table
 
0
Vijayabhaskarreddy
 
 
Answer
is there any new table named "update magic table"???
 
0
Kuber
 
 
Answer
NO THERE IS NO UPDATED MAGIC TABLE

only 2 magic tables

- INSERTED
- DELETED

in case of an Update operation the original row is stored in
the DELETED table and the new row is saved in the INSERTED table
 
0
Jerry Joseph
 
 
Question
How do we return a record set from a Stored Procedure in SQl
server 2000?
Rank Answer Posted By  
 Question Submitted By :: Honeysukumar
I also faced this Question!!   © ALL Interview .com
Answer
Select  select_list from my_tabel
 
0
Sd
 
 
Answer
SQL Server stored procedures can return multiple record 
sets. The following is an example:

CREATE PROCEDURE procCustomerGet
@CustomerID VarChar(5)
AS
     SELECT * FROM Customers
	   WHERE CustomerID = 
           @CustomerID
     SELECT * FROM Orders
           WHERE CustomerID =
           @CustomerID
 
0
Madhu
 
 
 
Back to Questions Page
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com