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

Restore backed up (.BAK file) from different server

Good Day,I have backed up database (.BAK file) in the production, the file is on the Prod box, I would like to restore the .BAK file in to Dev from Prod, is it possible to de that, because we don't...

View Article


SQL Logs Size Increasing automatically

Hi,I am facing a very strange issue in my SQL Server 2008 R2 Logs folder.Actually in every 10 seconds SQLDump0000,SQLDump0001,.....     and so on named files are being created automatically in the Logs...

View Article


Image may be NSFW.
Clik here to view.

About Logical Reads

Problem:1. If you run a SQL code and you read the logical reads. is it benefit for performance issue to have low value of logical reads not matter what? 2. What is the definition of logical reads?' Im...

View Article

SQL Server 2008 R2 { An Error occured when attaching database(s) }

Hello Guys!I just installed SQL Server 2008 R2 a couple of days ago, on the first day use i can attach database(.mdf) with out any problem.on the day 2, i keep getting this...

View Article

Drop all the Primary keys in the database

Hello,I do have a database called "TestDB" (for instance), in that database there are 10 tables, I would like to drop/delete all the primary keys from all the tables using script, because we would like...

View Article


Issue with Merge command not finishing

SQL Server Standard 2008 R2I have a rather complex MERGE command with when matched, not matched target, and not matched source.  It runs just fine on a data set of 360K rows, but does not complete on a...

View Article

NOT IN vs. Except

I have following two queries:select Artikelnummer from KHKArtikel WHERE Artikelnummer NOT IN (SELECT Artikelnummer FROM KHKPpsFaBelege)select Artikelnummer from KHKArtikel except select Artikelnummer...

View Article

An error occurred while executing batch. Error message is: The directory name...

SQL Server Management Studio 2008Microsoft SQL Server 2008 (SP3) - 10.0.5512.0 (Intel X86) Aug 22 2012 15:16:00 Copyright (c) 1988-2008 Microsoft CorporationEnterprise Edition on Windows NT 6.0...

View Article


Transaction log usage grows due to replication even if I don't use...

HiThe transaction log usage keeps growing a lot on my user database since few days back. the database is in full recovery model and I do transaction log backups every 10 minutes. The DB was part of...

View Article


sys.foreign_keys is_not_trusted problem

Hello Forum,I ran into difficult to explain situation with sys.foreign_keys.is_not_trusted value for 1 table.3 times with not correct for this case statement: 'alter table drop constraintthen 'alter...

View Article

SQL services use 100% Harddisk when queries

I developed  my own app to query the data from MSSQL I use MSSQL 2008 R2 when I run the query in MSSMS, it's work fine and has very fast response but when I run with C# application (integrated query...

View Article

data base

How To connect database on visual studio 2013

View Article

Error Code-7886

Hi we are getting below error code in SQL ServerError Code:7886Error Message:A read operation on a large object failed while sending data to the client. A common cause for this is if the application is...

View Article


To get the last stop & start time of All SQL Server services(SSRS, SSIS,...

To get the last stop & start time of All SQL Server services(SSRS, SSIS, SSAS, etc.). PGupta

View Article

Performance Issue - sp_cursorfetch is the culprit

A query that accesses a linked server is causing me issues.  When I traced the query from the remote server (Server B), I can see that the connection is using a cursor to return results to the remote...

View Article


SQL 2000 - Blocking Happening again and again

Hi  guys..on sql 2000 ..from today morning blocking keep happening again and again even though killed SPID .. Reastarted SQL and app server. any one has idea what will be good action item?also like to...

View Article

Installing SQL Server 2008 R2 Standard SP2 from scratch

Hi, I've just done a little "inventory" in an SQL server containing SQL Server 2008 R2.  I found out that after SP1, SP2, hotfixes, etc, everything related ONLY to SQL counts up to more than 7GB (if...

View Article


SQL Error

I have installed a .msi application from internet.I have installed sql server 2005 for that app.Now the problem is when ever i try to open that app i am getting the following error message "Run-Time...

View Article

Sharepoint Crawler database went to emergency mode

Hi,My SharePoint Crawl Database went on Suspect mode suddenly & now i need to bring on Online mode.For solving this issue, i Google on several sites & came across following steps,Steps:EXEC...

View Article

SQL 2012 - Error [36, 17, 145]

Hi,We came across the below error on our SQL 2012 enterprise (64) SP1 database server. This server host around 90 Sharepoint SP2010 databases. Server has around 128GB RAM and 32 logical CPUs. Tempdb is...

View Article
Browsing all 12963 articles
Browse latest View live


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