Quantcast
Channel: SQL Server Database Engine forum
Browsing all 12554 articles
Browse latest View live

TransactionScope 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 Article


Procedure 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 Article


Master 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 Article

scheduled 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 Article

How 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 Article


How 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 Article

SQL 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 Article

Primary Key as an included column

Hi all,I have been using the missing index dmv as a guide for indexing opportunities.One of the 'missing indexes' identified has listed primary key as an included column. As primary keys are always...

View Article


SQL 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 Article


decrease restricted growh parameter value in data file in database

By mistake I have increased the restricted file size growth parameter to wrong higher value. I want to make it less.Is it safe??Sql server is : 2008database : full recovery every hour log backup...

View Article

SQL Srever multiple instance on same server

Hi Everyone, To  maintan multiple version of sql server I have intalled sql server 2005/2008 R2 and sql server 2012 on same developement server. When I am opening any of the SSMS (2005/2008 r2/2012)...

View Article

SQL Server SP1 version mismatch

Hi alI tried to install SP3 then SP1 but it tells me the following (I will translate):La versión de la instancia de SQL Server Shared Component no coincide con la versión esperada por la actualización...

View Article

CTE definition

IS the definition of a CTE stored in DB? If yes, then where. Most of the articles state that it is a dynamic object that produces temporary result sets which lasts only up to the query. IS it the only...

View Article


Which 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 Article

SQL Server 2005 SP4 stopping when unninstalling Update Certificate Root...

Hi friendsI have a win 2003 Server r2 SP2 and SQL Server 2005 x86 Standard Edition SP4. I unninstalled the "Update Certificate Root". So My question is:  Is possible this action could affect the SQl...

View Article


SQL 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 Article

Enterprise 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 Article


Four part naming vs OPENQUERY permission difference?

Hi,When connecting to a DB2 environment using the Microsoft OLE DB Provider for DB2, I sometimes run into permission issues:Using the OPENQUERY syntax, the query runs fine,Using the four part name...

View Article

CPU Utilization was 100%

HI Team,In one of prod box(PRINCIPAL SERVER ) was CPU Utilizing was 100% we have configured Mirroring in that server.I have checked there is no blockings no wait status. My question was can run perform...

View Article

Using batch files - SQL Script which needs to be changed - automation question

Hi All,I want to automate a 2 script process. Currently the 1st script loads a trace data to a table as:USE DatabaseNameGO--Change table name belowSELECT*INTO July_22_tablename-- Change trc name...

View Article
Browsing all 12554 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>