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
  • Smart Sync

    calendar Mar 21, 2021 路 1 min read
     en software-projects  路 database oracle sqlite
     路
    Share on: twitter facebook linkedin copy

    On 2002, I was forced to build a small java class to “sync” two databases (sorry for Italian):


    Read More
  • Semplice metodo per storicizzare i dati su database

    calendar Mar 16, 2021 路 6 min read
     it sql  路 database oracle
     路
    Share on: twitter facebook linkedin copy

    Abstract: Storicizzare i dati spesso 猫 un attivit脿 considerata “secondaria”, ma un cattivo design porta a base dati difficili da ottimizzare e spesso poco comprensibili. In questo articolo illustriamo un semplice metodo che rispetta i dettami della teoria relazionale, 猫 facile da capire ed 猫 attivamente usato in produzione.


    Read More
  • 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
  • Italian Accent Oracle fix

    calendar Feb 10, 2017 路 1 min read
     en sql  路 oracle relax
     路
    Share on: twitter facebook linkedin copy

    In Italian language we have accent words like 脿猫茅矛貌霉


    Read More
  • Oracle Auto increment trigger HOWTO

    calendar Dec 13, 2016 路 1 min read
     en featured knowledgebase sql  路 oracle tip
     路
    Share on: twitter facebook linkedin copy
    Oracle Auto increment trigger HOWTO

    Oracle SQL Developer is full of nice feature, damned by a overwhelming options pane, like the one I will describe to you right now.

    Even if聽 Oracle databases (<12) does not support auto increment, you can easily ask to your sql data modeler to generate for you a sequence and a trigger in a automatic way.


    Read More
  • Oracle Database Sync

    calendar Nov 22, 2016 路 1 min read
     en featured knowledgebase sql  路 oracle tip
     路
    Share on: twitter facebook linkedin copy
    Oracle Database Sync

    Oracle SQL Developer is full of nice feature, damned by a overwhelming options pane, like the one I will describe to you right now.


    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
  • Debian perfect work environment

    calendar Sep 28, 2014 路 3 min read
     en featured software unix-featured  路 ibm linux oracle unix virtualization
     路
    Share on: twitter facebook linkedin copy
    Debian perfect work environment

    Working in a big company, my work laptop came with MS-Windows7 Enterprise installed. But as you imagine, Unix is my preferred desktop environment. So let’s how to configure a perfect Debian Linux for a old wolf consultant like me. You will be able to install commercial software mubmo jumbo like Oracle Express and IBM Websphere in a snap, and have a 64 rock solid system, easy to bring in a USB stick if you like.


    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
    • ««
    • «
    • 1
    • 2
    • »
    • »»

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