open-menu closeme
Home
RetroComp icon
Retro Computing Articles Composition Notebooks 8bit
DevOps icon
Automation K8s Done Right
GenAI icon
Fatlama Newsletter Generative AI
Projects icon
Software Projects Arduino Esp8266 SQLite
Status
Links icon
GitHub LinkedIn
About
馃寪
English Italiano
github linkedin rss
  • Spring Boot and database testing: production defects

    calendar Jun 17, 2024 路 1 min read
     en java knowledgebase  路 spring-boot sql
     路
    Share on: twitter facebook linkedin copy
    Spring Boot and database testing: production defects

    Sometimes you need to fix a production defect. To do it, you need to mirror a specific set of data, and do a test to proof the bug and then fix it.


    Read More
  • I big data sono passati di moda?

    calendar Feb 10, 2023 路 4 min read
     it lettere-a-mia-figlia  路 nosql sql sqlite
     路
    Share on: twitter facebook linkedin copy

    Questo articolo, di tal Jordan Tigani, getta una luce oscura sul futuro dei big data. E’ scritto dal CEO di un’azienda che sviluppa un nuovo database OLAP (Online analytical processing) chiamato Duckdb, che e’ open source ed e’ “embedded”, nel senso che si ispira molto al modo di funzionare di SQLite. L’articolo sottolinea come uno degli argomenti piu’ forti dietro la commercializzazione di sistemi BigData (come BigQuery, MongoDB ecc) e cioe’ l’enorme flusso di dati che avrebbe investito alcune aziende, rappresentando sia una opportunita’ che una sfida, non si e’ verificato nonostante queste profezie siano vecchie di dieci anni.


    Read More
  • SQLite, again (updated)

    calendar Jun 21, 2021 路 2 min read
     en  路 sql sqlite
     路
    Share on: twitter facebook linkedin copy

    SQLite is slowing becoming a new standard. It is fast, and has a growing number of features.


    Read More
  • SQL: One of the most valuable skills - Craig Kerstiens

    calendar Feb 19, 2019 路 2 min read
     en sql  路 postgresql sql sqlite
     路
    Share on: twitter facebook linkedin copy

    I admit it. I suffered from an “algebra narcoleptic syndrome” during my relational database lessons at University (1996 circa).


    Read More
  • Outer full and inner SQL joins: you are wellcome

    calendar Aug 27, 2018 路 1 min read
     en sql  路 sql
     路
    Share on: twitter facebook linkedin copy

    For a complete description see https://www.codeproject.com/Articles/33052/Visual-Representation-of-SQL-Joins

    All the Join you want
  • SQLite Oracle Compatibility Layer

    calendar Aug 7, 2018 路 1 min read
     en projects python software-projects sql  路 oracle sql sqlite
     路
    Share on: twitter facebook linkedin copy

    The Sqlite Oracle Compatibility Functions is an experimental compatibility layer for SQLite vs Oracle, written in Python 3.


    Read More
  • Removing duplicate rows in PostgreSQL, Oracle and SQLite

    calendar Jun 15, 2017 路 1 min read
     en knowledgebase sql  路 evil oracle postgresql sql
     路
    Share on: twitter facebook linkedin copy
    Removing duplicate rows in PostgreSQL, Oracle and SQLite

    Sometimes you need to remove nasty duplicate on a table, based on a subset of the column. On every big database there is something called “rowid” which can be used to indentify a column in a unique way. On PostgreSQL is called ctid, as we shall see:


    Read More
  • ORA-01461: can bind a LONG value only for insert into a LONG column

    calendar Sep 1, 2015 路 1 min read
     en knowledgebase  路 bad oracle relax sql
     路
    Share on: twitter facebook linkedin copy
    ORA-01461: can bind a LONG value only for insert into a LONG column

    [caption id=“attachment_5294” align=“alignright” width=“150”]Disapprove with me! Disapprove with me![/caption]


    Read More
  • Oracle Invalid number ORA-01722

    calendar Jul 15, 2013 路 1 min read
     en knowledgebase sql  路 bad bug oracle sql
     路
    Share on: twitter facebook linkedin copy
    Oracle Invalid number ORA-01722

    I stumbled upon a very brain-f**k error on Oracle 10g on these days.

    Context: the following query [sql]SELECT * FROM (
    SELECT TO_NUMBER(CUSTOMER_ID) AS SNDG FROM BAD_CODES_TABLE WHERE
    AND I_LIKE=UPPER(‘STATIC_CONDITION’) AND CUSTOMER_ID NOT LIKE ‘%P%’ ) S WHERE TO_NUMBER(S.SNDG) >2000[/sql] could trigger a Invalid number if CUSTOMER_ID column contains invalid numbers.

    Why?

    Well鈥f you ask to “explain plan”, you will get something like

    • a table full scan
      • Filter Predicates AND
        • I_LIKE=UPPER('STATIC_CONDITION')
        • TO_NUMBER(S.SNDG) >2000
        • CUSTOMER_ID NOT LIKE '%P%'

    Read More
  • Come evitare iniezioni SQL lato DB in SQLServer, Oracle, MySQL

    calendar Dec 2, 2012 路 2 min read
     it sql  路 asp c mysql php sql sqlserver
     路
    Share on: twitter facebook linkedin copy

    聽Come evitare iniezione SQL: lato SQL Server (SP_EXECUTESQL)

    In generale va evitato nel modo pi霉 assoluto la scrittura di query sql diamiche.

    Va evitato cio猫 聽l鈥檜so lato SQL Server di sp_executesql e EXEC


    Read More
    • ««
    • «
    • 1
    • 2
    • 3
    • »
    • »»

Recent Posts

  • Breve guida agli ETF
  • Salvadanaio remunerato di Satispay Conviene?
  • Interludio sul value investing
  • Anubis: DDos Protection

Latest comments

    Disclaimer

    Gioorgi is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for website owners to earn advertising fees by advertising and linking to amazon.com, audible.com, and any other website that may be affiliated with Amazon Service LLC Associates Program. As an Amazon Associate we earn from qualifying purchases.
    Last updated:2025-06-17 02:00
    Giovanni Giorgi

    Copyright 1999-  GIOVANNI GIORGI. All Rights Reserved

    to-top