Database stuck in executing query or slow SQL Server -


update : tried re-creating table in same database , able run select statement fine. tried

select * [unnik].[dbo].[leads] with(nolock) order id desc ; 

which works. temporary solution want know going on?

we have database server has 50 plus databases in it. more 50gb of size morning there 1 database running slow or not responding in query.

this database doesn't work. others works fine , database small 20,000 records only.

when run query like

select * [unnik].[dbo].[leads] order id desc; 

it stuck in executing query status circle progress animation.

even limiting 1 query doesn't show anything.

select top 1 * [unnik].[dbo].[leads] order id desc; 

what problem? no expert in database trouble shooting. php developer , of knowledge know in database queries related php scripting. tried inserting record in database , works fine. select statement doesn't work or queries has viewing.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -