@SudhakarAs92 wrote:
Hi, I am using an excel file as database.
“Execute Query” activity is throwing the following error.
ERROR [42000] [Microsoft][ODBC Excel Driver] Undefined function ‘convert’ in expression.
Connection string - “Dsn=Excel Files;dbq=”+str_filePath+";defaultdir=C:\FinalOutput;maxbuffersize=2048;pagetimeout=5"
Provider: “System.Data.Odbc”
Query: “Select top 100 [ABC], convert(datetime, [XYZ DATE], 101) from [Report$] where [ACCOUNT] like ‘%1200400%’ or [ACCOUNT] like ‘%1201800%’ or [ACCOUNT] like ‘%1202500%’ or [ACCOUNT] like ‘%1201100%’ or [ACCOUNT] like ‘%1152600%’ or [ACCOUNT] like ‘%1151900%’”
What am I missing here?
TIA.
Posts: 4
Participants: 3