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
  • SQL Server e Python

    calendar Feb 17, 2011 · 1 min read
     it python sql  · python sql sqlserver
     ·
    Share on: twitter facebook linkedin copy

    L’integrazione tra .NET e SQL Server è data per scontata: in questo articolo esploreremo invece  come accedere a SQL Server da Python. Uno dei vantaggi di python è che è un linguaggio molto facile da imparare, con un notevole numero di librerie e un’ottima integrazione multi piattaforma. Oltre a ciò python offre un sistema di installazione rapido delle librerie (come  Ruby e Perl).


    Read More
  • NoSQL Rocks? We try to understand

    calendar Apr 10, 2011 · 4 min read
     en featured knowledgebase sql  · ideas nosql sql
     ·
    Share on: twitter facebook linkedin copy
    NoSQL Rocks? We try to understand

    At Gioorgi.com we was never a SQL fan. In 2000 we thinked SQL was boring, mostly because sql algebra could be a bit boring. Then we found this book written by one of the father of SQL. Years ago Google and then Facebook popped out with new incredible ideas, for improved and super fast scalability, which eventually turned to the “NoSQL” mantra.

    But NoSQL is a mature technology, or it is only a path traced by the Social company out of there? Let’s explore together…


    Read More
  • dapper-dot-net - Simple SQL object mapper for SQL Server - Google Project Hosting

    calendar May 15, 2011 · 1 min read
     it sql  · c google hosting net sql
     ·
    Share on: twitter facebook linkedin copy
     

     Dapper is a single file you can drop in to your project that will extend your IDbConnection interface. [...]

    A key feature of Dapper is performance. The following metrics show how long it takes to execute 500 SELECT statements against a DB and map the data returned to objects.


    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’uso lato SQL Server di sp_executesql e EXEC


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

Recent Posts

  • Salvadanaio remunerato di Satispay Conviene?
  • Interludio sul value investing
  • Anubis: DDos Protection
  • KarmaKit and Watchtower

Latest comments

  • An update: The FAIR Package Manager: Decentralized WordPress infrastructure https://www.linuxfoundation.org/press/linux-foundation-announces-the-fair-package-manager-project-for-open-source-content-management-system-stability

    See https://news.ycombinator.com/item?id=44207503

    ...by daitangio
  • BuonGioorgi. Vero che HP Prime costi meno di DM42, ma l'RPN su Prime non è un gran che. Inoltre, la compatibilità con HP42s ed HP41c dove la mettiamo ? Su DM42(N) gira praticamente tutto. E per ultimo: devo spendere più di 200€ sulla baia per un HPxxx vecchio di anni, e che nessuno eventualmente riparerà, in caso si rompesse ? Meglio mettersi una mano sul cuore ed una sul portafogli... Disclaimer: non prendo soldi da SwissMicros :-)

    ...
    by Claudio
  • Buongiorno Giorgi. Post chiarissimo e ben scritto. Unica inesattezza: il TCNTn indica il valore attuale del conteggio, che di default parte da 0 ma che tu, nell'esempio modifichi per avere il delay di 1 secondo. Da come hai scritto tu ("Questo registro indica il valore al quale far scattare il timer. Il timer contera' a partire da zero fino....") in questo registro scriverei 15625 per farlo scattare ogni secondo.

    ...
    by Gianmarco
  • For timezone managmenet please refer to https://medium.com/devopsturkiye/how-to-set-timezone-for-kubernetes-cronjobs-691d3aaa34ef

    ...by daitangio

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-09 02:00
Giovanni Giorgi

Copyright 1999- 2025 GIOVANNI GIORGI. All Rights Reserved

to-top