How to correlate tempdb internal objects with user query using Transaction_Id
Using sys.dm_tran_active_transactions I can see internal objects being created and destroyed. How can I get the SessionId/User call that generates those internal objects? I tried using the...
View ArticleQuestion about Insert and Update
Hi All, I have a table which gets its data from another table. The destination table has 2 columns and it has index on it, which doesn't allow duplicates. So my question is I want to create a program...
View Articlexp_cmdshell completes with error code 1
Hello,I have a problem with SQL servers and the xp_cmdshell command. Both servers have the same setup and same accounts with same permissions but one server will complete an xp_cmdshell command...
View ArticleSQL Server Windows Authenication Problem After uninstall DNS role
I was attempting to setup a network domain by adding the roles DNS Server and Active Directory Domain Server roles to a windows 2008 server that I had previously setup. Note on the machine computer I...
View ArticleSqlBulkCopy error following failed SQL Server Upgrade - permissions in...
Wondering if anyone has run into this before and might have suggestions about what to do about it:We have a system that has SQL 2008 Standard Edition on it. A few weeks back, the hosting provider...
View Articlehow to count same column number with same id
Hello, everybody actually i want to count the same value of multiple row with same id.Idclassname Value Para_id1 carVersion Audi A4 1.8 TFSI Multitronic 1 3 mileage Mileage1 8 communication USB...
View ArticleRunning SQL Agent job as proxy user and accessing two different sql servers -...
I have a job that runs on server A. The job runs a package which access databases on both A and B. There is a proxy user defined on server A. Does it also need to be on B?
View ArticleAlways On Availability Question mark?
Dear Friends,In my production environment I have two database Servers know as SQL-DB1 (prod) and SQL-DB2 (Stand by server). I have made a cluster between two and SQL-Db1 is my primary database server....
View ArticleNovember on TechNet: Calling All SQL DBE Gurus - Enlighten Us!
"An influential teacher, or popular expert" Oh mighty reader, we need your enlightenment! Only YOU can show us... the TRUE WAY to code! Win the love and adoration of generations to come, by giving...
View ArticleCant Able to restore .bak file
Hi,When i try to restore my bak file am getting below mentioned error...This shows am using different version of SSMS.....any one suggest how to update my SSMS with10.00.2531........Thanks SABARINATHAN87
View ArticleSQL 2012 statistics issue
Hello,I have a performance problem on my SQL 2012 SP1 enterprise edition database server. Basically we have a query that is reporting against a 600 million row table on which we have a clustered index...
View ArticleHow to repair corrupt SQL 2005 Database
We have recovered from RAID5 server the SQL 2005 database, which are not attaching.There are more than dozen databases under master.Please help to resolve this problem.
View ArticleSuspected problem with identity seed on SQL Server 2012 Standard
SQL Server version 11.0.3128. I have an automated process (job, stored procedure) that inserts DMV data into database tables every half hour. It has run without incident for well over a month. On Nov....
View ArticleSQL Server Agent does not start
Hi,Up until now SQL Server Agent was running. I stopped it and tried to Start again today and since then it does not Start again. I right click on SQL Server Agent then I click on Start. The Process...
View ArticleSQL Server memory term "Target" mean?
Hi Everyone, Can anybody explain what the term "Target" means dbcc memorystatus. Is this the amount of RAM installed on my box? I get so confused with this term and think it as Target Server memory...
View ArticleServer Audit fails to re-start
Hi,I have created 3 Server audits on a SQL 2012 Enterprise Server to capture Read, Change and Execute separately. Initially I created them with 'Max_Files' value of 10. The Change and Execute went on...
View ArticleIs SQL 2008R2 standard 32-bit allows to use more than 4GB for SQL on Windows...
Hi All,Recently we have upgraded the OS from Windows 2008Standard Edition x32 to Windows 2008 Enterprise Edition x32 and increases the RAM from 3GB to 6GB. Please let me know what is max memory that...
View ArticleProfiler Trace showing SQL Application Role password
Hi,Environment:SQL2008R2 ENT (Sp2,CU1) on Windows2008R2 ENT.By default, SQL Profier Trace should replace SQL Application Role passwords with ****. One of our 3rd party application uses application...
View ArticleSQL 2012 System_Health extended events parser?
Hi experts, I am studying system_health now. I am trying to find out a best system_health extended event parser.The first one...
View ArticleGetting error on ALT+F1
I am getting below error when I am clicking on ALT+F1 to see that table structure. Even I select any of the table, getting same error message. Msg 208, Level 16, State 1, Procedure sp_help, Line...
View Article