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

Restoring Database to different instance with encryption problems

Hello All!       I am having an issue of reading an encrypted table after restoring the table to a different server and instance.Here is my process thus far:Performed Full backup of databaseRestored...

View Article


Partition scheme

I created a partition scheme with:CREATE PARTITION SCHEME IQPScheme_Right AS PARTITION IQPFN_FinalizeDateRight ALL TO ([PRIMARY]) I then created a partition function with:CREATE PARTITION FUNCTION...

View Article


Issue using Tools->Options->Result to Text to customize column delimiter

Hi all,I need to export a large dataset (greater than 6 GB) to text file. Since the dataset contains special characters, I cannot use Import and Export Wizard to export it into text file. (Error...

View Article

Image may be NSFW.
Clik here to view.

Index Reorg completes but Update statistics fails

SQL Server 2008 SP3 Enterprise 64 bit on a Windows Server 2008 R2 EnterpriseIn the steps above, Index Rebuild completed but Update Statistics failed on Msg 9100, Level 23, State 2, Line 1 Possible...

View Article

Conversion from SQL 2005 to SQL 2012 Express

Looking to move a small database from SQL 2005 to SQL 2012 Express - can a 2005 backup file be restored to a newly created 2012 Express database file?

View Article


DISCUSS AND PLAN DELETION/ARCHIVING OF HISTORICAL RECORDS

We have some tables in our database which are having huge number of records and  the approximate size of the data that get added to the tables is 1.5 - 2 million records and we need to archive the...

View Article

database migration question

SQL server A----Database AASQL Server B---Database BBDo database migration:I backup database AA on sql server A--create aa.back filethen I copy aa.bak file to Server B and restore aa.bak as...

View Article

Restoring a SQL backup file

when attempting to restore a backup file to a SQL database file the restore failed and the error message referenced that the backup was from a "different" database.  Trying to restore a damaged...

View Article


Log shipping question

Hi All,I always ask this question to myself very often and sometimes get confused. Why is log shipping called a Disaster recovery solution and not a High availability solution even though it provides...

View Article


copy all files and renaming them

HiMy SQL script needs to copy all backup files in a folder to another one while renaming them at the same time by adding the time stamp like this: Originalfilename[Timestamp].bakBasically the script...

View Article

How do I see the full SQLl/Query text of a spid?

How do I see the full SQLl/Query text of a spid?I use different ways to get the query, the problem is it truncates the end, so I cannot see the entire query/sql text. Is there another way to a...

View Article

Full backup is not happening due to consistent checkpoint

Full backup is not happening due to consistent checkpoint.We have sql server 2008 r2 wherein a database is of 1.2 TB size. This database files have been properly splited across multiple drives. Log...

View Article

Unexpected shutdown for SQL server creating mini dump file

We are using 3 SQL instances (2005 SP4) in cluster network (active passive) and all 3 instance would be running on same node. We have 18GB total memory and max memory for instance1 = 8, other 2 = 4 GB...

View Article


Understanding of Perfmon-WorkingSet SQL Server Values

Hi All:Working Set is the term that defines the amount of memory currently in use for a processIn one of the server, just i noticed the Working Set of SQL Server is --> 6,514,200,576Please let me...

View Article

About tempdb

I add datafiles tempdb2.ndf and tempdb3.ndf when tempdb out of space.So temp.mdf on E drive, tempdb2.ndf on F drive and tempdb3.ndf on G driveMay I delete tempdb2.ndf and tempdb3.ndf?How can I remove...

View Article


Database in "Restoring" state --- HELP

Ok.  I have spent hours on this already.We were restoring a database from tape.  The tape drive failed in the middle of the restore.  So now we CANNOT restore from tape to try again.Before I started...

View Article

SQL Server 2012 not auto-shrinking logfile

We recently deployed SQL Server 2012 Standard on a Server 2008 R2 SP1 machine and, for the most part, everything behaves the same as SQL 2008 R2 (no surprise there). However, one issue I've been...

View Article


KB2895494 doesn't seem to work in SQL2012 SP1 CU8

KB2895494 was raised as part of SQL2012 SP1 CU7 to stop a memory leak caused by theMEMOBJ_COMPILE_ADHOC memory object not releasing memory. The KB includes a query:-select type,...

View Article

Image may be NSFW.
Clik here to view.

Unable to cycle error log due to lock that will not clear

Hello, Currently I'm having an issue with cycling the error log on two SQL Server Instances because the file is being used by another process. Simple I know but, when you try to kill the SPID it...

View Article

Intellisense is lazy?

Sql2k8 SSMS intellisense is lazy ot it seems so.After have created an TSQL object my intellisense does not advert its existence. Even after refresh at Sql Server database, intellisense does not show me...

View Article
Browsing all 12963 articles
Browse latest View live


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