G
Guest
I am trying to convert an integer value in a database to a date. I have
written a function ("Date_Convert") that accepts a string argument (i.e. the
converted integer) and returns a string representation of the date. However,
when I call the function in SQL:
UPDATE
SET
.[Date] = Date_Convert(
.[Date]);
the function returns a null. I have tested the function and does work,
however I read somewhere that functions cannot return values.
Thanks.
written a function ("Date_Convert") that accepts a string argument (i.e. the
converted integer) and returns a string representation of the date. However,
when I call the function in SQL:
UPDATE
the function returns a null. I have tested the function and does work,
however I read somewhere that functions cannot return values.
Thanks.