Hi Team,
I am facing problem while creating custom SQL. I want to convert string column in date which is in excel.
E.g.
Select DATE(
(RIGHT([Data_EMP$].[Period]),2))
+'/01/'+
(LEFT([Data_EMP$].[Period]),4)
) AS [PERIOD]
FROM [Data_EMP$]
This is not working. Please help me in DATE Function or need any other function..
Thank you in advance.
답변 3개
Laukik,
Welcome to the forums!
You might try the CDATE() function. I believe it will work in custom SQL for Excel.
Regards,
Joshua