Same query creating same number of rows but occasionally using a work table
Between different runs against the same server once a while we get a worktable usage (the spill to tempdb on the sort operator happens on every run and every run is under maxdop 1) and the duration of...
View ArticleMove a Database from SQL Server Express 2008 to SQL Server 2005 (SharePoint)
I have a need to move a SharePoint Content database from an instance od SQL Server express 2008 R2 to SQL Server 2005 (SP 4).The SQL 2005 can run SharePoint, but I am having problems with the database...
View ArticleSQL server Agent Job email notifications not being sent
I trying to set up some failure job Email notifications on Sql Server Agent jobs. So, I configured database mail and tested and was able to receive mail through sp_send_dbmail and "Test mail" option...
View ArticleSQL server 2008 R2 Log shipping Primary on Standard and Enterprise as standby
Hi,Want to establish Log shipping between SQL server 2008 R2 Primary on Standard and standby server on Enterprise as.Is there any issue regarding saver version but different...
View ArticleProgram_name in sys.dm_exec_sessions
We are running the SQL Services with domain account and for auditing reasons we are collecting information as who connected ,When , from which program etc using log on triggers ... using...
View Articledatabase transaction log size grow too big
Hi,i got a question regarding my transaction log files. it keeps on growing now the size is 170+GB. while the database size is not up to 1 GB. i try to truncate n shrink the log but the size still the...
View ArticleSQL Server - Runing properly with Instalation Failures and Router?
Hello, I've bought SQL Server 2012 but i have some complement problems involve. First of all.. in the installation history i have two failures: - Database Engine Services - SQL Server Replication Also...
View ArticleData warehouse
Just wanted to know how the sql serveroptimisation...We have 10 Tb of data in datawarehouse and client wants us to handle strategy for optimisation assuming the data to grow my 100% comparitively.Any...
View ArticleDBCC FreeprocCache..Made the application up..need help
We are supporting a share point application with huge content Database. And the applicaiton went down...and it came back live after we ran dbcc freeproccache().before running the freeproc cache we took...
View ArticleDoes SQL running in a virtual machine (vmware) automatically uses additional...
Hi. We are having a perform issue running SQL 2005 32 bits in a vmware virtualized machine. We changed windows server 32 bits OS host machine for 2008 64 bits and added additional physical memory to...
View ArticleQuestion about proper index on table to minimize deadlocking
We have a deadlocking issue when two queries try to access the same table. (Sql 2005 Profiler shows us the deadlock. The INSERT statement is the "winner" and the SELECT against the same table the...
View ArticleSql server memory usage high
i have sql server 2005 with below hardware.CPU :- Xeon 2.40 GzRAM :- 4-GB Hard Drive :- 1-TBin this server we have 1 database which is near about 3 to 4 gb in size every day sql server process goes to...
View ArticleQuestion about DBCC TRACEON(1222,-1)
We are having deadlocking issues on a prod server. I was going run DBCC TRACE ON(1222,-1) on the server and then read this on MSDN:"Use DBCC TRACEON (trace# [, ....n],-1) only while users or...
View ArticleSystem DSN to Windows Azure SQL Database
I am struggling with setting up linked server connection to Azure SQL. Connection works easy from SSIS and SSMS 2012.In the system DSN setup I select SQL 11 library, enter server name, login, password...
View ArticleNonsensical results using columnstore index
I'm looking for any ideas to the results I'm getting from columnstore indexes in SP1. Both should be impossible, but having them happen pretty much blows that out of the water. This is a completely...
View ArticleSQL Server 2012 Management Studio: I cannot create a SQL Server Express...
Hi all,I have SQL Server 2012 Express installed in my "Windows 7" PC that is part of Windows System in our Computer Network System. In the SQL Server 2012 Management Studio (SSMS 2012) of my SQL Server...
View ArticleSQL Server 2012 identity jump to 1000...after restarting Sql server service.
with sql server 2012 where after restarting sql server service identity getting seeded 1000ID is identity(1,1) , i have instered few rows.ID Name========1 jigs 2 jigs shah 3...
View ArticleAdding a Provider for Oracle in SQL Server 2008
I have a feeling this is fairly straightforward, but for some reason am having a hard time finding something clear cut regarding my situation. I have SQL server 2008 developer installed on my machine...
View ArticleQuery On Trigger
Hi guys i am working as a software engineer at bangalore,i have given a task by team-lead .I have two tools (i.e., SQL Server and My SQL) and two databases in different tools the thing is if update any...
View ArticleShare a database with LocalDB
Hi all,Reading the "permissions" part of this page I understand that I can share a database with several users even if those users do not use a shared instance.To do that, I just need to create the...
View Article