Run Query issue

i successfully connected UiPath to a database in sql server management then when i tried to run a query that alows me to ready a Table in this database knowing that the query is correct since i already tested it in sql server and it worked well but when i use it in Run query i keep getting error that there is a missing “)” while the sintax is correct
where does this problem comes
i defined the datatable to store the table dat after read it

@BlueBird1

Can you show the query or print it in log message and check if everything is correct

General structure

"Select * From [TableName]"

Cheers

Now i get this error : Run query: Only one of the connections can be used

@BlueBird1

Did you give connection string and existing connection also?

You have to provide only one

Cheers

i added a write wrange after run query to get data in that table in an excel file i got it but without headrers
how to fix this please

1 Like

@BlueBird1

I guess in write range you did not check add headers check box

Cheers

1 Like

i fixed the probelm . Thank you

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.