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

Index rebuild/reorganize duing bulk_logged recovery mode ??

Hi experts,I always had an impression that during index operations, when we set the databases to BULK log recovery model, It  helps  to decreases the size of the transaction log and log backups during...

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


SQL 2012: change startup parameter without GUI

I would like change SQL startup parameter like -l, -d,-e without using SQL Server Configuration Manager. I want to use command line...how can I do it ?

View Article

sp_dropserver Hyper V Image

Hello. Since I do not post unless I have something useful to say, I was wondering if I missed a thread for how to image SQL Server 2012 with Hyper V. I am a sysadmin looking to setup an image of SQL...

View Article

How to execute operation system commands by using TSQL without enabling...

Hi ExpertsLooking for advise if one can use operation system commands using TSQL without enabling xp_cmdshell.  actually using xp_cmdshell requires sysadmin privs which I am unable to provide (directly...

View Article


Backups

Hi,We are using SQL Server 2012I want to know about the changes/transactions which happen during a full backup is running. Does the full backup will contain those changes as well? 2. What about the...

View Article

"RESTORE LOG" works even if filegroup doesn't exist?

Hello, everyone!   I’m working on a Log Shipping scenario where a filegroup  called “MyDatabaseFileStream” only exists on the Primary database, not at the Secondary. The filegroup in question is huge,...

View Article

Post restore steps

Hi All,I have to restore the databases using backup of different server. Investigating about the steps to follow after restoring the DB. CAn anyone help?ThanksSwapna

View Article


where can we write MCSE(70-461) exam in hyderabad?

Hi all,  Can anyone tell me where can i write MCSE(70-461) certification test centre in Hyderabad,India.  When i searched in google, i found Prometric is now not a test centre for Microsoft...

View Article


Password changes for SA account

hiIn our company due to some policy issues they are thinking to change the passwords for some window accounts, their some accounts linked to SQL SERVER ENGINE and SQLAGENT account. As the services will...

View Article

SQL Server 2012 Reorg Index Job Blew up the Log File

We have a maintenance plan that nightly (1) runs dbcc checkdb on all databases, (2) reorgs indexes on all databases, compacting large objects, (3) updates statistics, etc. There are three user...

View Article

BACKUP TO URL TRACE FLAG 3042

Is this applicable when Backing up to Blob directly,http://support.microsoft.com/kb/2001026On the database when I run sp_spaceused it shows database_size as 765GB, and the data is 127GB, when backing...

View Article

SQL 2012 Stack Dump - Access Violation

Hi,Can anyone assist with this issue?  Please see the attached information.  Note this runs when we run some T-SQL that checks for DB space on the instance.  I downloaded the Windows Debugger, and this...

View Article


How to view Windows event logs in SQL Error log viewer

Hi, I know that I used to see Windows events (App/Security/System) logs under SQL Server error log viewer along with SQL Agent logs & Database mail logs. But recently I observed that I don't see...

View Article

SQL 2014 - Managed Backups - is_dropped flag set to Yes after detaching...

We have SQL Managed Backups enabled in SQL 2014. We had to detach a database to rename the MDF and LDF files, we then proceeded to reattach.Looking at our Smart Admin config settings, we see the...

View Article


Multiple SQL job execution from server / instance

Hi Team,I have a query regarding SQL JOB execution and would appreciate suggestion / responce. If I have to schedule 200 SQL JOBs and run them simultaneously then which approach would be good:To run...

View Article

configured value of maxdop=8 but while looking through sp_who2 which shows...

Hi Everyone,i have two problems:1)i have set maxdop=8 to my sql instance , but when i am looking through sp_who2 some query sessions are generating up 17 parellel threads.what may be the causes of this...

View Article


What is this Memory Grants Outstanding are 8 ?

Hello Everyone,In our organisation sql server 2008 r2 enterprise edition having 32 GB of RAM, 64 bit of OS(Windows Server 2008 r2).We assigned a RAM to sql server is more than 80% and PLE is more than...

View Article

merge tables only for primary key colums

i have a table A columns a column b, also pk on column a and column bi have table b that needs to be in sync with table ai keep the table b in sync with table a using insert into table b select a, b...

View Article

Log File Shrinking

Hi AllIn our PRODUCTION environment we have recently disabled TLOG and differential backup due to problems in our storage for time period. As our core DB's in full recovery model log files are growing,...

View Article
Browsing all 5123 articles
Browse latest View live


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