Quantcast
Channel: Forum SQL Server Database Engine
Browsing all 15889 articles
Browse latest View live

I cant connect to SQL Server locally

I have just installed visual studio 2010 .It suppose to be come with sql express( if am i correct )The problem when i try to connect via sql server management studio express...

View Article


Use only MDF to update database?

Short Version: We need the ability to transfer a SQL MDF from one SQL Server to update a database on another regularly. Since only the MDF would be used to update an existing database; What steps are...

View Article


How to add Stored Procedures to Version Control

My system mainly relies on stored procedures and I recently noticed I don’t have the version control for my database. So, my question is: How can I add stored procedures to version control?

View Article

Unable to restore database, get error " The file "_log" failed to initialize...

I know that there was an issue prior to SQL 2008 R2 SP1, where if you encrypted the database and then turned off TDE, you were unable to restore the database anywhere else other than the server it came...

View Article

SQL Server limits rows added to a table

Hi,I need to append over 50 million rows to a table in a database.  Problem is, as soon as it reaches 3.6 million rows, it just stops inserting rows.  There is no error raised.  We have to manually...

View Article


PowerShell script to delete BAKs from mulitple child folders on a UNC share

Afternoon,I have been trying to roll my own ps script to accomplish a cleanup task but I am rather new to ps and am not getting the results I am needing.Here are the criteria I am shooting for:1....

View Article

SQL '08 R2 SP1 MSDB marked as SUSPECT

The drive our SCCM sql database resides on went south earlier in the week.  I recreated the drive (Vmware VM) and we restored the data from our back up software (commvault).  However when I try to open...

View Article

Not all colums are getting updated with "WITH (ROWLOCK)" is used in a update...

Hi we are using following query in our code ; except DESC1 all other values are getting updatedSTATEMENT : "Update Table1 with (ROWLOCK) set DESC1 = ?, DESC2 = ?, INSTR =?, GRP =? where ID = ? "Can you...

View Article


Sql 2008: sleeping thread,open transaction, open locks......

I can see from sp_who2, dbcc opentran, dbcc inputbuffer, etc  that our sql server has some sleeping connections that are holding open transactions (along with some X locks) for long periods of time....

View Article


When rows get inserted into sys.dm_db_missing_index_details

Hi  Experts,    I am looking for MISSING INDEXES, I am tring to find all missing indexes in my database for that I am using sys.dm_db_missing_index_details view. I would like to know about case or...

View Article

Data Conversion error in Azure SQL Server 2008 R2

Hi,I have two Azure envirironment (Staging and Test), both have same configuration as below:Version: Microsoft SQL Server 2008 R2 (RTM) - 10.50.1600.1 (X64)   Apr  2 2010 15:48:46   Copyright (c)...

View Article

Issue for listening Sql Server on non default port? Not able to connect from...

Hi All,I have setup a lab environment for SharePoint 2013 farm. There is a windows server 2012 domain controller, a separate database server and a application server.I have installed only named...

View Article

How to recover msdb database from suspect mode.

I have tried the following STEPS OF  commands to recover but in vain.STEP 1) EXEC sp_resetstatus 'MSDB' o/p Message :The suspect flag on the database "MSDB" is already reset.STEP 2)ALTER DATABASE MSDB...

View Article


What is elapsed time in return from Set Statistics Time

I have the following message when I run a simple query "Select Distinct Orderids from tblOrders"CPU time = 47 ms, elapsed time = 1692 ms. Other elasped times within the last 18 hours include 3198 ms,...

View Article

File System Failure DB Recovery

I have had a file system failure corrupt a .ndf file in a database.  I do not have good backups, I'm sorry, it's just not possible at this time.  There are plans to migrate off of this old...

View Article


Are you very knowledgeable about SQL Server Database Engine? Win love and...

NOTE: Entries are now closed for July. August entries should be added hereResults will be announced once the judges have posted their votes (in 7-10 days)  TechNet Wiki is looking for and celebrating...

View Article

One database out of several is slow on server - SQL Server 2008 r2

Hello,We are using SQL Server 2008 r2.  We have a server with several dbs on it.  As of a couple of hours ago one of the dbs started running REALLY slow.  Prevents users from accessing data when they...

View Article


SSIS the timeout period elapsed prior to completion of the operation

Hi allone day I have a database backup job full backup using maintenance plan, there is an error....Executed as user: SV123\SYSTEM. ...sion 10.50.2500.0 for 32-bit  Copyright (C) Microsoft Corporation...

View Article

Backup Plan

I have three SQL Server 2005 instances using Transactional replication.  They are all in Simple Recovery mode.  I have a daily full back up and hourly differentials running on a subscriber.  I also...

View Article

Deprecation of Trace -T272

Anyone knows if trace flag -T272 is going to be deprecated? I am using it to avoid the jumping of identity value in SQL 2012...

View Article
Browsing all 15889 articles
Browse latest View live


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