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

Linked Server error: Login Failed for user 'NT AUTHORITY\ANONYMOUS LOGON'

Good afternoon,I have the following issue that i can't seem to "fix":I have 2 instances: Instance A (primary databases for my application) and Instance B (relational databases for Reporting...

View Article


online index rebuild of a single partition

Why does sql server not allow online rebuild of a single partition of a partitioned table. We have tables with over 3300 partitions and few of those partitions get heavily fragmented and the only...

View Article


RESTORE DATABASE fails, but only if run from within TRY/CATCH block.

Hi everybody,I'm trying to restore a DB using the following script:BEGIN TRY RESTORE DATABASE [20130717_SERVER4_NS_dat] FROM DISK = N'c:\NS.bak' WITH FILE =1, REPLACE, MOVE N'NS_dat' TO...

View Article

SQL Agent - UPDATE OPENROWSET not working

Hello,I've deployed an SP to export some data to an Excel sheet (using OPENROWSET and Microsoft ACE provider) which works flawlessly when launched it from a query window using my admin credential....

View Article

Data copy across Linked Server much slower than expected

I'm trying to retrieve data from a SQL Server at a remote site running SQL2008. There is a query involved, but to isolate the issue I've materialised the data, so all subsequent tests are now doing a...

View Article


Service Broker Manager issued a SQL shutdown

I have SQL 2008 R2 Base (10.50.1600) installed on a server running Windows 2008 R2 (no service pack).SQL log shows the final DB backup completed at 12:24AM. There is nothing in the log until 3:18AM...

View Article

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

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


Changing column in NOT NULL. Why is there so much transaction log activity on...

Hi guys,the setup is as following: SQL Server 2008R2, recovery model FULL in order to better track what's going on in the transaction log.CREATE TABLE dbo.justnumbers(id INT IDENTITY, number FLOAT...

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

Update PDF file in FileTable

Hi- I'm new to working with FileTables and am wondering if the following code (which saves annotations to a PDF file in the FileTable with changes that are made through the PDF control) makes sense. My...

View Article

Image may be NSFW.
Clik here to view.

SQL 2008 R2 server with I/O requests taking longer than 15 seconds

I am currently working on SQL server 2008 R2 sp2 on a Vmware server. Everything is working fine pretty much, but when my evening server maintenance kicks in I am intermittently getting the following...

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


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

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


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

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


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