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 ArticleThe client was unable to reuse a session with SPID XX, which had been reset...
Hello,We have a recurring problem with one of our MS SQL Servers (Microsoft SQL Server 2012 (SP1) - 11.0.3128.0 (X64) ). The error message from the applicatoion log: Event Type: Error Event Source:...
View ArticleTransactionScope locks table in SQL Server
Hello, I need a little help with a big problem. In my application I need open a Transaction to SQL Server 2005 and call a stored procedure that returns a result set. But executing some stored...
View ArticleProcedure within the merge
My scenarioMERGE Books USING ( SELECT MAX(BookId) BookId, Title, MAX(Author) Author, MAX(ISBN) ISBN, MAX(Pages) Pages FROM Books GROUP BY Title ) MergeData ON Books.BookId = MergeData.BookId WHEN...
View ArticleMaster db restored and services not started
I have restored master database in single user mode .After that when i tried to restart sqlserver i got below error.What is the solution?2013-07-19 17:42:24.64 Server Microsoft SQL Server 2008 R2...
View Articlescheduled job fails
Hi,I have a scheduled job fails with following message. The weird thing is that I can run the ssis package in BIDS with no problem. Also I can MANUALLY run the job in SQL Server Agent. can you help...
View ArticleHow to interpret instance_name in Lock Timeouts/sec metric?
Hi, Am trying to get a deeper understanding on locks. I ran this simple query :SELECT * AS LockTimeoutPerSecFROM sys.dm_os_performance_counters WHERE counter_name = 'Lock Timeouts/sec' I see...
View ArticleHow to remove manually a one instance on a server with 4 instances sql 2005 exp
Hello at all, I have a win2003 server with sql2005 exp with 4 instance. Now I can remove a one of these istances but the add/remove procedure faill and this instance can not uninstall. I would like to...
View ArticleDBCC CHECKDB (master): error 2570 in sys.sysbinobjs
Dear experts,After running the DBCC checkdb against master databas with DATA_PURITY argument, we recieved the error 2570 in sys.sysbinobjs. The complete output is the below (it's in spanish but you'll...
View ArticleCannot connect to server
Hi, I am using sql server 2005 sp1 developer edtion. I have looked at the install logs and all ok, but when connecting to my server (LAPTOP) i get the following error below. I have not changed any...
View ArticleSQL Server 2012 failover cluster on Windows 2012 ,, supported??
Dears,i need to build SQL Server 2012 failover cluster with 2 nodes on Windows server 2012 standard Edition ?? is it supported ?? as i know install SQL 2012 in standalone Windows 2012 server is...
View ArticleWhich are your favorite DMVs?
Hi guys, I'm starting to get into the whole DMVs to help me monitor my SQL Server. The thing is I'm kind of new at them and there are so many. I was wondering which DMVs are your favorites and why?...
View ArticleSQL server utilizing more RAM
Hi, One of my customer says, the ram utilization of sql server is high on particular day but on next day sql is utilizing very normal.how to find previous days transactions or sp’s or quiries which...
View ArticleEnterprise licensing, instances, cores, etc
Say you're running a business offering "software as a service", and you need to run some kind of multi-tenant architecture. There are certainly some tradeoffs in ways to do that, but one of them is...
View ArticleWindows Azure Table Service Signature Access From Program
i need to access the GET Query Tables operation in Windows Azure through RestApi.I am not able to get the signature of table service under version 2009-10-01.apart from i check all request and url is...
View ArticleAuditing Extracts data from staging tables
Hi ,My requirement is 5 source table is extracted from source system. loaded into 5 staging tables.after that i need one auditing table with 3 columns. tablename,sourcecount,stagingcount. once...
View Articleadding file to logshipping primary database.
what happens whyen we add data files to primary database of logshipping? how are they moved to secondary database server? can anyone please explain.thanks in advance.
View ArticleSQL 2005 - dm_os_ring_buffers RESOURCE_MEMPHYSICAL_LOW results
Im using a query against dm_os_ring_buffers in SQL 2005 to find possible evidence of low memory issues. Credit goes to this...
View ArticleRe:.MDF and .LDF
Hi team,we are restoring one database backup.that restore database i forget the .Extends like(.mdf and .ldf) if there is any problem for this.ex:restore database test from disk='C:\test\test13.bak'...
View ArticleHow to get a really unique transaction id in SQL Server?
For auditing reasons I have to determine the current transaction's unique id. Using sys.dm_exec_requests.transaction_id (or sys.dm_tran_current_transaction.transaction_id) doesn't work for me because...
View Article