SQL 2012 CLR and XMLSerialaztion - Is UNSAFE still required for CLR's That...
I'm learning to create a CLR assembly the "hard way" - Code the dll then use the Create Assembly T-SQL command.In many of the 2005 and 2008 samples I've seen, there mention of using Sgen to create...
View Articleset maxdop > # logical processors?
Is there a way to set maxdop to a value greater than the number of schedulers on the system? I've got a VM with 4 vCPU that has a fairly low user concurrency but the queries that are run require lots...
View ArticleAlert Deadlocks on SQL server caused by SP Indexing Server
I'm far from a DBA, but I'm getting some alerts. Anybody seen these before? Subject: SQLdm Alert (Warning) - A deadlock occurred on server SPSQLServer on SPSQLServer3/29/2013 12:29:15 AM, Deadlock on...
View ArticleKeep Alive and Keep Alive Interval properties in SQL Server 2012
hi all,Can anybodya explain "Keep Alive" and "Keep Alive Interval" properties in SQL Server 2012 database?Are these propeties are useful keep uninterrupted connection from front end application...
View ArticleCouple of questions
Hi All,I have 3 questions. Some one kindly answer those.1) If a table of size 50GB, having no indexes if we create an clustered index on that then what will be the size of that index?2) If a table is...
View ArticleThe operating system returns error 665(The requested operation could not be...
During our weekly maintenance jobs for database integrity (DBCC CheckDB() ) I receive the following error when one of my DBs is getting checked. I manually ran DBCC on the DB and it ran without...
View ArticleAdding configuration file in a job using command line option in the JOB...
Hi,I need to add multiple configuration files to an SSIS Job using Command line option in the JOB Properties./File "C:\temp\Package.dtsx" /CONFIGFile "C:\temp\ssisoptions.dtsconfig"the above method...
View ArticleResource database update time
Hi everybody,I just queried Resource database update time on my SQL Server 2008 by usingSELECT SERVERPROPERTY('ResourceLastUpdateDateTime'); GOand the result is2012-06-28 10:36:40.883I am a little...
View ArticleLogMgr::LogWriter: Operating system error 1117(The request could not be...
SQL Server Version: Microsoft SQL Server 2012 (SP1) - 11.0.3000.0 (X64) Oct 19 2012 13:38:57 Copyright (c) Microsoft Corporation Enterprise Edition (64-bit) on Windows NT 6.2 <X64> (Build 9200:...
View ArticleLogical Read and Write
Hi Is there any way to find out logical read and write on database by application other than using profiler trace?. Our main server is mixture of OLTP+reporting server. We use qlikview for reporting...
View ArticleSQL Server Build
I have installed sql server2008R2 without management tools in the actual machine.Thats why we restricted the persons who having remote acess not able to do anything in sql.Like this how do we install...
View ArticleThread count increase monitoring (sys.dm_os_threads)
Hi,I am monitoring the number of threads consumed by sqlservr.exe process. The thread count remains constant between 300-400 threads. Sometimes, I see that it jumps to 680+ threads and I am wondering...
View ArticleInternal Query Processor Error - During Installation
I am having problem installing SQL Server 2008 R2 express (SP2) , on a Win7 Home Premium pc.Error occured near the end of the installation process.The Error message : Internal Query Processor Error :...
View Articlerecommended affinity settings for SQL Server 2008 R2 running on VMWare servers
In SSMS 2008 R2, we currently have "Automaticall set both Processor and IO affinity for all processors" set. Since the servers that SQL is running on are VM servers, is this the recommended affinity...
View ArticleSQL 2012 Restore Error
I am using SQL 2012 and am trying to restore a database A.bak over the top of an existing database B . I have ticked Overwrite existing database (With replace) and told it to relocate all files to the...
View ArticleGetting absolute sequence number
In profiler there's an EventSequence field, but apparently it's an artifact of profiler and not available to a transaction.Is there any kind of absolute sequence number for transactions available to...
View ArticleUnable to create Full Text catalog after reverting from DB Snapshot in SQL...
After reverting to a database snapshot that contains Full Text indexes, it does not allow you to re-create Full Text catalogs until you either restart SQL Server Service, detach/attach the DB, or take...
View Articledisk I/O
We have a SQL server with 25 GB RAM, it is used for data warehouse. When the user restores one of their big databases, it slows down the network, and sometimes caused Exchange server down. The data and...
View ArticleSQL Health Check Script.
Hi,I need a SQL health check script, or powershell script, in where we just provide a servername as input in stored proedure or powershell and it shoots a mail to me with complete health check...
View Article