Quantcast
Channel: SQL Server Database Engine forum
Browsing all 15930 articles
Browse latest View live

find use based on spid or sid

Hi,using sp_who2, I can get the spid/sid of a session, I want to check which is use is associated to this spid or sid, please helpRegardsBilal

View Article


SA password changed --Login failed for user 'sa'. Reason: Password did not...

We changed SA password.   Then every minute from SQL logs and application logs, we can Login failed for user 'sa'  Reason: Password did not match that for the login provided. [CLIENT: <named...

View Article


Extended Events remotely on 2005

Hello,I am wondering if it is possible to run an Extended Events session on an SQL Server 2005 if I run it remotely from a 2008+ server.  Has anybody tried this?Thanks in advance.Naama

View Article

Error chain starting with write failure (error 655) during a DBCC CHECKDB...

Hello,We experienced the following error chain (extracted from the SQL Server logs) that ultimately caused our instance to restart and fail over one of our primary AGs, causing us unexpected (albeit...

View Article

Query plan with TOP clause causes query to fail

My database is SQL 2008 R2. I have a query look like below.create table #t (MsgRunId varchar(10) primary key, MsgCode varchar(5)); insert into #t (MsgRunId, MsgCode) values ('Ax100', 'Ax'), ('Ax99',...

View Article


Image may be NSFW.
Clik here to view.

New Cluster Drive is not appearing in SQL Server 2008 R2 Enterprise Edition

Hi Team,I have installed SQL Server 2008 R2 Enterprise edition. but because of Space concern Team has added new cluster (999 GB). but now it is appearing in My Computer but not in SQL Server Management...

View Article

SQL Cache dependency and deadlock - T1222 deadlock-list -...

Hi, We are maintaining cache tables in SQL Server where tables required for cache are marked for caching using [dbo].[AspNet_SqlCacheRegisterTableStoredProcedure] and those marked tables are added into...

View Article

Too many parallel nested transactions

Just recentally we have started to get dump files with the following description: Description: Too many parallel nested transactions When this happens and the dump files start to get created the server...

View Article


Failover clustering Installation diffrences between sql server 2005 and 2008r2

hi...Greetings....!what are differences between failover clustering 2005 and 2008. Thanks in Advance.Regards,vijay

View Article


Active transactions

Hi,when I use "select * from sys.dm_tran_active_transactions" and "select * from sys.dm_tran_session_transactions"I get many rows in the output,But if Use dbcc opentran(), it is not returning any row...

View Article

linked server issuse between sql server 2008 R2&SQL Server 2000

I have issue regarding linked server on (MS SQl server 2008 R2) that connect to sql server 2000It was working fine before but after restart server the linked server is working and I can see database...

View Article

Timeout expired. The timeout period elapsed prior to obtaining a connection...

Hi All,My application is working with a DataBase server.But unfortunataly today am getting below error:A Error has Occured on Server:abmnoo12for Client IP:xx.xx.xx.xxxFor The User : none Error Details...

View Article

clear trunsaction log

Hi, My transaction log was 100% full and I was told to shrink the T-log When I issued "dbcc shrinkfile (Test1_log,1024)", it gave me error something like "you cannot shrink T-log due to Full Backup"...

View Article


Having backup problems, and unable to change service accounts...

Three problems, possibly related, all giving me heartburn as I'm going away for 2 weeks and don't want to leave a server in this state... Problem 1: When I try to run a backup to anywhere *EXCEPT* the...

View Article

SQL Server

Could you please brief me about CTE (Common Table Expression) and when will use?

View Article


SQL server is lazy, how do I motivate it ?

I have a very large DB with fact tables with billons of entries. My problem is that I can't get SQL server to make use the HW I have. Before anyone states the obvious, ofcourse I have looked for...

View Article

What is the best way to benchmark TempDB?_

What is the best way to benchmark TempDB?Mr Shaw

View Article


How to create new Session of SP?

Hi,I am trying to call the SP using ADO.Net C#. When multiple instance calling same SP, it is using single session ID for execution. How can i make the SP running in different session. Is there any...

View Article

Deadlock on table with one row and one primary key clustered index

I have one table with one row in it.CREATE TABLE [dbo].[SYS_TRAN_ID]( [NEXT_ID] [dbo].[id] NOT NULL, [PROCESS_ID] [dbo].[processid] NOT NULL, CONSTRAINT [XPKSTRANID] PRIMARY KEY CLUSTERED ( [NEXT_ID]...

View Article

File copy performance issue

When copying a large backup file from production server the performance is seriously degraded. Does anyone know why and if so do you know of any articles I can reference?Alan

View Article
Browsing all 15930 articles
Browse latest View live


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