Comments (9)
from robotframework-database-library.
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
from robotframework-database-library.
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.
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.
If you have a chance, can you work this and submit a pull request please?
from robotframework-database-library.
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.
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.
The number of rows will be returned by Execute SQL keywords. Data returns will be done only through Query keyword.
from robotframework-database-library.
Works for me
${script}= get file SQLScripts/SQLQuery_1.sql
${res}= query ${script}
from robotframework-database-library.
Related Issues (20)
- Keyword "table must exist" fails with DB's which don't support information_schema
- Improve error messages in assertion keywords
- Recover docs from original Franz-see project
- v.1.30 - connection issue using MS SQL + pyodbc + SQL Driver HOT 1
- [feature] enhance Execute script KW to support more statement blocks HOT 6
- New Oracledb driver - support switching to thick mode and back to thin mode HOT 3
- Extend compare methods with pandas support HOT 2
- Self managed connections HOT 5
- Use Python convention naming
- [New client] Impala client
- [New client] Databricks client
- Handling multiple database connections HOT 5
- Query result list contains pyodbc.Row instead of python tuples HOT 4
- ProgrammingError: Unsupported parameter (Support for dict only): [] HOT 6
- Execute Sql String error with characters % HOT 6
- Parse SQL script files using external lib
- Single "Row Count" keyword with Assertion Engine
- Smart wait for "check if exists" / "row count" assertion keywords
- Query params don't work for MS SQL (pymssql) HOT 1
- Call stored procedure does not work with pymssql driver HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from robotframework-database-library.