Temporal table on SQL-server
-
- Posts: 2
- Joined: Mon Mar 21, 2016 2:45 pm
Temporal table on SQL-server
Seems that #table i'm creating in query is being destroyed because Robotask closes session to SQL-server. But after creating #table i want to insert data into it in dataset loop. Is there option avaliable to create session and work with it without autoclosing it?
Re: Temporal table on SQL-server
RoboTask has only two DB-relative actions:
SQL Query and Dataset Loop
Each action opens its own session.
SQL Query closes the session after execution
Dataset Loop keeps the session opened only within the loop.
SQL Query and Dataset Loop
Each action opens its own session.
SQL Query closes the session after execution
Dataset Loop keeps the session opened only within the loop.
Oleg Yershov
-
- Posts: 2
- Joined: Mon Mar 21, 2016 2:45 pm
Re: Temporal table on SQL-server
That's strongly limits range of possibilities in tasks working with SQL. If I may suggest, it wold be usefull to have actions like "Start SQL-session" and "Close session" in loop-like design.
I mean like this:
1. "Start session"
2. Some actions
3. Some other actions
4. Even moar actions
5. "Close session"
I mean like this:
1. "Start session"
2. Some actions
3. Some other actions
4. Even moar actions
5. "Close session"
Re: Temporal table on SQL-server
Yes, maybe it's necessary to add these actions. It will be the set of database actions.
I already wrote this into our ToDo list.
I already wrote this into our ToDo list.
Oleg Yershov