SQLCLR:
SELECT [dbo].[DateOfBirth] (<@birthDate, datetime>, <@shiftDays, int>, <@shiftMonth, int>, <@shiftYears, int>)
Data: Valid datetime value shiftDays/daysShift: acceptable day range (Default is 30) shiftMonth/monthShift: acceptable month range (Default is 0) shiftYears/yearsShift: acceptable year range (Default is 0)
Datetime value shifted to random delta days/months/years according to input ranges
SQLCLR:
SELECT [dbo].[DateOfBirth] (CAST('01-JAN-2009' AS DATETIME), 30, 0, 0)
CLR Reference: Date Of Birth
Copyright © 2025 Hush-Hush. All rights reserved
Copyright © 2025 Hush-Hush.
All rights reserved