Quantcast
Channel: Forum SQL Server Database Engine
Browsing all 15694 articles
Browse latest View live

automatation of killing blocked sessions

is there any automated procedure or script for killing blocked, suspended and sleeping sessions?other than manually executing kill spid in the command line?

View Article


Image may be NSFW.
Clik here to view.

memoryclerk consumes a lot of memory

Hi  guys,Could you explain me why memoryclerk_sqloptimizer consumes a lot of memory and how to solve it (release memory)?Please have a look reports below.1. Before2. After 5 daysSo we can  see that...

View Article


Issues with reporting percent log space used, between DMV and DBCC

Using SQL Server 2012 SE 11.0.2100, I am getting two different sets of values when querying for log space between the DMV and the DBCC command.  Querying using the DMV. select instance_name as DBName,...

View Article

Handle with parameter

Hi, I have unicode inside @area below. cmd = new SqlCommand("SELECT a.id,a.name FROM dbo.dist a,dbo.area b where area_name=b.name and case when isnull(local_name,'')='' then b.name else local_name...

View Article

SQL Server 2008 and Java application

Hi,notice lately a problem with SQL Server 2008 that application for no reason hang and stop operating and this problem unsolvable till restart the application and all support team pointing to SQL...

View Article


Scheduled jobs start date keeps getting reset

Hi all,I have set up a scheduled job in SQL Server 2012 to reprocess a cube. The job is scheduled to run every 5 minutes with the exact properties that it had when it was running SQL Server 2008R2....

View Article

SQL query timeout error

I am using vb6 application with Sql Server 2012. Very often I get timeout error.I have 700+ tables in the database. Some tables i am using in query have 20K + rows (some have very few records also).I...

View Article

Find unused databases

Hi Experts,I know this is a question asked before. We need to figure out the databases in our servers that arenot being used. We could check from audit logs, profiler trace and some DMV's. But is there...

View Article


Data Collector Database growing in size!!

Hello Gurus,Recently I created a data collector data base using the Data Collection feature of the 2008 R2. The bad news is the DB I use to collect the performance data is growing in size very bad and...

View Article


about 10 INSERT statements issued and taking long

Hello dear Gurus,I issued about 10 insert statements all at same time (selected all and executed) and the SQL Server is taking too long. Now, I want to know which of the 10 statements have completed...

View Article

Image may be NSFW.
Clik here to view.

WAITSTATS cause for concern or no?

Hi All,Am diagnosing a 'slow' application and looking at the database server first. I ran Paul Randall's waitstats script and here is the output.Couple questions as i'm going through this:1) Even...

View Article

Fastest way to read a 600MB table (in memory)

 I cannot get more than 15-19mb/s is there any limitation that I need to know about?The query is a simple select not doing sorting and the database is read-only : "select * from tablename"Tried local...

View Article

Kill Kpid

Hi AllIt's possible to kill a kpid from TSQL ??

View Article


Running SQL 2008 R2 but server showing up as sql 2005 (9.0.4035)

I have installed and run 2008 R2 for some time--no problems. use as backend for VS2008 coderecently I tried to restore one of my developer databases with a backup from a production server running...

View Article

Replication information

Hi ,we configurations the  Replication, after we can run the update statistics on the publication database, this update statistics reflect into subscriber database or not ? 

View Article


Image may be NSFW.
Clik here to view.

Reg:Uploading Excel File is not working

HI Friends,After Uploading a file i will show data in Gridview.Then i will Import in a Sql Table.Another machine i have published Its working fine.But After i have Publish in New Server its not...

View Article

SQL Remote connection without specify PORT Number between different locations

Hello,We need to connect SQL Server from one machine to another machine.We have installed SQL server with instance name as SQLExpress.We can able to connect remote connection with client machines in...

View Article


Image may be NSFW.
Clik here to view.

Client statistics showing zero's

When I click on the show client statistics it shows all zeros. See screenshot.Alan

View Article

Problem with unicode

Hi, when doing the insert using these                    cmd = new SqlCommand("insert into dbo.ite_tab (...,area,...) values (...,@area,...)", conn);                    ......

View Article

Active directory

Hi Everyone,How the data in active directory gets stored?Are the data getting stored in SQL Server?I have googled is, but didnt found any articels. Thanks,Karthi K

View Article
Browsing all 15694 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>