It replaces the space and everything after with the empty string.
1
votes
You could use either:
tokenize(/test,' ')[1]
or
substring-before(/test,' ')
With /test being replaced with the appropriate path to the date.
-1
votes
It is so simple.
convert(VARCHAR(10),datetoformate,106)
thats it
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more