Database modification difficulties.
I have database i am using already. The system will not allow me to alter a table nor allow me add a table. Prior to that, I could alter or add a table. Now, if I alter or add a table i get errors in...
View ArticleCredintials for service accounts reporting invalid.
Hi, I was running the installer of Sql Server 2008 R2 in a Windows Server 2008 R2 as a local administrator. While trying to assign domain accounts for the services , the installer gave an error as...
View ArticleSQL 2008R2 -> Performance Condition alert for CPU Threshold event
I am trying to use SQLServer Agent alert for Resoure governor setup. I would like to be alerted when CPU threshold -> REQUEST_MAX_CPU_TIME_SEC > 20 -> is crossed for any particular query. I...
View ArticleCluster Index scan and lookups are very high I want to reduce
I have a cluster index whose index analysis is like: Reads: 3,429,540 (329,579 seek 241,236 scan 2,858,725 lookup) Writes:153,774As I can see the scan and lookups are very high. I want to reduce it...
View ArticleHow to find whether a db is accessed
HelloI want to know whether a db is getting accessed at all. As the server is a shared server and has lots of db's hosted its not really a good idea to run profiler trace.My second option was to run...
View ArticleAn unknown full-text failure (0x80000032) occurred during "creating a...
On Teched EMEA they couldn't help me with this one: A clustered SQL Server 2005 cluster (Active-Passive) SP2 is doing the following operation In semi-syntax:Drop Full Text Catalog ' foo'Backup log...
View Articlerows not distributed evenly across processors
Values from execution plan:thread 1 - 78 million rowsthread 2 - 756,000 rowsthread 3 - 836,000thread 4 - 731,000thread 5 - 182,000thread 6 - 158,000thread 7 - 193,000thread 8 - 301,000Is there a trick...
View ArticleSQL Server 2012 Always ON routing to particular server based on User Name
I have configured SQL Server 2012 with AlwaysON availability groups. I could route my connections to Secondary node when I put the applicationintent = readonly on the connection string. However I would...
View Articlesql Deadlock ??
What is the method sending deadlock transaction resend again ???if there any optioninSQL server 2005,Kindly advice mebaskarlakshmi
View ArticleOpen_tran in sys.sysprocesses has unexpected count
I'm running SQL Server 2005 SP1 on WinXP SP2. I'm running a query to look for open transactions or blocked transactions. The actual query I'm running registers as having 2 open transactions and I can't...
View ArticleRestore Database from local disk
http://msdn.microsoft.com/en-us/library/ms186858.aspxRESTORE DATABASE AdventureWorks2012 FROM DISK = 'Z:\SQLServerBackups\AdventureWorks2012.bak' WITH FILE = 6 NORECOVERY;When you specify FROM DISK, is...
View ArticleDR for RBS database question
I need to create the DR for an RBS SQL 2012 databasehave seen first steps:1. create new instance on DR 2012 machine and configure the filestream for TSQL and I/O and allow clients to Filestream data2....
View ArticleDBCC OLEDB Bottleneck?
Is there anything I can do for a OLEDB wait type? After restarting my instance, I started a DBCC checkdb on a 200 GB database that uses the spatial data type. A couple of tables have 250 million...
View ArticleExam 70-448
I took the exam 70-448 on May 6th 2014. I was told by the staff at the prometric exam center that the free second shot voucher will be emailed to me by Microsoft company as most exams have this offer....
View ArticleHow to get a trigger execution information in a SQL Server
Hi,I have created a update trigger on one of my table in sql server database. I want to see the trigger execution history to check on which dates that trigger has been fired. Is there any way to get...
View ArticleSQL Server 2014, perform tail log backup con secondary replica
Hi allis it possible to perform a tail log backup on a secondary replica of an AlwaysOn scenario?
View ArticleAn invalid parameter or option was specified for procedure...
Im doing a restore of a production database to a development server. In the script, right after the restore , I start the following section that I attempt to "re-link" any orphaned users back to their...
View ArticlePREEMPTIVE_OS_FILEOPS waits during restore
We received a new server running Windows 2012 and SQL Server 2012 SP1. When we are restoring a database 3.5TB in size split into 24 Data Files and 1 Log file. It takes somewhere between 50-80 minutes...
View Articlemirroring
hello, we have mirroring in place. it takes table data from sql server server1 to server2. It does not seem to copy the things such as stored procs, functions, views, etc. 1- Is it possible to set this...
View ArticleUsers with logins but cant query from syslogins based on name?
Im trying to modify the list of users what I want to use when "re-mapping" users to logins after a DB restore. I only care about users and their logins that WE have created, not system level accounts...
View Article