Optimize SQL query.
Project details
I have a stored procedure which takes data from tables, do some loops (While) and insert into a @Temptable.
The query execution takes too long. I am sure someone with experiences can do it easily.
Skills: SQL
Awarded to:

Mikail B.
(5.0)
Project budget: $40 USD
budget limits: $30-70 USD
number of bids: 18
average bids: $45
Awarded to:

Mikail B.
(5.0)
Project budget: $40 USD
budget limits: $30-70 USD
number of bids: 18
average bids: $45
Project details
I have a stored procedure which takes data from tables, do some loops (While) and insert into a @Temptable.
The query execution takes too long. I am sure someone with experiences can do it easily.
The query execution takes too long. I am sure someone with experiences can do it easily.
Skills: SQL