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

sys.dm_db_index_usage_stats usage

Hi ALLI want to know when will the data in sys.dm_db_index_usage_stats will be deleted?1. Reorganization2. Rebuilt3. DBCC CheckDB4. UpdateStatistics

View Article


Temp DB consistency error event id: 824

Dear All,we are using a SAN storage to maintain our sharepoint databases.we face some i/o errors while restoring a 17gb databases and later all other databses started to giveconsistency errors..so we...

View Article


does sp_create_plan_guide works when Database is in 2000 (80) compatibility mode

Hi All,We have a Query which is taking long some to execute but works fine some, so wanted to create a plan guide using sp_create_plan_guide_from_handle, but our version is SQL Server 2005, this sp is...

View Article

Maximum amount of files in SQL 2008 Standard

Hello, I'm hoping someone may be able to help; my client is about to upgrade their current SQL 2008 R2 Express Edition to 2008 R2 Standard to overcome the 4GB DB size restriction (they are currently...

View Article

SQL Server eat all the Server RAM

Hi All,  Server got 60GB RAM and SQL is eating 59GB also this server running like a dog? I just got this server to look after and want some help to sort the issues?Select @@versionMicrosoft SQL Server...

View Article


Database Backup suddenly doubled the time it generally takes

Hi All,We have an environment where an instance has around 2.6 TB of data. Generally it takes around 14-15 hours for taking a complete backup of this data. But recently it started taking 2 days (48...

View Article

Different execution plans on 2 different servers with same data

Hello, Very strange we faced at work yesterday. there is code where the select contains a cast (columnid as int)Now this works on one server and another server fails, its the same data on both the...

View Article

Increase workspace memory area but not data cache area?

Is there any way to increase the amount of memory SQL will use for the workspace memory area but not increase the amount of space for actual data cache?  I'm doing performance testing and scaling the...

View Article


SQL Server 2008 R2 is terminating because of fatal exception c0000005

SQL Server is terminating because of fatal exception c0000005. This error may be caused by an unhandled Win32 or C++ exception, or by an access violation encountered during exception handling. Check...

View Article


Where are my plans?

I have three stored procedures.  SPA calls SPB calls SPC.I exec SPA, and it runs, calling SPB, calling SPC.  Fine.But the DMVs don't seem to have any plans - for SPA and SPB!  A few seconds later I run...

View Article

Image may be NSFW.
Clik here to view.

Restoring .bak file Error

When i adding the back up files(.bak)  into my database by using "Restore Database Option " i got the following errorI didn't understand why this error happens.Please provide me the solution if anyone...

View Article

Is it possible to suspend a session in sql 2000

I'd like to suspend an SPID in SQL 2000. Is this possible? If not is it possible to lower the priority?Chuck

View Article

how to multi-target for vista, windows 7 and windows 8 using sql server express

the original application was built for .net 3.5 using sql express 2008 mdf file with connect string ofData Source=.\SQLEXPRESS;AttachDbFilename=c:\MDF\StringTmp.mdf;Integrated Security=True;Connect...

View Article


Master DB location move error

I was trying to move the master file location from C to D drive and I followed below instructions but when I tried to start the service I got the message that service can be started on the ---I am...

View Article

Poweshell script error: the term 'import-module' is not recognized as the...

I am getting below error when executing a powershell script from sql agent job on a SQL Server 2008 R2 failover cluster. This code executed OK on other sql servers. Code runs fine when executed through...

View Article


SQL server 2012 -Sys tables

Hi,In Sql, which sys table contains database name, table name, field name, field type and field size.I want these all fields in a single Sys table.If anybody knows about this then please let me...

View Article

Default Collation of Sql Server

Hi All,Why microsoft designed default collation is SQL_Latin1_General_CP1, is there any reason on behind? Please explainRaveendra

View Article


Copy SQL Server 2012 database with SMSS

I want to copy a database within the same SQL Server 2012 Developer instance (e.g. from database1 to database1_new). Here are the steps I followed in SMSS * Right click on database > Tasks >...

View Article

Adding a Provider for Oracle in SQL Server 2008

I have a feeling this is fairly straightforward, but for some reason am having a hard time finding something clear cut regarding my situation. I have SQL server 2008 developer installed on my machine...

View Article

Distributed Transactions fail on Linked server

  We get the below error while performing a distributed transaction on linked server. We have several linked servers configured in the source server and all of them succeed with the distributed...

View Article
Browsing all 15930 articles
Browse latest View live


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