Cannot see dm_db_index_physical_stats
HiI have a number of DB's set up on a SQL 2008 instance using 2005 compatability.I would like to see the level of fragmentaion on the indexes however when I right click on index, slect properties then...
View ArticleDMV permissions in 2005/08
Hi Hopefully this is a very simple question . If I need to select from a specific DMV , will it work if I am granted specific Select permission on the DMV without having view Server State...
View ArticleStored Procedure - Execution Time Table?
Hi,In MSSQL 2005 SP2. Does the engine maintain a table with last execution time of a specific Stored Procedure.I would like to query this to determine how far back my query should look since the last...
View ArticleHow to recover database from .mdf file
create a database ofequal size to the one you're trying to attachshutdown the server (Stop)swap in the old mdf file (replace new .mdf file with .mdf file to be recovered )Location: C:\Program...
View ArticleUnexpectedly error - ex_handle_except encountered exception C0000005 - Server...
Hi Guys,I've faced an unexpected error in my test and production environment. The SQL Server was shutdown and it was created a dump file with the follow information:* BEGIN STACK DUMP:...
View ArticleErrors trying to fix tempdb
I'm getting corruption errors in tempdb on sqlserver 2005The microsoft site said to remove the tempdb files and start the database with the following switches:sqlservr -c -f -T3608 -T4022When I do that...
View ArticleFull vs Copy Only Backups while using Availability Groups
I'm setting up some SQL 2012 Servers and plan to use Availability Groups. I use maintenance plans to perform my backup tasks. I have a question about full vs copy-only backups.I'd like to use my...
View ArticleMicrosoft TechNet Wiki SS DBE Guru - Winners for December!!
The results for December's TechNet Guru competition have been posted!http://blogs.technet.com/b/wikininjas/archive/2014/01/16/technet-guru-awards-december-2013.aspxCongratulations to all our new Gurus...
View ArticleHow do I know how many SQL Servers in my domain?
Hi Experts,A new accidental DBA here. How do I get a list of all the SQLL servers in my domain?Thanks
View ArticleSQL active user count
I am trying to figure out how to get the list of active users in SQL 2005 with just basic data read/write permissions.Is there a singular right that I can grant that could allow this to work without...
View ArticleBest way of handle Log Shipping in Physical Movement of SQL Server
Hi All We are moving SQL Server physically from one rack to another in data centre. One of Server 2005 have Log shipping active. What is best way to maintain Log Shipping during this movement. I do not...
View Articletroubleshoot one transacion log job failure--need help
Setup transaction log backup of all databases on sql server every hour.3:00 am transation log backup job fails. Then Success at 4:00 am,5:00 am ,6:00 am, 7:00 am...I check job history of 3:00 am...
View ArticleSQL 2000 public role
Hi~ When we create a new login on SQL 2000 server. It will DEFAULT group into 'public' role on Database master, msdb,.......is it possible to take out the new login from the role 'public' of msdb ??
View ArticleDisable the parameter Include inheritable permissions in SQL Server folder
Hello, I need to explean me:What impact would represent to the operation and performance of SQL Server if i disable the parameter “Include inheritable permissions from this object’s parents” in the...
View ArticleIf I resize job history log to see more entries listed under job history,...
Here is I am going to do:Using SQL Server Management StudioTo resize the job history log based on raw sizeIn Object Explorer, connect to an instance of the SQL Server Database Engine, and then expand...
View ArticleMaintance jobs with Maintenance plans - troubleshooting
Some of our old servers have maintenance jobs created with inbuilt mainteance plans. We find difficulty in troubleshooting these kind of jobs when it fails. Can anyone shed a detailed analysis of how...
View ArticleStop keep on generating trace files
Hi,Auditing is enabled by the use of two stored procedures configured to run at server startup, these procedure enables traces which audit all users with sysadmin or control server privileges while...
View ArticleHow to check ms sql server instance resides on whch server ?
hi team,i am new to ms sql server dba, i have ssms installed in one server and from there i am acceesing all ms sql server instances , how to check in which physical server these instances(databases)...
View ArticleCreate Linked Server TO BMC Remedy
Hi All ,Please tell me the procedure how to create a Linked Server to BMC Remedy from the SSMS .Am a newbie kindly provide detailed information .Thanks in Advance Priya
View ArticleLogin Failed error on SQL server express installation in my Virtual Machine
Hello Friends,i am getting error " is not a valid login or you do not have permission"I have tried installing both SQL Server Express 2008 with Tools and SQL Server Express 2008 with Advanced Services,...
View Article