Useful tips for everyday
What is dimension table in star schema? A dimension table is a table in a star schema of a data warehouse. A dimension table stores…
How do you SELECT all records that are 10 minutes within a timestamp in MySQL? SELECT col1, col2, col3 FROM table WHERE DATE_ADD(last_seen, INTERVAL 10…
How do you transpose rows to columns? Transpose (rotate) data from rows to columns or vice versa Select the range of data you want to…
What is Oracle database schema name? A schemaName represents a schema. Schemas contain other dictionary objects, such as tables and indexes. You can explicitly create…
How are data models used in database design? A data model helps design the database at the conceptual, physical and logical levels. Data Model structure…
What is the default SQL Server instance name? MSSQLSERVER The default instance actually has an instance name. It’s MSSQLSERVER. How do you find if the…
How does MongoDB maintain data consistency? How does MongoDB ensure consistency? MongoDB is consistent by default: reads and writes are issued to the primary member…
How do I check tempdb space on Azure SQL Server? — Determining the Amount of Space Used / free SELECT [Source] = ‘database_files’ ,[TEMPDB_max_size_MB] =…
How do I fix long running queries in Oracle? Step by Step: How to troubleshoot a slow running query in Oracle Step 1 – Find…
Can a subquery return multiple values? Multiple-row subqueries are nested queries that can return more than one row of results to the parent query. Multiple-row…