MICROSECONDS_SUB (Lakehouse v2)
Soustrait un nombre donné de microsecondes d’une date-heure.
Syntaxe Analyze
Section intitulée « Syntaxe Analyze »func.microseconds_sub(<datetime>, <n>)Exemples Analyze
Section intitulée « Exemples Analyze »func.microseconds_sub('2024-01-01 00:00:01', 1000000)
┌───────────────────────┐│ '2024-01-01 00:00:00' │└───────────────────────┘Syntaxe SQL
Section intitulée « Syntaxe SQL »MICROSECONDS_SUB(<datetime>, <n>)Exemples SQL
Section intitulée « Exemples SQL »SELECT MICROSECONDS_SUB('2024-01-01 00:00:01', 1000000);
┌─────────────────────┐│ 2024-01-01 00:00:00 │└─────────────────────┘