Skip to content

Instantly share code, notes, and snippets.

View DaniDotExe's full-sized avatar
🎯
Focusing

Dani DaniDotExe

🎯
Focusing
View GitHub Profile
@DaniDotExe
DaniDotExe / timeCalculation.py
Last active October 15, 2023 18:53
time calculation for one block of code
import time
start = time.perf_counter()
#Insert code below
end = time.perf_counter()
print(f'tiempo: {end - start}')
@DaniDotExe
DaniDotExe / vartiables.sql
Created September 8, 2023 20:35
SQL: Ejemplos para declarar Variables de distintos Tipos de Dato y evaluar valores Nulos
DECLARE @entero INT
SET @entero = NULL
SELECT ISNULL(@entero, 0) AS Valor
DECLARE @decimal DECIMAL(10,2)
SET @decimal = NULL
SELECT ISNULL(@decimal, 0.00) AS Valor
DECLARE @cadena VARCHAR(50)
SET @cadena = NULL