SQL Server 2005 does not accept connection
I have develop a system for my client the system was run smoothly but in yesterday we encountered a connection timed out from every remote machine that connect to this server.That was not happened...
View ArticleDoes it cost CPU to return results to client?
I have a modest select statement that returns about 7k small rows, maybe 200k of data.When I run it (in SSMS) it costs about 1.5 seconds of CPU.If I wrap the select in a count(*) so it just returns a...
View ArticleExisting Table Partition
Hi,We have a existing table and it has two date columns (Datatype - Datetime) and it's very big table and we would like to make a partition table. This is a frequently accessed table. We need partition...
View ArticleTempdb unavailable couldnt find the error
HiI faced an issue today early morning. My instance is running on cluster, and suddenly at 3 am tempdb went unavailable. I checked the error logs, event logs and system logs but couldnt find the reason...
View ArticleDatabase initial size question
Hi all,I've noticed that a such application's databases constantly grow in size, this is not a problem at all. But I've also noticed that theese databases' initial size grow (initial size = actual...
View ArticleLogshipping and the time problem
Hi allI set the logshipping for a database, however it only run for one time. And I found the time of the server change to another day after the first logshipping.any idea about this issue ?
View ArticleHow to transfer data from 2008 to SQL Server 2012
I am setting up a new SQL Server 2012 trying to move data via backups from a SQL Server 2008. The 2012 server says the backup data is not compatible. What is the recommended method to do this?Many...
View ArticleUnable to connect to the data source. Please verify the connection properties...
Hi All,I am posting this information believing that it would certainly save someones time. We are using Sql Server Reporting Services 2008 R2, the objective is to generate the reports bu connection to...
View ArticleWhat all database operations are logged in transaction log
I would like to know that what all operations are used to logged in transaction log?Please also suggest if any blog or white paper for this details.advance thanks!Regards Vikas Pathak
View ArticleDoes Option recompile force the recompilation of all Nested/child stored...
Hi All,I just wanted to find out if a top level stored procedure uses the with recompile keyword, does this force the recompilation of all child/nested stored proecdures or will those need the WITH...
View Articlelinked server strange behavior
HiI just linked a server but when I browse the catalog I see the same dabases, it´s like I´m brwosing into the non linked server. No clue what´s going on. I have another linked server and it shows...
View Articlelogin failed error
Hey friends,In my SQL server 2008 R2, I have found in error log contineously following error:Login failed for user 'domain\tomt'. Reason: Attempting to use an NT account name with SQL Server...
View ArticlePowershell to import csv file
Hello all,Running sql 2008 sp1New to PowerShell. Can someone please check the syntax and tell me if something doesn't look right.Trying to load a csv file into a tableThe csv file is comma delimited...
View ArticleGuidelines for estimating resources needed for SQL SERVER in a vitual...
Hi,I am working on a project to raise our db infrastructure.We currently have one SQL Server 2005 with two instances that is on a virtual machine.We want to have two distincts server on a bigger...
View ArticleTransaction Log backup error
We were trying to backup the transaction log for one of our databases that is in Full recovery mode. However, while trying to perform the backup we encountered the following error.Backup detected log...
View ArticleStatistics and Tempdb
OS - Windows 2008 R2 SQL Server - 2008 R2 SP2 I executed the following t-sql to gather statistics info on a server: declare @temp1 table (DbName varchar(250), TableName varchar(250), IndexName...
View Articlerestore while backup job is running
We are using sql server 2008, planning to migrate to sql server 2012.We have an ETL process (job 1) that runs each night to restore data from server-A to server-B; We also have a backup job (Job 2) set...
View ArticleRecovering 1TB of unallocated space?
Please read the post well. I posted somewhere and most of the posters assumed that the 1TB table is there. It's not. Also, the size of the MDF is 1.75TB, the HDD has 1.83TB used and 65.8GB is free.So...
View ArticleThe query has been canceled because the estimated cost of this query exceeds...
Hi Experts, I am getting below error while executing the stored procedure. The query has been canceled because the estimated cost of this query (3258) exceeds the configured threshold of 2500. Contact...
View ArticleHelping interpreting SQL 2008 deadlock graph
One our of ASP.NET web apps was a deadlock victim while trying to update a column value on a record (batch table in our case). The app tried to update a column value for a single record to reflect an...
View Article