#

databases

Database management and SQL technologies

DatabasesSort SSRS Stacked Bars by Series Count with Consistent Legend

Learn how to sort stacked bars in SSRS by series count within each category while maintaining legend consistency using SQL window functions and SSRS properties.

2 answers• 2 views
DatabasesDocker MongoDB Heartbeat Failures: Node.js Driver Configuration

Troubleshooting MongoDB Node.js driver heartbeat failures in Docker environments. Learn about replica set discovery, rs.conf() configuration, and stable connection strategies.

4 answers• 2 views
DatabasesSQL CREATE TABLE Regex for ON CONFLICT and AUTOINCREMENT

Learn how to create regex patterns matching all combinations of ON CONFLICT and AUTOINCREMENT clauses in SQL CREATE TABLE statements across different databases.

4 answers• 2 views
ProgrammingPractical Programming Project Ideas for University Assignments

Explore innovative programming project ideas for university assignments that solve everyday problems on computers and mobile devices.

6 answers• 3 views
DatabasesEmbedded SQL Engines with PostgreSQL Compatibility

Learn how embedded databases like DuckDB and SQLite support PostgreSQL syntax without a full server. Explore implementation approaches and feasibility.

5 answers• 3 views
DatabasesCapturing PostgreSQL RAISE NOTICE Messages During Execution with pyodbc

Learn how to capture RAISE NOTICE messages from PostgreSQL stored procedures during execution using pyodbc, with real-time message handling techniques and code examples.

4 answers• 3 views
DatabasesScalable CDC Architecture for Oracle Data Lake with AWS DMS

Learn how to implement a scalable CDC architecture using AWS DMS to migrate Oracle data to a Medallion data lake with Apache Iceberg on S3 and AWS Glue processing.

4 answers• 4 views
DatabasesMicrosoft Access SQL Dynamic Table Selection Query

Learn how to write Microsoft Access SQL queries that select values from different tables based on reference columns. Use UNION, CASE expressions, or VBA for dynamic table selection.

4 answers• 3 views
DatabasesView Live MySQL Queries on Linux: Real-time Monitoring Guide

Learn how to view live MySQL queries on Linux using mysql show processlist, performance schema, and query logging. Monitor database activity in real-time for optimization and troubleshooting.

1 answer• 6 views
DatabasesElasticsearch match_all Query: Correct URL Syntax

Learn the correct elasticsearch query URL syntax to retrieve all records using match_all query. Fix common issues with Lucene syntax and JSON body approaches.

1 answer• 5 views
DatabasesMariaDB 1020 Error in Python Script After 11.8.3 Upgrade

Discover why MariaDB error 1020 ('Record has changed since last read') hits Python scripts post-upgrade to 11.8.3 due to innodb_snapshot_isolation=ON. Learn causes, repro steps, and fixes like session settings or retries for read-write-read patterns.

1 answer• 5 views
DatabasesPostgreSQL Case Insensitive Queries with ILIKE

Learn how to make PostgreSQL queries case-insensitive using ILIKE operator, LOWER/UPPER functions, citext extension, and indexing for optimal performance. Ensure 'administrator', 'ADMINISTRATOR', and 'Administrator' return identical results.

1 answer• 4 views
DatabasesHow to Shrink SQL Server Transaction Log Safely

Learn how to clear or shrink oversized SQL Server transaction log for test databases. Step-by-step guide: switch to simple recovery model, backup log, DBCC SHRINKFILE, best practices to reduce transaction log size without data loss.

1 answer• 4 views
DatabasesMySQL INT(11): Storage Size in Bytes & Max Value

Discover the storage size of MySQL INT(11) column: always 4 bytes. Max signed value is 2,147,483,647; unsigned reaches 4,294,967,295. Learn why (11) doesn't affect storage or range, with official docs and best practices.

1 answer• 7 views
DatabasesSQLite3 Column Names: Retrieve Table Columns Easily

Learn how to retrieve column names in SQLite3 databases using PRAGMA table_info, sqlite_master, and programmatic methods. Perfect for iPhone app migrations and schema validation.

1 answer• 6 views
DatabasesIntegrated Security True vs SSPI: Database Connection Differences

Learn the differences between Integrated Security=True and SSPI in database connections. Understand provider compatibility, security implications, and when to use each option for optimal database authentication.

1 answer• 6 views
DatabasesEnable IDENTITY_INSERT SQL Server 2008: Fix Insert Error

Learn how to properly set IDENTITY_INSERT ON/OFF in SQL Server 2008 to avoid 'Cannot insert explicit value for identity column' error. SSMS guide, app code examples, session-specific tips, and troubleshooting for Baskets table.

1 answer• 5 views
DatabasesFix PostgreSQL 'Could Not Connect to Server' on macOS Homebrew

Resolve PostgreSQL 'could not connect to server: No such file or directory' error on macOS Mountain Lion with Homebrew 0.9.3. Fix stale PID, sockets (/tmp/.s.PGSQL.5432, /var/pgsql_socket), launchctl, and Rails rake db:migrate issues step-by-step.

1 answer• 4 views
DatabasesQuickest Way to Copy PostgreSQL DB from Prod to Dev

Learn the fastest methods to copy a PostgreSQL database from production to development using pg_dump, pg_restore piping, pg_basebackup, and pgcopydb. Step-by-step guides, best practices for speed, security, and automation.

1 answer• 7 views
ProgrammingPractical Differences Between JPA 2 and Hibernate

Discover key practical differences between JPA 2 (specification) and Hibernate (implementation). Can you use JPA alone? Provider requirements, benefits of JPA + Hibernate, and book recommendations for iBatis users transitioning to ORM.

1 answer• 3 views