Increase Message length of SQL JOB history - SQL Server 2008 R2
Hi friends, I want to know if we can increase the lenght of the message that is shown in the SQL Job History. There are options to increase the "Maximum job history log size (in rows)" and "Maximum...
View ArticleSQL Agent Job is failing due to job has been suspended
Hi All, I am working on Migration Project, so after installed sql server i restored msdb database and edited maintatince plans with new connection string and when i am trying to run any job i am...
View ArticleHow can i exclude database(Restore mode) from auditing?
I have databse audit job (having storeedprocedure)which runs every day for auditing the databases(Storedprocedure - Alldatabaseaudit). One of the DB is in restore mode.how can i exclude the database...
View ArticleRebuild Index ONLINE = ON vs DROP/Create index
I came across with the following scenario: The system started to perform very poorly. I checked sys.dm_exec_requests and there were several UPDATE calls waiting on the resource KEY XX:YYYYYYYYYYYYY....
View ArticleHow to restore SQL 2005 DB to SQL 2000
Hello, I'm tring to restor a DB from sql 2005 (which is located on my local computer) into sql 2000 (which is located on the server) and I am getting this type of message: TITLE: Microsoft SQL Server...
View ArticleCrystal Reports growing tempdb
Hi, I have a crystal report that runs through a scheduling package through a third party runtime. When the report is run that way it blows the tempdb. If the developer gives me only the code it...
View ArticleAttach Database failing
Hi all, Hope I am posting in the right forum. My operating system is Windows 7 Professional 64-bit. I have Microsoft SQL Server 2008 R2 version 10.50.1617. I have a database mdf file which was made in...
View ArticleHow to span multiple disks after running out of space on one
My SQL Server 2008 R2 DB machine is quickly running out of space. I am adding additional storage which will be just another drive letter on that machine. What I'm looking for is how to then tell SQL...
View ArticleSqlDependency query notification subscriptions cause row updates to lock...
I'm using SqlDependency to monitor a table for changes. However, whenever SqlDependency begins monitoring a table, any updates to that table inside a transaction cause the entire table to get locked....
View ArticleSQL 2008 R2 Best Practices for Updating Statistics for a 1.5 TB VLDB
We currently have a ~1.5 TB VLDB (SQL 2008 R2) that services both OLTP and DSS workloads pretty much on a 24x7x365 basis. For many years we have been updating statistics (full scan- 100% sample size)...
View ArticleIs it possible to determine what caused a duplicate key
Is it possible, after you received a 'cannot insert duplicate key' error, to find out WHAT THE DUPLICATE KEY WAS that caused the error? It seems a trivial thing to do, to report the value that failed,...
View ArticleSqlDumpExceptionHandler: Process 3920 generated fatal exception c0000005...
Hi Guys, How are you. i hope you all are having fun. well i have an issue on one of the production box. Version of the box: Microsoft SQL Server 2000 - 8.00.2187 (Intel X86) Mar 9 2006...
View Articlejob history
Hi, We created some maintenance plans that created jobs. These jobs are running daily. When I checked job history by right clicking on job and view history, some jobs have history for last run and some...
View ArticleWhats a TUF File?
TUF file is the Transaction Undo File, which is created when performing log shipping to a server in Standby mode.
View Articlepartial table backup
Hi, We're using sql 2005 enterprise sp2 and want to do a full backup and restore on some tables only, is it possible? What's the tsql command? thx a lot. Thanks and regards, Wallace
View ArticleUnble to run job for SSIS package
Hi, i tried to create a job to run my SSIS package and i got this error below: Executed as user: NT Service\SQLSERVERAGENT. Microsoft (R) SQL Server Execute Package Utility Version 11.0.2100.60 for...
View ArticleInvalid object name 'master.dbo.spt_values'. (.Microsoft SQL Server , Error 208)
I am unable to right click and view the properties on any database on this server I get this error Invalid object name 'master.dbo.spt_values'. (.Microsoft SQL Server , Error 208) Ihave tried to run...
View ArticlePartition function range
Hi,I have a question concerning partition function range. Description :I have 2 tables --> 1 Dimension Table (DimTime) and 1 Fact Table (FactData).DimTime has an auto-generated PK which is...
View ArticleInstance name doesn't matter in SSMS
Hi, We have 2 sql server 2008r2 named instances on the same box. They have different ports, 7001 and 7002. I noticed that when accessing to each of them, instance name doesn't matter. All it matters is...
View Article