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

Difference between Database Master key and Database Encryption key

Can some one explain the difference beween  Database Matser Key and Database Encryption key ?I know for TDE, you need Database Encryption Key but DMLK is not needed.

View Article


Database mirroring question

Hi All,I have few questions regarding Database mirroring. I am just comparing log shipping and database mirroring. In log shipping, everything is handled via sql agent jobs i.e. "LS_" jobs which takes...

View Article


Purging the data older than 1 year

I have a requirement to purge data older than 1 year.Table has 5 billion rows and delete about 4 billion rows in batches.there is no primary key or indexes on table.There is column Datetime and i...

View Article

we have cluster sql error 19019

we  have two node, recently we move the storage to another new one, then we get the following error in the cluster events:online thread; could not connect to server but server is considered up.

View Article

Image may be NSFW.
Clik here to view.

Restart Cluster instance

Hi all  2 servers are in cluster,now i need to restart the one instance.is it possible to restart only one instance.it has any impact in other cluster instance.here i am attaching my cluster...

View Article


SQL Server Agent Error

we are constantly getting this error from event log: what is the remedy. Unable to read local eventlog (the parameter is incorrect)

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

Is there a SQL Server 2012 SP2 planned?

I have been waiting to install some of the cumulative updates for SQL Server 2012 waiting on a SP2.   Does anyone know if and when SP2 might be coming out?

View Article


sql server Services account information

hi team,we are paling to change the sql server "Services Account", here what are the steps we can flows, i know how can change server account.if in case after changing the services account any problems...

View Article


how to get comma seperated values for a single column

Hi all,I have procedure which has cols like scopeid ,sprintname ,sprintid,highlevelitem,etcnow,if suppose 1 scopeid there are 5 highlevel items and in that 3 highlevelitems have 1sprintname(sp1) and...

View Article

Changing from dev to standard edition causes "Could not obtain information...

Hello,We recently upgrade our SQL Server 2012 SP1 (64bit) dev edition to standard edition, after we purchased the required licence and it was deployed in production.Since the edition change, we are now...

View Article

Possible to decrypt DMK with SMK after database restore?

Hello all,       Is it possible to decrypt the master key or decrypt the symmetric keys the master key is used to encrypt without knowing the master key password?  I have a backup of the database...

View Article

Question on asymmetric key

create asymmetric key AsymKey1 with algorithm = RSA_2048 encryption by password = 'MyPassword$'The above command creates asymmetric key pair - a public key and a private key. So the private key is...

View Article


Get Notification When SqlConnection Pool Count change

Hello AllI use Following Query To check ConnectionPool Count:SELECT COUNT(*)FROM(SELECT host_process_id FROM sys.dm_exec_sessions WHERE PROGRAM_NAME = 'MyApplicationName' GROUP BY host_process_id) AS...

View Article

SQL Server 2012 Undetected Deadlock in a table with only one row

  We have migrated our SQL 2000 Enterprise Database to SQL 2012 Enterprise few days ago.  This is our main database, so most of the applications access it.  The day after the migration, when users...

View Article


Estimates freed space after index rebuild

Hello ,is there a way to estimate the space freed by index rebuild in sql 2008 R2 ?thanks

View Article

DBCC shrinkdatabase truncateonly

HI ALL:I have a database which has free space around 50%, I use dbcc shrinkdatabase('testing',10,truncateonly) , it takes no effect:when  I use dbcc shrinkdatabase('testing',10) it works..I am using...

View Article


Logshipping vs Mirroring

hi Team,we have 10 databases each database having min 350 gb,here we are paling to replication the data from production site to  DR site.To replication the data which one of high availability is best...

View Article

Change Tracking internals behave differently, SQL Server 2012 vs SQL Server 2008

<original post by Glenn Estrada> Reposting an issue from Stack Overflow that a coworker and I are dealing with. In trouble shooting an issue with synchronizing disconnected devices with a central...

View Article

2 instances at same machine

I created the 2 instances where 1 is default instance and another 1 is named instance.The default instance currently running ok with port no. 1433.but the named instance have the remote connection...

View Article
Browsing all 12554 articles
Browse latest View live


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