How to connect different SQL servers without using linked server connection...
Hi,We're trying to read data from another SQL Server through our SQL server but we're not allowed to do that using Linked Servers. Please suggest an alternative here as the DBA says Linked Servers are...
View ArticleData Compare and Sync using Powershell on Visual studio 2010 box with SQL...
Is there a way to do data compare & sync (write updates to target) using powershell?I am using VS 2010 with SQL Server 2008 R2 for development. I use data compare feature most of the time. I am...
View ArticleSQL Server 2012 Change Data Capture from Oracle big Problem
Dear Microsoft-Team,I have a really weird problem with the varchar values. I will explain it to you. I have started the cdc service to catch the updated data. But the source data are really different...
View Articlesql express db limit
Hi I've a sql 2005 Express install on my system. I have a db build with sql 2005 (MY_OWN_DB) that reach 4Gb size.If I upgrade SQL version to SQL 2008 R2, without uninstalling, my db is automaticcaly...
View Articleex_handle_except encountered exception C0000005 - Server terminating
Can somebody tell me what has caused the error based upon this stack output.Our version is:Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0 (X64) Jun 17 2011 00:54:03 Copyright (c) Microsoft...
View ArticleSQL Server 2012 syspolicy_purge_history fails step 3 "Erase Phantom System...
I recently installed SQL Server 2012 Ent (x64). The install is a stand alone default instance.The syspolicy_purge_history job fails on step three with the following error:Executed as user:...
View ArticleIn index rebuild process my data files get full and then empty also in huge...
In index rebuild process my data files get full and then empty also in huge amount....while Sort_in_tempdb=Onany idea?ex:ALTER INDEX [d_1f05349780000502] ON [dbo].[dmc_coll_relation_s] REBUILD...
View ArticleScripts to be generated befroe restore
While restoring, its an usual behaviour for us to retain the destination permissions like, database users, database roles, object level permissions etc.But when we refresh from the production backups...
View ArticleRebuilding/Reorganize indexes based on avg_fragmentation_in_percent right...
On weekly basis I rebuild all indexes of a database. Due the continuously grow of the database size the duration of the rebuild operations exceeds the available maintenance window of 5 hours.Therefore...
View ArticleProfiler shows minimum 15ms quantum of CPU time?
We have a "chatty" application that makes a lot of sub-5ms calls to the database.Everything is running as maxdop=1 on a 2 core dev system.I only just noticed that profiler is reporting a lot of these...
View ArticleHow to pass parameter values to asmx web service through a stored procedure...
Hi,Can anybody please help with this?I need to pass paramter value to my web service which I have hosted locally through a stored procedure. But I am not able to find a way to use that URL to pass...
View ArticleSQL Server Connectivity Issue
I am able to connect the server but not to the SSMS. getting the below error:"The client was unable to establish a connection because of an error during connection initialization process before login....
View ArticleHai all.
how can we troubleshoot connection timeout issues in sql server,like when we try to login to sql server sometimes it do occur that " connection timeout error"how can we troubleshoot and possible...
View ArticleAllow everybody to access a db ?
Hi all, How do I allow everybody (NTLogins and SQL Users) access to one table in a specific db ?Thx for your feedback. acki4711
View Articlethe TEMPDB properties in the "Files" option show the "Initial Size (MB)" as...
Also, when I look on the file system, the tempdb mdf file is 27GB.... So why is the files option showing 8MB????Also, this query says it is 8MB as well, but on the file system it shows up as 27GB? We...
View ArticleReORG causing Transaction log grow in simple mode
sql server 2008 R2 , sp1, 64 bit enterprise edition.My database is in simple recovery model.It is a publisher.While running reorg on a big table , transaction log grows big . When I checked...
View ArticleJust how well does SQL Server use a three-field clustered PK?
We have a little utility table, "little" with about 100k rows, that has a PK with three fields, then half a dozen other fields. This morning at 4AM two ETL jobs managed to deadlock over it. We can't...
View ArticleCan't Reduce VLFs
Hi guys, I have a job that tries to make sure every DB has < 50VLFs. It shrinks the log then regrows it to its original size in 1 step. I have one DB that I can't get < 300 VLFs. I think its...
View ArticleHow to convert SQL cluster server to Virtual Machine
Hello All,Could you please help me in providing information of what all steps needs to be taken care while converting SQL Cluster to Virtual Machine.- We need to configure Cluster even in VM with...
View Articleupdate performance
i am trying to update 300, 000 records using a join and a condition, it takes around 11 min, the time is too lons, i want it to be in seconds,the schema of two tbles is given below:pat hospid...
View Article