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

Powershell invoke-sqlcmd calls stored procedure second time after Query...

We have a very strange issue. We have noticed that a single stored procedure is executed twice when is called by Powershell invoke-sqlcmd command.When we trace it we can see the procedure starts...

View Article


SQL Server backup related issue

We are running SQL Server 2008 R2 SP1. There is a scheduled transaction log backup using SQL Server maintenance job that runs at a certain time of the day. The job runs fine on few days and fails few...

View Article


how to resolve "insufficient memory usage" in sql server 2000

I have one sql 2000 server in my environment and now getting an insufifcient memory problem.Please help me how to resolve it.Details:SQL server :- 2000- SP4 OS:- win2k3 server- SP2 Total 3.25 GB RAM...

View Article

How to identify the spike in CPU utilization due to concurrency in SQL Server

Hi All,I have a Windows 2012 server  which is 2 core processor with 16 logical cores as per sys.dm_os_sys_info and max_workers_count of 704. It has two sql server 2012 instances.The default instance is...

View Article

Change the Default backup location in sql server 2005

Hi Guys,i want to change the default location of backup in sql server 2005.do we have any option in 2005 other than to change in the registry?Thanks in advance....

View Article


Why are DDL changes to a temporary table not allowed within a snapshot...

Why are DDL changes to a temporary table not allowed within a snapshot transaction, especially when the temporary table is created within the snapshot transaction? I understand why DDL changes to a...

View Article

Update PDF file in FileTable

Hi- I'm new to working with FileTables and am wondering if the following code (which saves annotations to a PDF file in the FileTable with changes that are made through the PDF control) makes sense. My...

View Article

Monthly Partition Implementation for daily Load & Switch IN has to work

Hi All,Any one has Implemented Monthly partition on main table & Load the Temp table daily and switch in this data on daily basis. What I want to ask that How will I switch In data for monthly...

View Article


Memory is not cleared when big batch job runs in sql server 2008R2

Hello,We have migrated to sql server 2008R2 and I have set up my MAX Memory 32 GB and MIN left a default 0.When I was watching performance while running big batch job, it was done within 30 minutes but...

View Article


SQL Server 2008 R2 Express service crashes on Windows Server 2012

I am trying to deploy our application that uses SQL Server 2008 R2 Express (SP1 I believe) to a Windows Server 2012 Standard virtual machine (using VMWare Workstation 9.0.2). The SQL Server Express...

View Article

online index rebuild of a single partition

Why does sql server not allow online rebuild of a single partition of a partitioned table. We have tables with over 3300 partitions and few of those partitions get heavily fragmented and the only...

View Article

SQL Agent - UPDATE OPENROWSET not working

Hello,I've deployed an SP to export some data to an Excel sheet (using OPENROWSET and Microsoft ACE provider) which works flawlessly when launched it from a query window using my admin credential....

View Article

Data copy across Linked Server much slower than expected

I'm trying to retrieve data from a SQL Server at a remote site running SQL2008. There is a query involved, but to isolate the issue I've materialised the data, so all subsequent tests are now doing a...

View Article


Recovery of corrupt/lost .ndf file. No backup of database

Hi,Firstly, I am no database expert, no pardon any idiocy...I noticed that my database was no longer working and upon investigation noted that three .ndf files were missing. These files do not exists...

View Article

Azure SQL Server Pre-Login Handshake Error

I'm attempting to connect to a SQL Database instance hosted in Azure via Visual Studio 2012 Ultimate. Everytime I try to connect I get this lovely message, "A connection was successfully established...

View Article


Changing column in NOT NULL. Why is there so much transaction log activity on...

Hi guys,the setup is as following: SQL Server 2008R2, recovery model FULL in order to better track what's going on in the transaction log.CREATE TABLE dbo.justnumbers(id INT IDENTITY, number FLOAT...

View Article

SQL Server backup issue

We are running SQL Server 2008 R2 SP1. There is a scheduled transaction log backup using SQL Server maintenance job that runs at a certain time of the day. The job runs fine on few days and fails few...

View Article


Image may be NSFW.
Clik here to view.

SQL 2008 R2 server with I/O requests taking longer than 15 seconds

I am currently working on SQL server 2008 R2 sp2 on a Vmware server. Everything is working fine pretty much, but when my evening server maintenance kicks in I am intermittently getting the following...

View Article

Problem with backup MS SQL 2008 when database has 2 or mare logs

 Hello!I have database, that has 2 ldf. I try to do backup log via a program  that uses ODBC Driver (SQL Server Native Client 10.0 ODBC ).  But the backup file is not created. And application doesn't...

View Article

SQL Server 2008 R2 Crash with faulting module ntdll.dll

Below is from Debugger of the dump file...  Faulting application name: sqlservr.exe, version: 2009.100.4260.0, time stamp: 0x4ffe4618 Faulting module name: ntdll.dll, version: 6.1.7601.17725, time...

View Article
Browsing all 12554 articles
Browse latest View live


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