Quantcast
Channel: UiPath Community Forum - Topics tagged error
Viewing all articles
Browse latest Browse all 4384

Execute Query Error: Undefined function 'convert' in expression

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 4384

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>