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

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


Using linked server between SQL 2005 and SQL 2008R2 becomes very slow

Hello,We use for several years for our application a linked server to transfer data from an SQL Server 2005 Express to SQL Server 2005 Standard. Amount of data can be large. But all was find till we...

View Article

Column Mask support?

Does SQL 2012 or the upcoming SQL 2014 support the mask feature like DB2 provides to protect PII data easily without the need to create VIEWS, change programs, change stored procedures, etc?Here is how...

View Article

Image may be NSFW.
Clik here to view.

How to DELETE huge record around(2 Lakhs) from a table very fast.

We need to DELETE around 2 lakhs of  data from Table which  have around 5 lakhs.We are deleting data batch wise . We can't go for the Partition Option which is not feasible as of now.DECLARE...

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

how to duplicate the Non-Yielding scheduler case?

I want to do some debugging practices for the Non-Yielding scheduler situation by windbg, so may I know is there any way to duplicate the issue? Please click the Mark as Answer button if a post solves...

View Article

Questions on Db Mirroring

Hi All, I have below questions on database mirroring. I am using sql server 2008 sp3 Developer Edition. I am using High Availability mode (Syncronous, witness & Automatic failover). Here is what I...

View Article


SQL server backup problem

I want to backup sql server database to Z drive.I run backup through tasks--->backupBackup destination is Z:\test.bakIt shows backup job completed successfully but no test.bak is on Z drive.What's...

View Article


Big data Implementation in sql server 2008 r2

Can Some one please explain what is big data and implementation of big data or usage of big data with clear explanation, Screen shots will be more helpfull.Thanks in Advance.Tanks,G.Satish Reddy.

View Article

Error: 15404

For a job under particular user who is not in organization.[298] SQLServer Error: 15404, Could not obtain information about Windows NT group/user 'Domain\User', error code 0x2. [SQLSTATE 42000]...

View Article

Big transaction log file

Hi, I found a sql server database with a transaction log file of 65 GB. The database is configured with the recovery model option = full. Also, I noticed than since the database exist, they only took...

View Article

Image may be NSFW.
Clik here to view.

how to remove default schema

here,database role i understood but my doubt is 1) what is schema2) how to remove default schema3) and also how to remove "CHECK's"  on Owned Schema Objects.

View Article


Mirroring 'vs' Logshipping

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...

View Article

Sql server Service Account issue

hi team,two days back we are changed the sql server service account, But due to the permission issue few jobs are failed.now how we can rollback the old services account.Note: we don't have old service...

View Article


Unable to change owner from Sa to Satish

While changing a owner am getting a error Msg 15151, Level 16, State 1, Line 1 Cannot find the database 'TEST', because it does not exist or you do not have permission.

View Article

Linked Server to Teradata supported going forward?

Hi,   Some people I work with think we won't be able to use Linked server with Teradata going forward.   We are mostly on MS Sql 2008 but our primary production server with 20+ Linked servers (not all...

View Article


Connection on windows 8.1 pro

How many other users can connect to a windows 8.1 computer at the same time before you get a connection error?

View Article

sql client 2005

I am trying to install the SQL Management Console. I have SQL Server 2005 Developer edition.  I understand the console is installed by running SqlRun_Tools.msi from the SQL Server 2005 disks. I am...

View Article

SA owns Agent Jobs but is Disabled

Many of our Sql Server Agent jobs (2008 r2)  are Owned by SA. This has never presented any challenges and jobs run fine. I just noticed that the SA account is "Disabled" but still owns jobs which are...

View Article
Browsing all 5123 articles
Browse latest View live