Sign In
Vijay
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
@@SERVERNAME
Features by Edition
GROUP ACCOUNT
RESOURCE DATABASE
Transaction Log
Archive
Archives
May 2009
(2)
April 2009
(2)
February 2009
(1)
January 2009
(2)
August 2008
(3)
September 2007
(2)
MSDN Blogs
>
Vijay
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Vijay
SQL Server Workers never yield
Posted
over 3 years ago
by
Vijay Korapadi
1
Comments
SQL Server scheduler/worker is dsigned such that they are Cooperative and the scheduler expects that the workers yield cooperative. However, the API calls such as External modules, Extended procedures etc. may never yield and as a result the worker will...
Vijay
Deadlock because of Indexed Views
Posted
over 3 years ago
by
Vijay Korapadi
1
Comments
Indexed views can cause deadlock when two or more of the participating tables (in the indexed view) is updated/inserted/deleted from two or more sessions in parallel such that they block each other causing a deadlock scenario. The deadlock scenario...
Vijay
Features supported by Editions of SQL Server 2005/2008
Posted
over 3 years ago
by
Vijay Korapadi
1
Comments
Refer the link for SQL Server 2005 features supported by each of the edtiion http://www.microsoft.com/Sqlserver/2005/en/us/compare-features.aspx For SQL Server 2008 features supported by each of the edtiion http://msdn.microsoft.com/en-us...
Vijay
Query fn_dblog() for the list of Operation in active transaction of the current session
Posted
over 3 years ago
by
Vijay Korapadi
1
Comments
declare @xactid bigint declare @transactionid nvarchar ( 28 ) select @xactid = transaction_id from sys . dm_tran_current_transaction select @transactionid = [transaction id] from fn_dblog (null,null) where [Xact ID] = @xactid select * from...
Vijay
DMV to observe wait count and wait time on Indexes
Posted
over 3 years ago
by
Vijay Korapadi
1
Comments
select database_id ,object_id ,index_id ,partition_number ,leaf_insert_count ,leaf_delete_count ,leaf_update_count ,leaf_ghost_count ,nonleaf_insert_count ,nonleaf_delete_count ,nonleaf_update_count ,leaf_allocation_count...
Vijay
List all the statements in the Plan Cache along with the counts and CPU usage
Posted
over 3 years ago
by
Vijay Korapadi
1
Comments
SELECT t . [text] AS [Adhoc Batch or Object Call] , SUBSTRING ( t . [text] , ( qs . [statement_start_offset] / 2 ) + 1 , (( CASE qs . [statement_end_offset] WHEN - 1 THEN DATALENGTH ( t . [text] ) ELSE qs . [statement_end_offset] END - qs...
Vijay
Query to list all the databases in the order of CPU usage
Posted
over 3 years ago
by
Vijay Korapadi
0
Comments
USE master SELECT a . [value] AS [dbid] , ISNULL ( DB_NAME ( CONVERT ( INT , a . [value] )), 'Resource' ) AS [DB Name] , SUM ( qs . [execution_count] ) AS [Counts] , SUM ( qs . [total_worker_time] ) / 1000 AS [Total Worker Time (mSecs)] ...
Vijay
Issue with @@SERVERNAME exceeding 30characters
Posted
over 4 years ago
by
Vijay Korapadi
0
Comments
SQL Server 2005 SP2 has an issue with modifying Agent Job's through Management Studio if the @@servername exceeds 30characters For more info on the issue refer http://support.microsoft.com/kb/940269 If you do not wish to apply a hotfix or upgrade...
Vijay
SQL Server Group accounts
Posted
over 4 years ago
by
Vijay Korapadi
1
Comments
SQL Server 2005 and later versions expect the service accounts be changed using Configuration manager and not through Services.msc The configuration manager does perform other activities such as adding the service accounts to the Groups and this way...
Vijay
How to view the contents of SQL Server Resource Database
Posted
over 4 years ago
by
Vijay Korapadi
1
Comments
To be able to view the SQL Server Resource Database A) SQL Server must be started in a Single user Mode Start with -m flag in configuration manager Even if the Server is started in Single user mode, the database will still not be visible in sys...
Vijay
Datetime Imported from external system
Posted
over 5 years ago
by
Vijay Korapadi
0
Comments
SQL Server accuracy of milliseconds is 1/300 th of a second and the possible values are .000, .003 and .007. Any datetime value in SQL Server with milliseconds will be rounded to one the nearest of these three values. The table lists all possible last...
Vijay
Logical flow of a query
Posted
over 5 years ago
by
Vijay Korapadi
0
Comments
The steps below is the logical flow of how a SQL statement is processed A) Cross Join the tables. If the query involves more than a table, the first two tables are cross-joined and the result set is then joined with the third table and so on and...
Page 1 of 1 (12 items)