Quantcast
Channel: SQL 2008 R2 – MSSQLFUN – Microsoft SQL Server, Database, Replication, SQL Server Agent, Mirroring, Always On, HADR
Browsing all 85 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Text information from RPC trace events not displayed in Profiler

In SQL Server 2005 and later, the information in the TextData column captured for the RPC:Starting and RPC:Completed events is also available in the BinaryData column. For performance reasons, it is...

View Article



Image may be NSFW.
Clik here to view.

SQL Server Reserve 1 user connection for DAC (Dedicated Administrator...

Sometime before, I was giving training on basics of SQL Server. One of attendee is having doubt & want to confirm that SQL Server really Reserve 1 user connection for DAC (Dedicated Administrator...

View Article

Image may be NSFW.
Clik here to view.

SQL Server Silent unattended installation using configuration file

1) Open Installation Wizard Open Installation Wizard 2) Select Feature You want to install Select Feature You want to install 3) Provide installation configuration Provide installation configuration 4)...

View Article

Image may be NSFW.
Clik here to view.

How to find/modify SQLServer Agent logfile location?

1. To get the location of SQLServer Agent log file, the log file is called SQLAGENT.out DECLARE @AGENT_ERRORLOG NVARCHAR(255) EXECUTE MASTER.DBO.XP_INSTANCE_REGREAD N’HKEY_LOCAL_MACHINE’,...

View Article

Image may be NSFW.
Clik here to view.

Microsoft SQL Server License Helpline

Microsoft SQL Server license has lots of flavors in terms of user based \ CAL or processor based license, license based on versions or license based on environment (physical or virtual). Although,...

View Article


Image may be NSFW.
Clik here to view.

Move or Relocate the files of Resoruce Database in SQL Server 2005

The Resource database is a read-only database that contains all the system objects that are included with SQL Server. SQL Server system objects, such as sys.objects, are physically persisted in the...

View Article

Image may be NSFW.
Clik here to view.

Refresh Intellisense in SSMS(SQL Server Management Studio) 2008 & above

Intellisense is a new feature that comes with SSMS(SQL Server Management Studio) 2008 onwards. Intellisense makes coding quite easy. But Sometimes I find that intellisense becomes stale and you start...

View Article

Image may be NSFW.
Clik here to view.

How to get list of all available parameter of .EXE file ?

Today, We discuss How to get list of all available parameter of .EXE file OR How to find list of SQL Server setup parameters ? Major problem is of all available parameter details. Sometime, We need to...

View Article


Image may be NSFW.
Clik here to view.

Backup not starting for Database with Full Text Catalog…………..Failed to change...

Issue :- One of our Database with Full Text Catalog is not getting backed up. When I checked, backup keeps pending on 0% without any progress. In SQL server error log, I also found error related to...

View Article


Image may be NSFW.
Clik here to view.

Cumulative Update – 5 for SQL Server 2008 R2 Service Pack 2 Is Now Available !

The 5th cumulative update release for SQL Server 2008 R2 Service Pack 2 is now available for download at the Microsoft Support site. Cumulative Update 5 contains all the hotfixes released since the...

View Article

Image may be NSFW.
Clik here to view.

SQL Server Discovery Report

How can I check what all SQL server features and version are installed on my Machine ? It’s a frequently asked question. You need to study your environment, need to login each instance to check version...

View Article

Image may be NSFW.
Clik here to view.

DMV-2 : Explore the secrets of session…… sys.dm_exec_sessions

sys.dm_exec_sessions DMV (Dynamic Management View), delineated by BOL as follows: http://msdn.microsoft.com/en-us/library/ms176013.aspx Returns one row per authenticated session on SQL Server....

View Article

Image may be NSFW.
Clik here to view.

DMV-3 : What is currently going on ?……..sys.dm_exec_requests

sys.dm_exec_requests DMV (Dynamic Management View), described by BOL as follows: http://msdn.microsoft.com/en-us/library/ms177648.aspx Returns information about each request that is executing within...

View Article


Image may be NSFW.
Clik here to view.

DMV-4 : Find top most expensive cached queries ?……..sys.dm_exec_query_stats

sys.dm_exec_query_stats DMV (Dynamic Management View), described in BOL as follows : http://msdn.microsoft.com/en-us/library/ms189741.aspx Returns aggregate performance statistics for cached query...

View Article

Image may be NSFW.
Clik here to view.

DMV-5 : Queries runing are adhoc or proc , single or multi use...

sys.dm_exec_cached_plans DMV (Dynamic Management View), described by BOL as follows : http://msdn.microsoft.com/en-us/library/ms187404.aspx Returns a row for each query plan that is cached by SQL...

View Article


Image may be NSFW.
Clik here to view.

DMV-6 : How well my store procedure doing ?……..sys.dm_exec_procedure_stats

sys.dm_exec_procedure_stats DMV (Dynamic Management View), described by BOL as follows : http://msdn.microsoft.com/en-us/library/cc280701.aspx Returns aggregate performance statistics for cached stored...

View Article

Image may be NSFW.
Clik here to view.

DMV-7 : Find Queries waiting for memory ?……..sys.dm_exec_query_memory_grants

sys.dm_exec_query_memory_grants DMV (Dynamic Management View), described by BOL as follows : http://msdn.microsoft.com/en-IN/library/ms365393.aspx Returns information about the queries that have...

View Article


Image may be NSFW.
Clik here to view.

Cumulative Update – 12 for SQL Server 2008 R2 Service Pack 1 Is Now Available !

The 12th cumulative update release for SQL Server 2008 R2 Service Pack 1 is now available for download at the Microsoft Support site. Cumulative Update 12 contains all the hotfixes released since the...

View Article

Image may be NSFW.
Clik here to view.

Query Execution Plan from XML to Graphical View

Convert Your SQL Server Query Execution Plan from XML to Graphical View 1) We can get queries execution plan from below query SELECT QS.*, CP.* FROM SYS.DM_EXEC_QUERY_STATS AS QS CROSS APPLY...

View Article

Image may be NSFW.
Clik here to view.

How to Insert datetime with different Timezones

In SQL Server 2008, Microsoft has introduced a number of new date and time data types. One of these is the datetimeoffset data type. This data type includes an offset from UTC time as well as the...

View Article
Browsing all 85 articles
Browse latest View live


Latest Images