TATECHATLAS
◎ English
TECHNOLOGY / KNOWLEDGE / PRACTICE

AI, programming, SQL, SAP and mathematics: guides and tips

Materials on AI, Python, Git, SQL, SAP/ERP, statistics and time series: explanations, examples, practical tips, sources and applicability limits.

Latest guides

97-120 / 140 materials

Porting NULL and empty-string semantics across Oracle, SQL Server, MySQL and SQLite

Port NULL handling across Oracle, SQL Server, MySQL and SQLite by fixing four portability points: how a NULL is tested, what a comparison against NULL returns, whether boolean contexts coerce NULL, and what an empty string means. Oracle treats a zero-length character as null but warns this may change, while SQL Server depends on ANSI_NULLS, MySQL returns NULL for comparisons and coerces 0 and NULL to false in boolean contexts, and SQLite's IS and IS NOT are an extension.

SQL portability / NULL handling / Oracle / SQL Server / MySQL / SQLite / empty string / ANSI_NULLS

AI Precision and Recall Evaluation on Small Datasets

Learn how to effectively evaluate the precision and recall of AI models, especially when working with small question datasets. This guide covers the concepts, calculation methods, and practical considerations using scikit-learn.

ai / precision / recall / evaluation / small dataset / machine learning / scikit-learn / classification

Choosing Between MAE and RMSE for Error Prediction

Understand the differences between Mean Absolute Error (MAE) and Root Mean Squared Error (RMSE), how to choose the right metric for your prediction task, and the impact of large errors on each.

regression / model evaluation / MAE / RMSE / error metrics / scikit-learn / machine learning

PostgreSQL foreign keys: NO ACTION timing and selective SET NULL

A closer look at explicitly deferred NO ACTION checks and clearing only the optional component of a composite foreign key. These details complement the basic choice between RESTRICT, CASCADE and SET NULL.

postgresql / foreign-key / on-delete / data-retention / cascade / restrict / set-null / referential-integrity

Using LIMIT and OFFSET in PostgreSQL: Best Practices, Performance Impacts, and Alternatives

LIMIT caps returned rows; OFFSET skips rows in the query result. SQL does not require ORDER BY syntactically, but repeatable page boundaries need a unique ordering. For an API, choose between page-number navigation and continuation from the last key; neither strategy alone provides a snapshot. Measure deeper pages before setting a performance cutoff.

PostgreSQL / database pagination / LIMIT / OFFSET / cursor-based pagination / query performance

SAP S/4HANA: document splitting and balanced segment reporting

Understand how document splitting distributes line items and, when configured, creates zero-balance clearing lines for a segment. Follow one numeric example and inspect the general ledger view before comparing reports.

SAP S/4HANA / Universal Journal / Segment Reporting / Financial Accounting / Controlling / Document Splitting / Balance Sheets / Reporting

Understanding Semantic Search: How it Works and Why Similar Text Might Not Answer Your Question

Explore the principles of semantic search, its reliance on embeddings, and the reasons why text that appears similar might not provide the desired answer. Learn about vector search, hybrid search, and their applications in information retrieval.

semantic search / vector search / embeddings / AI / information retrieval / natural language processing / hybrid search / Azure AI Search

Evaluating prediction intervals with empirical coverage and width

Prediction intervals aim to contain future individual observations, while confidence intervals target a mean or other parameter, and the two are not interchangeable. Empirical coverage is the held-out fraction inside the interval and width is the distance between quantile limits; a constructed five-value example gives 80 percent coverage and mean width 1.8.

prediction interval / confidence interval / quantile regression / empirical coverage / interval width / scikit-learn / calibration / held-out evaluation

Safe Cross-Platform Path Handling in Python with pathlib

A practical guide to using pathlib for file existence checks, extension manipulation, directory navigation, and path resolution without introducing platform-specific bugs on Windows or Unix systems.

pathlib / cross-platform / python / file-system / os.PathLike / PurePath / glob / resolve

Choosing RAG Chunk Boundaries and Overlap to Preserve Section Context

This article explains how to choose effective chunk boundaries and overlap in retrieval-augmented generation (RAG) systems, comparing fixed-size and document-aware strategies. Using a hypothetical support note example, it demonstrates the risks of splitting across semantic units and shows how metadata and overlap can preserve context. The guidance is based on Microsoft Azure documentation for chunking in vector search and RAG workflows.

RAG / chunking / Azure AI Search / information retrieval / document processing

Verifying RAG Citations: Beyond Source Existence to Claim Support

A citation identifier only proves a source was retrieved, not that it supports the claim. This article shows how to decompose answers, locate supporting passages, and separate retrieval checks from groundedness checks using a hypothetical policy example.

RAG / citation verification / groundedness / retrieval evaluation / prompt engineering / LLM evaluation