Top 250 Database Management Interview Questions and Answers
Updated 12 Jul 2025

Asked in Zoho

Q. When a row in a table is modified, how can you reflect those changes in another related table?
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
Asked in Lemongrass Consulting

Q. Why is the SYSTEM user important in SAP HANA?
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

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
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

Q. How can you populate the manager field using server-side code?
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

Asked in Capital Foods

Q. What methods are used for isolation?
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

Q. What is a provider in SSIS?
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

Asked in Tech Mahindra

Q. What migration issues are commonly encountered when migrating from SharePoint on-premises to online?
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
Asked in KNACKBOUT STUDIO

Q. How would you create a website with a MySQL database?
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

Q. How did you ensure data integrity during the migration?
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

Q. What is the difference between SAP HANA and ECC?
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




Asked in Applied Materials

Q. What actions would you take if we encountered performance issues after migration?
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

Asked in Paytm Payments Bank

Q. Design the data model and flow for IRCTC.
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

Q. How do you perform data migration?
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
Asked in Lemongrass Consulting

Q. Until what progress or process can the SUM be reset?
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

Asked in Virtusa Consulting Services

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

Asked in Northern Trust

Q. What is your experience with API integration in Thoughtspot?
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

Q. What is the difference between the code-first and database-first approaches?
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

Q. What is the difference between a physical file and a logical file?
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

Q. How do you handle distributor business and an extended sales force team?
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
Asked in The Fat Little Penguin

Q. How do you manage clients, orders, and events?
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
Asked in Mala Constructions

Q. How do you calculate column overlap?
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

Q. What is Oracle Fusion?
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

Asked in Clarion Technologies

Q. How do you use transactions in EF Core?
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

Asked in Prophoenix Technologies

Q. What are the different types of execution processes in ADO.NET?
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

Q. What are the differences between SAP ECC and SAP HANA?
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

Q. What is an audit trail and how do you archive it?
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

Q. How can you recover deleted datafiles if backups are not available?
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
Asked in Lemongrass Consulting

Q. What methods can be used for Homogenous and Heterogenous System Copy?
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

Q. How do we create a custom job step?
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

Q. How do you upload a large volume of data in SAP?
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
Top Interview Questions for Related Skills
Interview Experiences of Popular Companies










Interview Questions of Database Management Related Designations



Reviews
Interviews
Salaries
Users

