SQL server 2012 -Sys tables
Hi,In Sql, which sys table contains database name, table name, field name, field type and field size.I want these all fields in a single Sys table.If anybody knows about this then please let me...
View ArticleDBCC SHRINKFILE not recaliming the free disk space in a datafile but throwing...
Hi, Despite this is an huge narration, in order to get a solution, I should mention the background of this database file on which DBCC SHRINKFILE is getting failed.We have a SQL Server database file...
View ArticleMany Buffer I/O and network I/O wait
Hi all when I open the Activity Monitor and I see there are many Buffer I/O and Network I/O wait.is it healthy ?? and what's the Buffer I/O ?? is it memory?
View ArticleApplication connection to SQL Server unstable!
The connections from the application to the SQL Server is unstable with the application users reporting freeze in their application screen and again connection starts working after some time. I have...
View ArticleSQL consistency based I/O error, help needed
Hello everyone.I'm new to database errors so I'm not really sure what I should do next. I'm using an accounting program running on SQL Server Express 2005 (9.0 SP3) on a Windows Server 2008R2. While...
View ArticleMemory utilization of SQL server 2000;2005,2008 &2008R2 sql servers
Hi All,From past few days we are getting so many issues/alerts regarding sql server.exc is utilizing 90% of memory in 2000;2005,2008 &2008R2 sql serversMy question is there any check list i need to...
View ArticleSch-M and Sch-S deadlock related to partitioned tables
Hi,Very anoying scenario... We have large partitioned table and we use staging table loads, and partitions sliding in and out of this table (part of the process is also rebuilding indexes on the...
View Articledbcc check repair
Dear Experts,I would like to know that if we repair some tables with repair command than what could be future impact and how can someone track the repaired tables in future.please share your experience...
View ArticleIs doomed transaction inevitable if deadlock occurs in a trigger (SQL Server...
Hi all,Below are two scenarios, however, what I am trying to accomplish is to catch deadlock errors and re-try the DML that was chosen as the deadlock victim. Does anyone know of way to accomplish...
View ArticleSQL Browser and SQL VSS writer missing
I have an issue with a SQL 2008 R2 Standard default instance (running on Server 2008 R2 Std.) which appears to be missing parts of its installation.The SQL Server Browser and SQL VSS writer services...
View Articlehow to clear the table
i have a temporary table (table1) , after execution i what clear it for waiting for new data
View ArticleCannot read SQL Server 2008 database - version increased to 661 from 655
I purchased a new desktop computer that had Windows 7, so I installed Visual Studio Express 2010 from an iso image. Now the database cannot be read on my laptop. I then installed VS Express 2010, as...
View ArticleSql server 2008 management studio
Can I install Sql server 2008 management studio into Ubuntu operating system? If not then is there any other option or any other way to use sql database to be open or restore into Ubuntu /...
View Articlewhich one is faster? query from Table or View
I have a transaction table where I have around 1 million records. I have created a view for this table with around 50 other tables joined via foreign key.Now, when I fetched a record using a simple...
View ArticleSQL Exclusion?
Hello,This statement reports 9,765 items select SYS.Netbios_Name0 From v_R_System SYS This Statement reports 6,102 items select SYS.Netbios_Name0 From v_GS_SoftwareFile SF join v_R_System SYS on...
View Article"Deadlock" example follows. Need help with Analysis.
To betterunderstand deadlocks I created a simple example consisting of three Sql 2005 queries, each run in its own query window (different SPIDs). My analysis and questions about the ERRORLOG follow...
View ArticleAny benefit in SQL 2008R2 table partitioning when filegroups reside on the...
Hi,Is there any benefit of table partitioning when the table’s partitions reside on the file groups that stored on the same LUN?Thank you,
View ArticleAny way to predict the query performance benefit of SQL server enterprise...
Hi,We have a SQL Server 2008 R2 standard edition instance with 64 Gig RAM and 4 Core CPUs. We understand that SQL Server enterprise can provide better query execution performance because of the reasons...
View ArticleSQL 2012 SP1 producing deadlocks on sys.query_notification
I have run into a situation on my servers where our service broker setup for query notifications has begun producing deadlocks. The situation is described perfectly in this KB:...
View ArticleProper Index for Join query
Hi All. I would like to know what's the proper index should create for the join query?select a.col1,b.col2 from table_a ainner join table_b b on a.col3=b.col3and are there any resources...
View Article