Giter VIP home page Giter VIP logo

Comments (9)

jerry57 avatar jerry57 commented on August 15, 2024

from robotframework-database-library.

keyjm avatar keyjm commented on August 15, 2024

Output is ${result} = None
I also tried with log and can see that it says "None".

Also if I run the same sql script with "Query" keyword it does returns the result and saves in ${result}. Screenshot of my result and example query attached.
Query.txt

image

from robotframework-database-library.

jerry57 avatar jerry57 commented on August 15, 2024

Thanks for the updated info. Do you get the same results if you use "Execute SQL String"? For the moment, can you use the "Query" keyword until this can be resolved as a work around. I ran into similar issues executing stored procedures, which now has it's own keyword.

from robotframework-database-library.

keyjm avatar keyjm commented on August 15, 2024

Yes, I get the same result when using "Execute SQL String" keyword.

It would be great if the issue with those two keywords can be resolved, of course when you get a chance :). Thanks for help.

from robotframework-database-library.

jerry57 avatar jerry57 commented on August 15, 2024

If you have a chance, can you work this and submit a pull request please?

from robotframework-database-library.

cool-amy avatar cool-amy commented on August 15, 2024

Any update on this bug? i ma using "Execute Sql script" Keyword and it is not returning anything , same for

"Execute Sql String". And if i use "query" keyword then i have to put long query with many joins, it it throws me sql error. If some body can fix this issue, that will be great

from robotframework-database-library.

jerry57 avatar jerry57 commented on August 15, 2024

Unfortunately the projects I am on right now do not afford me the time to work this. If you can get a pull request submitted, I will try to review and merge right away though.

from robotframework-database-library.

jerry57 avatar jerry57 commented on August 15, 2024

The number of rows will be returned by Execute SQL keywords. Data returns will be done only through Query keyword.

from robotframework-database-library.

ArtsemNikulin avatar ArtsemNikulin commented on August 15, 2024

Works for me
${script}= get file SQLScripts/SQLQuery_1.sql
${res}= query ${script}

from robotframework-database-library.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.