Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shift month numbers for FY start
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00929339
Message ID:
00929665
Vues:
8
>Hi Mike,
>
>My son come up with simpler expression. :)
SELECT ((MonthNum + (12 - @fystart)) % 12 + 1) AS RealMonth ...
>
SWEET! That's the kind of simplicity I was seeking!

Please thank your son for me!
Michael
Kogo Michael Hogan

"Pinky, are you pondering what I'm pondering?"
I think so Brain, but "Snowball for Windows"?

Ideate Web Site
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform