EULANDA® ERP System Head Start thru Technology
Converts a SQL Date value into the usual calendar week.
cnf_KW @Date
@Date Datetime
SQL-Date value are converted over this function into a calendar week. The SQL server contains also a function for the calendar week, this corresponds however not to the calendar weeks usual in Europe. Over this function you can now spent these.
SELECT
dbo.cnf_KW('05.02.2002')
Output:
COLUMN1
----------
6
(1 Line effected)
Commands finally succesfully