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

Ghost cleanup process in SQL Server 2008 R2

Hi Everyone,Greetings of the day. I have a production job which runs on daily basis to backup, restore and rename the database. In recently, some times at restore database  and rename database steps...

View Article


High CPU Utilisation Issue

Hi guys,We are facing problem with my SQL Server for High CPU UtilizaitonSQL Server Windows NT -64 \SQL Server (MSSQLSERVER) CPU Usage is  90-100 %how can we identify, where is the problem on the...

View Article


Just copying full backup of database on a nightly basis

Dear Experts,Our requirement is only to copy the full backup of a database on to a DR server on a nightly basis. No need to restore or anything.Is there any script which can be used to accomplish this....

View Article

Restore 2008 to 2000

Good morning.Can I restore backup 2008 to 2000?

View Article

There is insufficient free space on disk volume 'c:\' to create the database.

System.Data.SqlClient.SqlError: There is insufficient free space on disk volume 'c:\' to create the database. The database requires 84260749312 additional free bytes, while only 67428677632 bytes are...

View Article


Database mail batch delay

HelloI'm sending batches of mails to dbmail from my application. It looks that dbmail sends mails as fast as it can, and when sending large batches of mails I sometimes hit a limit set by my mail...

View Article

Why do I have CXPackets when running maxdop=1?

I've continued to do some research on our current system.We're running maxdop=1 on four cores in a VM environment, officially it's OLTP but we run some batch processing too so it's probably a mixed...

View Article

Restoring database on to a new server using sufficient security

Dear Experts,This is for one of our clients which has a secure database in their network. Now, we are planning to migrate that database on to our managed server. This is SQL Server 2008 Enterprise....

View Article


Alerting when TDE option is turned off

Dear Experts,Is it possible to generate an alert when TDE is turned off in a database suddenly?Please share your commentsMM

View Article


SQL Server Backups

Hi All,I am trying to configure the backups using Maintenance Plan in sql server 2008 R2. While creating maintenance plan I am getting the below error. Kindly help me how to resolve this error.Getting...

View Article

memory tables and cpu usage

Here's another question as I get into the use of memory tables. I haven't seen any mention of this.  If we put a significant portion of our database into memory tables, is this going to increase our...

View Article

SQL Server 2014 poor performance compared to SQL 2008

Hi All - I have a query that takes about 6 sec in the SQL 2008 version and after upgrade to SQL 2014, the same query is taking about 8 mins.I have changed the compatibility level of the database to SQL...

View Article

Index Rebuild

While rebuilding indexes log file is growing vary rapidly and we can't put DB in simple recovery mode because we have configured DB mirroring. Is there any way to minimize log file growth while index...

View Article


Speical Character [--] in query caused SQL service was stopped unexpectedly

Hi all, Our production server used MS SQL Server 2012 Standard edition. Recently, it was crashed and I found the reason from minidump file that a special character dobule dash -- using in a query which...

View Article

Where-used, calls-who map of data model

Is there a tool available to build a comprehensive map of where-used and calls-who for TSQL code and tables?I know the old sp_depends is useful, and sp_help is useful, but I'm not sure if they're...

View Article


Image may be NSFW.
Clik here to view.

SQL Server 2014 Instructions to create link server to Redshift

Hi,Thank you ahead of time for any help. I have sql server 2014 32 bit on my machine and trying to create a link server connection to redshift. Below are the steps I took to try and setup these...

View Article

Image may be NSFW.
Clik here to view.

How do I add a COUNT to the results of a case statement

Hi, below I have bit of code with works exactly how I want. The problem is I need to integrate it into a larger piece of code which already used many...

View Article


Number of page read

Hi all,when we create an index our goal is to make the db engine read a smaller number of pages to execute our query. I am searching a counter that tells me how many pages sql server has read for a...

View Article

powershell csv to sql table.

Hi experts, I need to automate the below task… I thought of doing it with powershell…  -Open an csv attachment from an “Office 365 for Faculty" account.-Insert the csv to a SQL table.-Delete the email....

View Article

SQLSERVERAGENT requires manual start when starting computer

I have SQL Server 2014 installed locally on a Windows 10 64-bit computer. Lately I have to go in to the Task Manager and start the SQLSERVERAGENT each time I start up my computer. Is there a setting I...

View Article
Browsing all 5123 articles
Browse latest View live


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