-
MY PROJECTS
-
Recent Posts
- SQL.How can you compare two nullable values safely, and how does IS DISTINCT FROM differ from <>?
- SQL.How are NULL values ordered by ORDER BY, how do defaults differ between databases, and how can you control their placement?
- SQL.How does NULL propagate through arithmetic expressions, and how can COALESCE and NULLIF help handle missing values and division by zero?
- SQL.How does NULL affect join conditions, and why can filtering the right-hand table in WHERE remove unmatched rows from a LEFT JOIN?
- SQL.How do GROUP BY and DISTINCT treat NULL values, even though NULL = NULL evaluates to UNKNOWN?
- SQL.How do aggregate functions handle NULL, and what is the difference between COUNT(*), COUNT(column), and COUNT(DISTINCT column)?
- SQL.How does NULL affect IN and NOT IN, and why can NOT EXISTS be a safer choice when a subquery returns nullable values?
- SQL.How do WHERE, HAVING, and CHECK constraints treat conditions that evaluate to UNKNOWN?
- SQL.Why do column = NULL and column <> NULL not work as expected, and when should you use IS NULL and IS NOT NULL?
- SQL.What is SQL’s three-valued logic (TRUE, FALSE, UNKNOWN), and how do AND, OR, and NOT behave with UNKNOWN?
- ChromeDevTools.Watch all failed requests
- SQL.What are domain types (or constraints on data types), and how do they help enforce data correctness?
- SQL.How does SQL handle comparisons between different data types (for example, string vs number), and why is this dangerous?
- SQL.What is the difference between DATE, TIME, TIMESTAMP, and TIMESTAMPTZ, and which one should be used for business events?
- SQL.How do numeric types like INTEGER, BIGINT, DECIMAL, and FLOAT differ in terms of precision and use cases?
- SQL.What problems can arise from implicit type casting in SQL, and how can it affect indexes?
- SQL.How does NULL differ from 0, an empty string, or FALSE in SQL?
- SQL.What is the difference between CHAR, VARCHAR, and TEXT, and when would you choose each?
- SQL.What is MVCC ?
- SQL.What is AutoVacuum Postgres ?
Categories
- Aptana
- Azure
- C#
- DataSnap
- DBExpress
- Delphi
- Delphi и сети
- Delphi. Язык программирования
- ExtJS
- FastReport
- FireDAC
- FireMonkey
- GIT
- ICS
- IDE
- IIS
- Indy
- InnoSetup
- javascript
- jQuery
- JSON
- LiveBindings
- MSHTML
- MySQL
- PHP
- REST
- Ribbons
- SMS
- SQL инструкции
- SVN
- TRichView
- UniGui
- WebBroker
- WinAPI
- Windows
- Алгоритмы
- Без рубрики
- Деревья
- Ищу ответ
- Компонентостроение
- Мои компоненты
- Начальный уровень
- Обработка исключений
- Парсинг
- Потоки(Threads)
- Регулярные выражения
- Тестирование приложений
Category Archives: Без рубрики
Java.DBMigrationTools.What are the risks of using auto-generated migrations?
Core risk (one sentence) Auto-generated migrations encode what the tool sees, not what the business or production system actually needs. Now the details interviewers expect 👇 1️⃣ Destructive changes sneak in silently (BIGGEST risk) Auto tools often generate things like: … Continue reading
Posted in Без рубрики
Comments Off on Java.DBMigrationTools.What are the risks of using auto-generated migrations?
Java.DBMigrationTools.How do migration tools ensure migrations run in the correct order?
Core idea (common to all tools) Migration tools ensure order by keeping a metadata table in the database itself. That table records: which migrations ran in what order when with what checksum So ordering is DB-driven, not “file-system magic”. Flyway: … Continue reading
Posted in Без рубрики
Comments Off on Java.DBMigrationTools.How do migration tools ensure migrations run in the correct order?
Java.DBMigrationTools.Give me an example where undo fails when data changed
Scenario: adding a status column with default + app starts writing it Step 1 — Migration V12__add_status.sql Step 2 — App release (same deploy window) New app version starts doing: writes status=’PAID’ | ‘CANCELLED’ queries: WHERE status IN (‘PAID’,’NEW’) Kafka … Continue reading
Posted in Без рубрики
Comments Off on Java.DBMigrationTools.Give me an example where undo fails when data changed
Java.DBMigrationTools.What are the pros and cons of using Liquibase vs Flyway?
Liquibase vs Flyway — Big Picture Aspect Liquibase Flyway Philosophy Declarative, metadata-driven Simple, versioned SQL Learning curve Steeper Very low Migration format XML / YAML / JSON / SQL SQL (primary), Java Rollbacks First-class, explicit Limited (mostly manual) DB-agnostic Strong … Continue reading
Posted in Без рубрики
Comments Off on Java.DBMigrationTools.What are the pros and cons of using Liquibase vs Flyway?
Java.DBMigrationTools.What file should you ignore in version control (e.g., .gitignore) when using migration tools?
This is a discipline question. Interviewers want to see that you understand what is source of truth vs runtime state. Short interview answer (what to say) “You should never commit migration runtime state or generated artifacts—only migration definitions. That means … Continue reading
Posted in Без рубрики
Comments Off on Java.DBMigrationTools.What file should you ignore in version control (e.g., .gitignore) when using migration tools?
Java.DBMigrationTools.What IDEs support integration with migration tools?
This is usually a practical tooling question. Interviewers want to know whether you’ve actually worked with migrations day-to-day. Short interview answer (safe & senior) “Most popular IDEs support Flyway and Liquibase either natively or via plugins—especially IntelliJ IDEA, DataGrip, Eclipse, … Continue reading
Posted in Без рубрики
Comments Off on Java.DBMigrationTools.What IDEs support integration with migration tools?
Java.DBMigrationTools.How can you share migration history with your team?
Short interview answer (30 seconds) “Migration history is shared by treating migrations as code in Git, reviewing them via pull requests, and relying on the database’s schema history tables maintained by tools like Flyway or Liquibase. Additionally, we expose the … Continue reading
Posted in Без рубрики
Comments Off on Java.DBMigrationTools.How can you share migration history with your team?
Java.DBMigrationTools.How do you prevent accidental data loss during migration?
Interview-ready answer (30s) “I prevent data loss by using expand–migrate–contract, making destructive changes a separate, delayed step, validating with preconditions/checks, keeping migrations idempotent and small, taking backups/snapshots before risky steps, and running migrations in staging with production-like data and verification … Continue reading
Posted in Без рубрики
Comments Off on Java.DBMigrationTools.How do you prevent accidental data loss during migration?
Java.DBMigrationTools.What are common errors when using migration tools?
Short interview answer (what to say first) “The most common errors are editing applied migrations, running long data updates during deployment, non-idempotent scripts, relying on rollbacks in production, and environment drift caused by manual DB changes.” That alone already signals … Continue reading
Posted in Без рубрики
Comments Off on Java.DBMigrationTools.What are common errors when using migration tools?
Java.DBMigrationTools.Are Liquibase and Flyway free?
Yes — both Liquibase and Flyway have free versions, but with important differences that interviewers expect you to know. Short interview answer (clean) “Both Liquibase and Flyway are free at the core level. Flyway’s Community Edition covers most common use … Continue reading
Posted in Без рубрики
Comments Off on Java.DBMigrationTools.Are Liquibase and Flyway free?