SQL (Structured Query Language) Interview Questions and Answers

SQL Questions and Answers:

1 :: How do you generate file output from SQL?

By use of the SPOOL command
2.5/5 Rating (2 votes)
Is This Answer Correct?    8 Yes 6 No
Place Your Answer

2 :: How do you prevent Oracle from giving you informational messages during and after a SQL statement execution?

The SET options FEEDBACK and VERIFY can be set to OFF.
4/5 Rating (1 vote)
Is This Answer Correct?    4 Yes 3 No
Place Your Answer

3 :: How do you prevent output from coming to the screen?

The SET option TERMOUT controls output to the screen. Setting TERMOUT OFF turns off screen output. This option can be shortened to TERM.
3/5 Rating (1 vote)
Is This Answer Correct?    2 Yes 2 No
Place Your Answer

4 :: How do you set the number of lines on a page of output? The width?

The SET command in SQLPLUS is used to control the number of lines generated per page and the width of those lines, for example SET PAGESIZE 60 LINESIZE 80 will generate reports that are 60 lines long with a line width of 80 characters. The PAGESIZE and LINESIZE options can be shortened to PAGES and LINES.
4/5 Rating (1 vote)
Is This Answer Correct?    4 Yes 1 No
Place Your Answer

5 :: What is explain plan and how is it used?

The EXPLAIN PLAN command is a tool to tune SQL statements. To use it you must have an explain_table generated in the user you are running the explain plan for. This is created using the utlxplan.sql script. Once the explain plan table exists you run the explain plan command giving as its argument the SQL statement to be explained. The explain_plan table is then queried to see the execution plan of the statement. Explain plans can also be run using tkprof.
4/5 Rating (1 vote)
Is This Answer Correct?    3 Yes 0 No
Place Your Answer

Rate This Category:
4.5/5 Rating (2 votes)
Place Your Question



Top: SQL (Structured Query Language) Interview Questions and Answers
SQL (Structured Query Language) Interview Questions and Answers

Top Frequently Asked SQL Question
Frequently Asked SQL Job Interview Question


Top Frequently opened Databases Programming Job Interview categories
Most popular Databases Programming Job Interview categories

Comments About SQL (Structured Query Language) Interview Questions and Answers

Share your valuable opinions, ideas and suggestions about SQL (Structured Query Language) Interview Questions and Answers
While placing your comment your email address is required but won't be published any where else; Personal information will be kept confidential; we do not sell or release our respective visitors private information.
  1. Webmaster 23rd of May 2012

    Webmaster Said

    Tell us what you feel about SQL (Structured Query Language) Interview Questions and Answers
    All comments will be published after review. No login or registration is required to post a comment on SQL (Structured Query Language) Interview Questions and Answers We offer and invite you to submit your valuable comment now; Please be respectful of others when commenting. Insulting others, self-promotional comments, website promotional comments, marketing stuff, SEO Techniques, SMS-style content and off-topic comments will not be approved at this information portal.
    So start sharing your thoughts regarding SQL (Structured Query Language) Interview Questions and Answers
    Thank you.

Leave a Comment

Leave a Comment
  1.  Enter This Verification Code  Regenerate Verification Code  



Your reply will be added to the comment above (Below any other replies to this comment) -

Top Comments About: SQL (Structured Query Language) Interview Questions and Answers
Comments on SQL (Structured Query Language) Interview Questions and Answers

 
Top of Link batk to SQL (Structured Query Language) Interview Questions and Answers
Link batk to SQL (Structured Query Language) Interview Questions and Answers