Insufficient time to complete activity - Query Database smart service & Stored Procedure

Certified Associate Developer

Hi,

There is an issue i am facing with query databse smart service, Where i am executing a stored procedure which fetches data from multiple tables and insert same data to a table.

- It works if i execute the stored proc with same parameters by SSMS(SQL Server Management Studio)

- By Query Database Smart Service it sometimes gives me error - 

The amount of time allocated for the completion of an unattended activity was insufficient to allow the activity to complete.

attached screenshot for reference

Thanks 

  Discussion posts and replies are publicly visible

Parents Reply Children
  • 0
    Certified Associate Developer
    in reply to Stefan Helzle

    1. I need to save this data to a table and use this data on the basis of some filters for diffrent process.


    2. Yes there is a timeout for query dayabase, but when i execute the stored proc with same parameters by SSMS(SQL Server Management Studio) manually it inserts rows to table in seconds.


    3. I need to prepare data and dump on a table for diffrent filter criteria and use it for a process to make the querying data faster.