Query "Stuck" in CXPacket wait with no other waits for that session id in the...
So I have a query that is running with a large number of CXPacket waits. There are no other tasks in the sys.dm_os_waiting_tasks that are blocking this session id with a wait other than CXPacket Wait....
View ArticleDifficulty compressing a huge database - compact command fails
I am trying to compress a 419 GB database, following the instructions in the compression example described here: http://msdn.microsoft.com/en-us/library/ms190257(v=sql.90).aspxI have set the filegroup...
View ArticleSQL Server 2000 db corruption and tools.
Hi!The databse corruption hit our sql server 2000, 200 Gb database.The dbcc check database never finish the scan, it goes sleep.We have backups but we don't know an ok database because the dbcc checkdb...
View ArticleResult Not Showing When Using NOT IN in Query
Hi, Result Not Shown in NOT IN Used Query. The First Query Return 1 Row for the criteriaselect * from RE_SURGERY_SCHEDULE where RSS_SURGERY_SCHEDULE_NUM='SG10131212/0003' The Second Query Return 0 Row...
View ArticleSQL Server Express 2012 Install fails Repeatedly
I have tried to install SQL Server 2012 Express with tools on my Windows 7 Home Premium system. it has failed twice. I then tried to install just the LocalDB version and that installation ran to...
View ArticleSQL Server 2005 Agent Logs
Hi,I am getting below erros in SQL Agent:Please help me to solve.2011-03-24 00:38:38 - ! [298] SQLServer Error: 258, TCP Provider: Timeout error [258]. [SQLSTATE 08001] 2011-03-24 00:38:38 - ! [165]...
View Articlehow to rtroubleshoot hung sql server job?
This is sql server 2005(SQL server 9.0.5000). One sql server job is used to kick windows batch file.It runs hourly every day.These days, this sql server job always hungs sometime.But I don't why it...
View ArticleTriggers On ALL Server table name change
HI all, I would like to "create trigger trig_name on ALL Server for [event]..... as...."what't the event for table name changes ?I find Alter_table wont' trigger after table name changes.
View Articlefind the missing date from output data
Hi Guys,For Ex,I have the following ouput rows with column likeId Name Mobile Signindate1 AAA XXX 2012-03-012 AAA XXX 2012-03-023 AAA XXX...
View ArticleFailed to map 16777216 bytes contiguous memory
I am trying to set up a Full Text Catalog on SQL Server 2008 running on Windows Server 2008 R2 Enterprise.I have created the catalog and added fields to be indexed. However, after a brief attempt at...
View ArticleHow to resolve CXPacket and PageIO latch problem
Hi experts i am heavily facing CXpacket and Pageio latch, In SQL activity monitor Buffer I|O is always, please help me how to resolve.my physical disk perfmon.please guide me to resolve.Thanks -...
View ArticleOwner of db_dltuser, SQLAgentOperatorRole
I am using sql server 2005 and by mistake I assigned a user as the owner of the following schemasdb_dtstltduser, sqlagentoperatorrole, sqlagentreaderrole, sql agentuserrolehow to resolve that.I tried...
View ArticleMicrosoft SQL server error:233
I am getting this error when connecting to sql. I cant get into my databases now- its pretty ugly. "A connection was succesfulyl established with the server, but then an error occured during the login...
View ArticleDifferent execution plan for same query but for different condition value
Hi All,I'm facing a strange situation where same query for different condition not working.1--Select top 10 * from revenuefact(nolock) where feecode ='OW4'2--Select top 10 * from...
View ArticleTransactional log file issue
Dear All, There have been issues in the past where the transactional log file has grown too big that it made the drive to limit its size. I would like to know the answers to the following please: 1. To...
View ArticleHow to maintenance index for big sql server database?
How do you do index maintenace for big sql server database(>1 TB)?Want to know routine work, how you do it manually? And don't want to cause performance issue.Thanks!
View Articlesys.dm_exec_query_stats
In the DMV - sys.dm_exec_query_stats, I see in BOL:total_elapsed_timebigintTotal elapsed time, reported in microseconds (but only accurate to milliseconds), for completed executions of this...
View ArticleCopy Database
I have a request to copy a portion of a database from server A to server B as an archived process.Server A current database: 75 tables Server B database: only need 25 tables out of the 75 tables. Most...
View ArticleMsg 22832, Level 16, State 1, Procedure sp_cdc_enable_table_internal, Line 607
I am trying to enable cdc on one of my tables, and I get the following error and nothing I have found seems to work,Msg 22832, Level 16, State 1, Procedure sp_cdc_enable_table_internal, Line 607 Could...
View ArticleBuffer Cache Hit Ratio
hi team,we are continuously getting the alerts Buffer Cache Hit Ratio 70% like that, how we can reduce the Buffer Cache Hit Ratio %.
View Article