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

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


Autogenerated ID in Merge (Inserting row)

Hi,I want to insert using the Merge. However, I need to have a column, much like as an "identity" column that does the increment for the sequence number automatically, without looping through for bulk...

View Article


make a table by group by command

hi all freind.we have a table(tbl1:      id int //key       code nvarchar(6)       sentdate date)we want make a query to show us count of record by this conditioin:each code appear in only one...

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

Service not starting in sql

hi all  SQL server service is not starting, while i am  checking in error log its giving error like master database is damaged.but i am not having backup of master also, what shall i do pls guide...

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

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

I am trying to BCP Export/Import a large amount of data from one SQL Server...

I am trying to BCP Export/Import a large amount of data from one SQL Server 2008 R2 database to another which reside on the same server using Native format. The source is our live DB  which is...

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


SQL Server 2008 R2 Data Compression Best Practices

90% of our tables realize very little DASD savings using compression (less than 6 gig).   Is there an advantage to compressing other than DASD savings - or - should we just leave well enough alone?...

View Article

How to install SQL server 2005 Developer on windows 7 Home premium

i can not able to install SQL server 2005 Developer on windows 7 Home Premium.i have wimdows 7 Home premium, 64 bit operating system, 4 GB RAMi can not able to install SQL server database engine and...

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

Dropped FileGroup/Files still show up in Sys.Master_Files and...

 Hello all,I am wondering why is that when a filegroup/file is removed from the DB, it still shows up in sys.master_files and msdb.dbo.backupfile. To reproduce, just create a database and add a...

View Article


Impersonation fails when used locally?

I'm facing a strangest problem where client applications can access filestream as long as client app is not running on same machine as SQL Server.Setup:- SERVER1 running Windows 2008 R2 and member of...

View Article

Failover 10,000 databases?

Hi All,It may sound like a clustering question but it's also service restart one.We have a Windows 2008 cluster with one instance of SQL Server 2008R2. There are 10,000+ databases on it. While user_db...

View Article


migration from one instance to another

how to promote store procedure from dev instance to test instance and give external and internal permission?when we promote is it necessary that there should be same database name in both...

View Article

can't attach database 2008 R2

TITLE: Microsoft SQL Server Management Studio ------------------------------ Failed to retrieve data for this request. (Microsoft.SqlServer.Management.Sdk.Sfc) For help, click:...

View Article


Physical Memory Issue

Hi Team,one of my server physical memory usage is very critical at particular time only,how to find the that particular time what are session are running and which session having more physical memory...

View Article

Possible to create Index on partition table for specific partition only in...

Hi All,Is it possible to create Index on partition table for specific partition only in sql server 2012? Please anyone can provide the syntax?I know we can rebuild an index for specific...

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
Browsing all 15264 articles
Browse latest View live


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