Attach adventureworks 2008 to SQL server via SSMS
Hi :I need help to attach adventureworks database 2008 to the SQL via SSMS, because every time I try to do it this is what I get :TITLE: Microsoft SQL Server Management Studio...
View Articleinstance failure in sql server 2008
Hiinstance failure in sql server 2008 . When i connect my vb application to sql server 2008 it is showing instance failure error. How to solve this issue. Help me out.Regards Syed
View ArticlePartitioning Master Tables for Faster Load (Switch In).
Hi All,We have master table where we have data more than 304.5 Million Records. For Loading this table, ETL is taking more than 6 hours every day in production. To reduce the Load time thought to go...
View Articleclear trunsaction log
Hi, My transaction log was 100% full and I was told to shrink the T-log When I issued "dbcc shrinkfile (Test1_log,1024)", it gave me error something like "you cannot shrink T-log due to Full Backup"...
View ArticleRestored master not restored msdb now have error
Some time ago I have server failure and have restored master databases and all user databases. I have not restored msdb database. The msdb database is default after clean install of a server. Now I...
View ArticleSQL server is lazy, how do I motivate it ?
I have a very large DB with fact tables with billons of entries. My problem is that I can't get SQL server to make use the HW I have. Before anyone states the obvious, ofcourse I have looked for...
View Articleassociating a table with its partition functions and schemes
I'm trying to work out what partition scheme and functions are associated with existing partition tables, I've looked in:sys.partitionssys.tablessys.partition_functionssys.partition_schemesand unless...
View ArticleCommit_Table WaitType
We experience periodic slowness on queries pulling changetracking data through the ChangeTable function. We are on SQL Server 2008 R2 version and CU updates to 10.50.2811, and in SnapSHot isolation....
View ArticleSQL2012 linked server to SQL2000 slow to insert
An insert statement run on SQL2012 server to a linked server (SQL2000 destination) is slow. Test script is below.-- Run on destination server (SQL2000) CREATE TABLE RemoteTable(ID INT Identity(1,1),...
View ArticleLarge MSDB
Please can someone help.A client server, with several user DB's has a large MSDB data file (~40GB) which is consuming space.I have attempted some troubleshooting already by following these...
View Articlealtering a populated column from int to bigint
Hi , we run std 2008 and would like to change a non pk , non indexed column from int to bigint. The column is already populated with int values and nulls. What impact would using the alter statement...
View ArticleCan I use performance_dashboard reports with MDW?
Can I use performance_dashboard reports with MDW?If yes how?Thanks
View Articlein consistent information reported in SQL Management Studio - msdb datafile...
msdb properties shows database size 58GB, but when ran report 'Disk Usage by Top Tables' the largest table showed on 11MB and only 7 tables has 3MB in size and rest of are les that 100KB.Thanks in...
View ArticleAnyone know of a way to access the properties of an object with the WMI()...
I have a SQL Agent job that is launched on a WMI file creation event. However, when the job runs, it is unable to retrieve a WMI property of the target instance (the created file). Here is the SQL...
View ArticleSQL ERROR Msg 845 Time-out occurred while waiting for buffer latch type 3 for...
I am getting below error while accessing the database.we are not able perform any backup ,shrinkfile, detach operation on database.also same error occured while accessing database front end.Msg 845,...
View ArticleACTIVE_BACKUP_OR_RESTORE
Hi,I started backup to clear the transaction log (with Full RM). After the backup was completed, I checked the vlf status with"select name,log_reuse_wait,log_reuse_wait_desc from sys.databases". It is...
View ArticleMinimally logged operations in Standard edition
Hi,I am using SQL Server 2008 Standard edition.I want to have couple of databases with minimal logging enabled. Is that possible on Standard edition ?I tried to look for this in documentation, but...
View Article