lundi 17 mai 2021

IF condition with getdate() in sybase

I have a requirement where if

getdate()

returns time between midnight 12 to 2 AM, I should consider Date of previous day. How to frame this in a select query ?

Aucun commentaire:

Enregistrer un commentaire