Top 250 Database Management Interview Questions and Answers

Updated 12 Jul 2025

Asked in Zoho

6d ago

Q. When a row in a table is modified, how can you reflect those changes in another related table?

Ans.

Use triggers to update related table on row modification.

  • Create a trigger on the main table to update the related table

  • Use the UPDATE statement in the trigger to modify the related table

  • Ensure that the trigger is efficient and does not cause performa...read more

1d ago

Q. Why is the SYSTEM user important in SAP HANA?

Ans.

SYSTEM user is important in SAP HANA for performing administrative tasks and managing the system.

  • SYSTEM user has unrestricted access to all system objects and can perform any operation on them.

  • It is used for performing administrative tasks such as cr...read more

Asked in Facebook

3d ago

Q. Merging Accounts Problem

Given a list ACCOUNTS where each element consists of a list of strings, with the first element being the name of the account holder, and the subsequent elements being the email addresses associated with th...read more

Ans.

The task is to merge accounts belonging to the same person based on common emails and return the merged accounts.

  • Iterate through each account and create a mapping of emails to account holders

  • Iterate through the mapping and merge accounts with common ...read more

Asked in Wipro

2d ago

Q. How can you populate the manager field using server-side code?

Ans.

To populate manager using server-side code, you can query the user table and retrieve the manager's details based on the user's ID.

  • Use GlideRecord to query the user table

  • Retrieve the manager's details using the user's ID

  • Set the manager field with the...read more

Are these interview questions helpful?
1d ago

Q. What methods are used for isolation?

Ans.

Various methods are used for isolation, including filtration, centrifugation, and plating.

  • Filtration involves passing a sample through a filter to separate bacteria from other particles.

  • Centrifugation uses high-speed spinning to separate bacteria fro...read more

Asked in Deloitte

2d ago

Q. What is a provider in SSIS?

Ans.

In SSIS, a provider is a software component that allows SSIS to connect to different types of data sources.

  • Providers are used to establish connections to databases, files, and other data sources in SSIS.

  • Examples of providers include OLE DB provider, ...read more

Share interview questions and help millions of jobseekers 🌟
man with laptop
5d ago

Q. What migration issues are commonly encountered when migrating from SharePoint on-premises to online?

Ans.

Migration from SP on-prem to online faces issues related to customization, data loss, and compatibility.

  • Customizations made in on-prem may not be supported in online version

  • Data loss may occur during migration process

  • Compatibility issues may arise du...read more

4d ago

Q. How would you create a website with a MySQL database?

Ans.

Create a website with a MySQL database.

  • Choose a web development framework (e.g., Django, Ruby on Rails)

  • Design the database schema and create the necessary tables

  • Write server-side code to handle HTTP requests and interact with the database

  • Implement us...read more

Asked in Mphasis

5d ago

Q. How did you ensure data integrity during the migration?

Ans.

Ensured data integrity in migration through thorough validation processes and data mapping

  • Implemented data validation checks before and after migration

  • Utilized data mapping techniques to ensure accurate transfer of data

  • Collaborated with stakeholders ...read more

Asked in Accenture

2d ago

Q. What is the difference between SAP HANA and ECC?

Ans.

SAP HANA is an in-memory database platform for real-time analytics and applications, while ECC (Enterprise Central Component) is a traditional ERP system.

  • SAP HANA is an in-memory database platform, providing real-time data processing and analytics.

  • EC...read more

Database Management Jobs

HILTON logo
Assistant Manager Events 1-5 years
HILTON
4.2
Jaipur
Marriott logo
Executive Assistant To GM 2-4 years
Marriott
4.1
Hubli
SANOFI HEALTHCARE INDIA PRIVATE LIMITED logo
R&D Project Manager 10-10 years
SANOFI HEALTHCARE INDIA PRIVATE LIMITED
4.1
Hyderabad / Secunderabad
1d ago

Q. What actions would you take if we encountered performance issues after migration?

Ans.

I would analyze the performance issue and take appropriate actions to resolve it.

  • Identify the specific performance issue and gather relevant data

  • Analyze the database configuration and settings

  • Review the migration process and identify any potential is...read more

5d ago

Q. Design the data model and flow for IRCTC.

Ans.

Design data modelling and flow for IRCTC.

  • Identify entities like trains, stations, passengers, bookings, payments, etc.

  • Create a database schema with tables for each entity and their attributes.

  • Establish relationships between tables using foreign keys....read more

Asked in FRND

5d ago

Q. How do you perform data migration?

Ans.

Data migration involves transferring data from one system to another while ensuring data integrity and minimizing downtime.

  • Plan the migration process including identifying data to be migrated, mapping data fields, and setting up a timeline.

  • Backup all...read more

5d ago

Q. Until what progress or process can the SUM be reset?

Ans.

The SUM can be reset until the start of the execution phase.

  • SUM (Software Update Manager) can be reset until the execution phase starts.

  • Once the execution phase starts, the SUM cannot be reset.

  • Resetting the SUM deletes all the logs and data collected...read more

Q. How do you create an immutable class in Hibernate?
Ans.

To create an immutable class in Hibernate, use final keyword for class, make fields private and provide only getters.

  • Use the final keyword for the class to prevent subclassing

  • Make fields private to restrict direct access

  • Provide only getters for the f...read more

6d ago

Q. What is your experience with API integration in Thoughtspot?

Ans.

I have extensive experience with API integration in Thoughtspot.

  • Developed custom API integrations to pull data from external sources into Thoughtspot

  • Utilized Thoughtspot's REST API to automate data loading and report generation

  • Worked closely with IT ...read more

Asked in Marlabs

1d ago

Q. What is the difference between the code-first and database-first approaches?

Ans.

Code first approach involves creating the database schema based on the code, while database first approach involves creating the code based on an existing database schema.

  • Code first approach focuses on defining the entities and their relationships in...read more

Asked in Cognizant

5d ago

Q. What is the difference between a physical file and a logical file?

Ans.

Physical files store data on storage devices, while logical files represent data structures used by applications.

  • Physical files are actual files stored on disk (e.g., .txt, .csv).

  • Logical files are abstract representations used by programs (e.g., data...read more

Asked in Marico

4d ago

Q. How do you handle distributor business and an extended sales force team?

Ans.

To handle DB and extended sales force team, communication, training, and motivation are key.

  • Regular communication with the team to understand their challenges and provide support

  • Provide training to improve their skills and knowledge

  • Motivate the team ...read more

Q. How do you manage clients, orders, and events?

Ans.

Managing client, orders, and events involves effective communication, organization, and coordination.

  • Establish clear communication channels with clients to understand their needs and expectations.

  • Develop a streamlined process for receiving and proces...read more

5d ago

Q. How do you calculate column overlap?

Ans.

Column overlap can be calculated using formula or table provided by codes.

  • Column overlap is the length of overlap between two reinforcing bars in a column.

  • Formula for calculating overlap length is provided by codes such as ACI or BS.

  • Overlap length de...read more

Asked in Mastek

6d ago

Q. What is Oracle Fusion?

Ans.

Oracle Fusion is a cloud-based enterprise resource planning (ERP) software suite.

  • It integrates various business functions such as financial management, human resources, supply chain management, and customer relationship management.

  • It offers a modular...read more

4d ago

Q. How do you use transactions in EF Core?

Ans.

EF Core supports transactions using the DbContext class.

  • Create a new instance of DbContextTransaction using BeginTransaction method of DbContext.

  • Perform database operations within the transaction using SaveChanges method of DbContext.

  • Commit the trans...read more

Q. What are the different types of execution processes in ADO.NET?

Ans.

Different types of execution process in Ado.net include connected and disconnected modes.

  • Connected mode involves opening a connection to the database, executing a command, and closing the connection.

  • Disconnected mode involves using DataAdapters to fi...read more

Asked in PwC

2d ago

Q. What are the differences between SAP ECC and SAP HANA?

Ans.

SAP ECC is the traditional ERP system while SAP HANA is an in-memory database platform.

  • SAP ECC is a traditional ERP system that relies on disk-based databases for data storage.

  • SAP HANA is an in-memory database platform that stores data in RAM for fas...read more

Asked in Pfizer

2d ago

Q. What is an audit trail and how do you archive it?

Ans.

Audit trial is a record of all activities performed on a system. It helps in tracking changes and identifying errors.

  • Audit trial is important for maintaining data integrity and security.

  • It helps in identifying who made changes to the system and when....read more

Asked in Wistron

2d ago

Q. How can you recover deleted datafiles if backups are not available?

Ans.

Recovering deleted datafiles without backup

  • Check if the datafiles are still in the operating system's recycle bin or trash folder

  • Use data recovery software to scan the hard drive for deleted files

  • If the above methods fail, try to recreate the datafil...read more

3d ago

Q. What methods can be used for Homogenous and Heterogenous System Copy?

Ans.

Homogenous system copy can be done using SAPinst tool and Heterogenous system copy can be done using SWPM tool.

  • Homogenous system copy involves copying the SAP system from one host to another with the same operating system and database.

  • SAPinst tool is...read more

Asked in Nagarro

4d ago

Q. How do we create a custom job step?

Ans.

To create a custom job step in Salesforce Commerce Cloud, you can define a custom job step class and configure it in the job XML file.

  • Create a custom job step class by extending the AbstractJobStep class.

  • Implement the execute method in the custom job...read more

Asked in Accenture

5d ago

Q. How do you upload a large volume of data in SAP?

Ans.

Use SAP Data Services or LSMW to upload large volume of data in SAP

  • Use SAP Data Services to extract, transform, and load data into SAP systems

  • Utilize LSMW (Legacy System Migration Workbench) for mass data uploads

  • Split large data files into smaller ch...read more

1
2
3
4
5
6
7
Next

Interview Experiences of Popular Companies

TCS Logo
3.6
 • 11.1k Interviews
Accenture Logo
3.7
 • 8.7k Interviews
Infosys Logo
3.6
 • 7.9k Interviews
Wipro Logo
3.7
 • 6.1k Interviews
Cognizant Logo
3.7
 • 5.9k Interviews
Capgemini Logo
3.7
 • 5.1k Interviews
HCLTech Logo
3.5
 • 4.1k Interviews
LTIMindtree Logo
3.7
 • 3k Interviews
Deloitte Logo
3.7
 • 3k Interviews
IBM Logo
3.9
 • 2.5k Interviews
View all
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories
Database Management Interview Questions
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Trusted by over 1.5 Crore job seekers to find their right fit company
80 Lakh+

Reviews

10L+

Interviews

4 Crore+

Salaries

1.5 Cr+

Users

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2025 Info Edge (India) Ltd.

Follow Us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter
Profile Image
Hello, Guest
AmbitionBox Employee Choice Awards 2025
Winners announced!
awards-icon
Contribute to help millions!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos
Add office benefits
Add office benefits