WEEK - connect_cdc_sqdata - Latest

Connect CDC (SQData) Apply engine

Product type
Software
Portfolio
Integrate
Product family
Connect
Product
Connect > Connect CDC (SQData)
Version
Latest
Language
English
Product name
Connect CDC (SQData)
Title
Connect CDC (SQData) Apply engine
Copyright
2024
First publish date
2000
Last edition
2024-07-30
Last publish date
2024-07-30T20:19:56.898694

The WEEK function returns the number of a week within the year from a specified date in YYYYMMDD format.

Category

Date / Time

Syntax
WEEK(date)
Parameter and Description
Parameter Description
date This parameter specifies a valid date in YYYYMMDD format. This date can be a field from a source datastore, a constant, a variable or the result of another Function.

Example

Map the number of the week from source field SRC_DATE into target field WEEK_NUM. Assume that SRC_DATE contains the value 20020108.

WEEK_NUM = WEEK (SRC_DATE)

Returns the value of 2 and maps the result to the target field.