The syntax I provided is correct so it's something in your code.
>Hello Sergey, thanks for your help.
>But when I remove the curled brackets I get a syntax error.
>
>This is the error:
>Line 2: Incorrect syntax near 'COLUMN'.
>
>The current column type of the ped field is datetime.
>
>
>Sergio
--sb--