GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Database  >  Database Admin
Go To First  |  Previous Question  |  Next Question 
 Database Admin  |  Question 32 of 73    Print  

  • During a full database restore, you have a power outage and the restore fails after running for 6 hours out of an estimated 7 hours to complete. What would you do when power is restored to recover the database in the most effective way?
     

  • Re-write this query so it will use the index on the Datecreated column. (1)

    SELECT * FROM order_header
    WHERE DateDiff(hh,Datecreated,getdate()) < 2
    SELECT * FROM order_header
    WHERE DateDiff < 2
     

  • Your clustered SQL Server 2000 production database supports a busy 24/7 web site. Your 24/7 support team reports 2 short periods during the night when ‘SQL Server not found or access denied’ messages were generated from the middle tier of your application and web page access suffered as a result. You suspect that the cluster failed over twice during the night. How would you confirm this?
     

  • A server has 8GB ram installed but performance monitor reports SQL Server is using only 2GB. What settings must be changed from default for SQL Server to be able to address all of the memory?
     

  • What tool could be used for tracking the occurrences of SQL server exceptions including the error message text, database name, date/time etc over a 12 hour period?
     

  • A query using large tables used to run in 2 mins, is now taking over 15 mins to run, how would you investigate what is causing this and how would you fix it?
     

  • On inspecting you SQL Server Error Log you notice a large number of deadlock errors. What would you do to troubleshoot these errors?
     

  • Where would you expect to use the syntax ‘DEFAULT VALUES’?
     

  • Other than a result set, name 2 methods for returning a value from a stored procedure?
     

  • What is wrong with the syntax below?

    CREATE PROC usp_ExtractOrderNumbers
    @StartDate datetime = GETDATE() - 1,
    @EndDate datetime = GETDATE()
    AS
    SELECT OrderID, OrderNum
    FROM tbl_Orders
    WHERE OrderDate between @StartDate and @EndDate
     

  • In the Bulk Logged recovery model, what is written to the transaction log during a SELECT INTO operation?
     


  
Total Answers and Comments: 0 Last Update: May 15, 2007     Asked by: highvoltage 
  
 Sponsored Links

 

No answers are posted for this question yet.
Be the first to answer it!


 Related Questions

Latest Answer : send me questions about databases and certifications tools of databases oracle sqlserver please ...

Latest Answer : No it isn't.  If you are going to select most of the entries then you will have to read through the entire table anyway.  Forcing the use of an index will just be an extra overhead. ...

Latest Answer : exceptions can be handled in various ways in the stored procedures. Method (1) could be using EXCEPTION block in the procedure within which use WHEN THEN. Method (2) could be declare a variable in DECLARE section as EXCEPTION type, ...

Latest Answer : As a dba if you want such info. from your database side.You issue following command from server end.   select owner,table_name,tablespace_name from dba_tables or if you need some specific user info. issue   select owner, table_name ,tablespace_name ...

I currently can't see my custom SQL views from IDS9 in MS Access when I want to link the table to an Access DB which is used for integration.IDS runs on SuSE9, MS Access 2K on XP.

Latest Answer : Lookup tables are like constraints which hold a value.  The content in the lookup tables dosen't change often, hence refered as lookup (reference). Example : Countries table Countries are not added on regular bases hence one can consider the table ...

Latest Answer : buffer busy wait is the condition in which oracle server has to wait to access the segment header block for the table on which concurrent insert or delete operation r to be done.the segment header block contains control info including header link for ...
Read Answers (1) | Asked by : nutan.b.h

Latest Answer : hi,create role in database with proper permission. then assign that role to the user. This is the simplest method to implement secuirty in database. ...
Read Answers (4) | Asked by : punitdba

What is the differences between DBMS & RDBMS? What is the differences between Oracle & MS Access?
Read Answers (3) | Asked by : k.rajkumar
Tags : RDBMS, DBMS

Latest Answer : A Transaction is a logical unit of work that comprised one or more sql statements. where as  scn is system change number, When a transaction commits  a scn will be generated. ...
Read Answers (2) | Asked by : SUMIT


 Sponsored Links

 
Related Articles

Business Intelligence Key Performance Indicators

Business Intelligence Key Performance Indicators What are Key Performance Indicators Key Performance Indicators are also known as Key Success Indicators they help an organization to better define and measure their progress toward professional goals Once an organization has clearly identified its nee
 

Using XMLType for Handling XML Data in the Database

Using XMLType for Handling XML Data in the Database Being an object type XMLType can not only be used to store XML data in the database but also to operate on that data via its built in methods Regardless of the storage model you choose XMLType provides a set of XML specific methods to operate on XM
 

Using Oracle Database for Storing, Modifying, and Retrieving XML Data

Using Oracle Database for Storing Modifying and Retrieving XML Data With Oracle XML DB you have various XML storage and XML processing options allowing you to achieve the required level of performance and scalability One of the most interesting things about Oracle XML DB is that it allows you to per
 

Performing XSLT Transformations inside the Database

Performing XSLT Transformations inside the Database Now that you have the employees XSL stylesheet stored in the database and the xmlusr schema is permitted to access the hr employees table you can create a script that will instruct the database to build an HTML page based on the data stored in hr e
 

Business Performance Management

Business Performance Management What is Business Performance Management Business Performance Management is most commonly described as a set of processes that help companies or organizations optimize their business performance It is specifically designed to organize automate and analyze business meth
 

Moving All the XML Processing into the Database

Moving All the XML Processing into the Database In the preceding example the database server performs only a part of the XML processing while the rest is still performed by the PHP engine Specifically the database server generates an employees XML document based on the records from the hr employees
 

Performing XML Processing inside the Database

Performing XML Processing inside the Database When building XML enabled applications on top of Oracle there are many advantages to performing the XML processing inside the database when compared to performing it on the client The key advantages to perform XML processing inside the database are as fo
 

ODP.NET - Techniques to Improve Performance while Retrieving Data

ODP NET Techniques to Improve Performance while Retrieving Data Performance tuning is a great subject in Oracle Volumes of books would not be enough to cover every aspect of performance tuning in Oracle However in this section we will only discuss the fundamental performance techniques while working
 

SQL Server 2005 Integration Services Review

SQL Server 2005 Integration Services using Visual Studio 2005 A Beginner s Guide SQL Server 2005 A offering of Microsoft Corporation for database management the SQL server 2005 is one of the powerful database management systems in the world Available for integration in almost any system that uses Mi
 

SQL Server Integration Services

SQL Server Integration Services Here is a sample chapter from Beginners Guide to SQL Server Integration Services Using Visual Studio 2005 by Jayaram Krishnaswamy Environment set up for Visual Studio 2005 with respect to SSIS and multiple tasking Connecting to Microsoft Access Text Files Excel S
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2010 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape