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 ArticleSA 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 ArticleHow to create a database in SQL and link it to a local computer drive?
Hi,In SQL, is it possible that I could define a local directory "D:\Data Analysis" as a Library and place the created tables in the local folder? If it's possible, how to do that?Also, If I want to...
View ArticleError 364 Messenger not started in SQL Server 2012
This error noted elsewhere to be obsolete is causing real problems. It causes Jobs to fail. Lots of "helpful" advice saying ignore it - I would but it keeps killing things I want to do!Can this error...
View ArticlePerformance testing
I compressed a database now I want to test the performance increase. I can't run a trace on production. Is there somewhere I can find some queries that I can set statistics IO on and measure the...
View ArticleAppDomain marked for unload due to memory pressure
Looking at the results of xp_readerrorlog on our SQL 2008 sp2 instance. See thisfrequently:AppDomain 2046 (mssqlsystemresource.sys[runtime].5045) is marked for unload due to memory pressure.As far as...
View Articlecheck used and free space of Transaction log
Hi, I want to check how much space is occupied and how much space in free in Transaction log ? Please give me some query to check Regards
View ArticleWhat did the SQL SERVER do while creating a new database?
Hi Alli want know what sql server did when it creating a new database. for example1. what does sql server use from the model database?2. how to determine which user should be added into the new...
View Articleapplying SP1
Hi,I am applying SP1 on SQL Server 2012 "SQLServer2012SP1_CU1-KB2765331-x64" , but it gives error"The version of SQL Server instance Shared Component does not match the version expected by the SQL...
View ArticleQuery 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 ArticleNew 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 ArticleSQL 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 ArticleToo 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 ArticleFailover 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 ArticleActive 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 Articlelinked 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 ArticleTimeout 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 Articleclear 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 ArticleHaving 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 ArticleSQL Server
Could you please brief me about CTE (Common Table Expression) and when will use?
View Article