Tagged articles
19 articles
Page 1 of 1
Ray's Galactic Tech
Ray's Galactic Tech
Nov 27, 2025 · Databases

Why Implicit Type Conversion Breaks Indexes and How to Fix It

This article explains how implicit type conversion can silently invalidate database indexes, outlines the underlying rules and type‑precedence logic, provides real‑world MySQL examples, shows how to detect the issue with EXPLAIN, and offers concrete best‑practice solutions.

Implicit ConversionIndex OptimizationSQL
0 likes · 10 min read
Why Implicit Type Conversion Breaks Indexes and How to Fix It
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 3, 2024 · Frontend Development

Explicit and Implicit Type Conversion in JavaScript and the Use of Boolean

This article explains JavaScript's explicit and implicit type conversions, demonstrates how to use constructors and methods like String(), Number(), Boolean(), toString(), parseInt(), details falsy and truthy values, and shows practical applications of Boolean in conditional statements, array filtering, and TypeScript.

Explicit ConversionImplicit ConversionJavaScript
0 likes · 7 min read
Explicit and Implicit Type Conversion in JavaScript and the Use of Boolean
大转转FE
大转转FE
Aug 2, 2024 · Fundamentals

JavaScript Implicit Type Conversions You Didn't Know

This article examines JavaScript’s implicit type conversion mechanisms, illustrating a quirky yet functional code example, detailing conversion rules for symbols, objects, arrays, numbers, booleans, and undefined/null, and highlighting common pitfalls and practical coding tricks.

Implicit ConversionJSFuckJavaScript
0 likes · 11 min read
JavaScript Implicit Type Conversions You Didn't Know
ITPUB
ITPUB
Jun 30, 2024 · Databases

How Implicit Type Conversion Can Kill PostgreSQL Query Performance by 10,000×

This article explains how implicit type conversions in PostgreSQL can cause index loss, drastically misestimate row counts, and force inefficient join strategies, illustrating the issue with concrete examples, detailed execution plans, and step‑by‑step optimizations that restore index usage and boost performance thousands of times.

Implicit ConversionIndex OptimizationPostgreSQL
0 likes · 13 min read
How Implicit Type Conversion Can Kill PostgreSQL Query Performance by 10,000×
Wukong Talks Architecture
Wukong Talks Architecture
Nov 4, 2022 · Databases

Understanding MySQL Implicit Type Conversion and Its Pitfalls

This article explains how MySQL performs implicit type conversion during queries, demonstrates the unexpected results caused by joining mismatched column types, outlines the conversion rules, and provides practical tips to avoid performance degradation and incorrect data retrieval.

Implicit ConversionSQLmysql
0 likes · 10 min read
Understanding MySQL Implicit Type Conversion and Its Pitfalls
Top Architect
Top Architect
Jul 5, 2021 · Databases

MySQL Implicit Type Conversion Leads to Unexpected Query Results

This article explains how MySQL implicitly converts mismatched column types—such as comparing a VARCHAR column with a numeric literal—into floating‑point numbers, causing seemingly equal values to match, losing index usage, and potentially producing incorrect query results.

Implicit ConversionIndex Usagefloating-point
0 likes · 7 min read
MySQL Implicit Type Conversion Leads to Unexpected Query Results
Efficient Ops
Efficient Ops
Jun 14, 2021 · Databases

Why Misplaced Quotes in MySQL UPDATE Can Turn All Values to Zero

This article examines how misplaced quotation marks in MySQL UPDATE statements can unintentionally set fields to zero, explains MySQL’s implicit type conversion that causes the condition to always evaluate true, and offers practical steps for detecting and preventing such bugs.

Data RecoveryImplicit ConversionSQL
0 likes · 6 min read
Why Misplaced Quotes in MySQL UPDATE Can Turn All Values to Zero
Programmer DD
Programmer DD
Jun 7, 2021 · Databases

Why Misplaced Quotes Turn MySQL UPDATE Results into Zero

This article explains how incorrect placement of quotation marks in MySQL UPDATE statements can cause the SET values to be evaluated as boolean expressions, leading to implicit type conversion that updates fields to zero, and offers practical steps to prevent such errors.

Database ErrorsImplicit ConversionQuotation Marks
0 likes · 5 min read
Why Misplaced Quotes Turn MySQL UPDATE Results into Zero
MaGe Linux Operations
MaGe Linux Operations
May 31, 2021 · Databases

Why Misplaced Quotes in MySQL UPDATE Can Zero Out Your Data

A developer’s production fix using dozens of UPDATE statements unintentionally set a column to zero because of misplaced quotation marks, illustrating how MySQL’s implicit conversion and syntax quirks can turn seemingly correct SQL into disastrous data loss.

Data RecoveryImplicit ConversionSQL
0 likes · 6 min read
Why Misplaced Quotes in MySQL UPDATE Can Zero Out Your Data
Java Backend Technology
Java Backend Technology
Feb 23, 2021 · Databases

Why Misplaced Quotes Turn MySQL Updates into Zeroes – A Deep Dive

This article explains how incorrectly placed double‑quotation marks in MySQL UPDATE and SELECT statements cause implicit type conversion, turning intended string assignments into zero values and making WHERE clauses always true, leading to massive data corruption and unexpected query results.

Data CorruptionImplicit ConversionQuotation Marks
0 likes · 7 min read
Why Misplaced Quotes Turn MySQL Updates into Zeroes – A Deep Dive
macrozheng
macrozheng
Jan 22, 2021 · Databases

Why Misplaced Double Quotes Turn MySQL Updates Into Zeroes

A developer’s production update accidentally set every row’s source_name to 0 because misplaced double‑quotation marks altered the SQL semantics, and the article explains how MySQL interprets such malformed statements and how to recover the data.

Database DebuggingImplicit ConversionQuotation Marks
0 likes · 6 min read
Why Misplaced Double Quotes Turn MySQL Updates Into Zeroes
ITPUB
ITPUB
Dec 21, 2018 · Databases

Why Misplaced Double Quotes Turn MySQL UPDATE Results into Zero

A developer ran a series of UPDATE statements that appeared correct, but due to misplaced double‑quotation marks the WHERE clause was parsed incorrectly, causing every row's column to be set to 0; the article explains MySQL's expression evaluation, shows binlog analysis, and offers practical debugging tips.

DebuggingImplicit ConversionSQL
0 likes · 7 min read
Why Misplaced Double Quotes Turn MySQL UPDATE Results into Zero
Qunar Tech Salon
Qunar Tech Salon
May 10, 2018 · Frontend Development

Understanding JavaScript Type Coercion: Implicit and Explicit Conversions

This article explains JavaScript's type coercion mechanisms, covering both implicit and explicit conversions for strings, numbers, booleans, objects, and symbols, and demonstrates how abstract operations like ToPrimitive, ToString, ToNumber, and ToBoolean affect runtime behavior.

ES5Explicit ConversionImplicit Conversion
0 likes · 17 min read
Understanding JavaScript Type Coercion: Implicit and Explicit Conversions