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

Owner of db_dltuser, SQLAgentOperatorRole

I am using sql server 2005 and by mistake I assigned a user as the owner of the following schemasdb_dtstltduser, sqlagentoperatorrole, sqlagentreaderrole, sql agentuserrolehow to resolve that.I tried...

View Article


Microsoft SQL server error:233

I am getting this error when connecting to sql. I cant get into my databases now- its pretty ugly. "A connection was succesfulyl established with the server, but then an error occured during the login...

View Article


Image may be NSFW.
Clik here to view.

Different execution plan for same query but for different condition value

Hi All,I'm facing a strange situation where same query for different condition not working.1--Select  top 10 * from revenuefact(nolock) where feecode ='OW4'2--Select  top 10 * from...

View Article

Transactional log file issue

Dear All, There have been issues in the past where the transactional log file has grown too big that it made the drive to limit its size. I would like to know the answers to the following please: 1. To...

View Article

How to maintenance index for big sql server database?

How do you do index maintenace for big sql server database(>1 TB)?Want to know routine work, how you do it manually? And don't want to cause performance issue.Thanks!

View Article


sys.dm_exec_query_stats

In the DMV - sys.dm_exec_query_stats, I see in BOL:total_elapsed_timebigintTotal elapsed time, reported in microseconds (but only accurate to milliseconds), for completed executions of this...

View Article

Copy Database

I have a request to copy a portion of a database from server A to server B as an archived process.Server A current database: 75 tables Server B database: only need 25 tables out of the 75 tables. Most...

View Article

Msg 22832, Level 16, State 1, Procedure sp_cdc_enable_table_internal, Line 607

I am trying to enable cdc on one of my tables, and I get the following error and nothing I have found seems to work,Msg 22832, Level 16, State 1, Procedure sp_cdc_enable_table_internal, Line 607 Could...

View Article


Buffer Cache Hit Ratio

hi team,we are continuously getting the alerts Buffer Cache Hit Ratio 70% like that, how we can reduce the Buffer Cache Hit Ratio %.  

View Article


CDC Capture and Cleanup job issue

I enabled CDC on my databae 'ABC' and turn on cdc on several tables. It worked fine for several days but couple of weeks ago I noticed that transactional log was full and cdc.ABC_cleanup job had error...

View Article

Question regarding memory info in error log after 701 error

We've been getting occasional 701 errors (SQL Server 2012 SP1 standard edition) 64 bit. This instance has 64 GB max server memory on a server with 128 GB of RAM. I'm trying to decode the errorlog...

View Article

How to find old deadlock information on sql server 2008?

I need to find the deadlock that happend one day ago. How to find it?

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


Can i rebuild indexes in chunks in a database?

Can i rebuild indexes in chunks?Thanks,Ron.

View Article

Microsoft Access Not finding correct Linked SqlServer records

Microsoft Access 2010 application is not returning the correct linked records from a SqlServer 2008 database.For simplicity on the Access side I have a query such as:column XYZ is defined on the...

View Article


Restoring issue

Hi Hope you people are doing great.I am facing one issue when restoring.Issues is:I have backuped a database from SQL 2008R2 and restored it into SQL 2012.It was restored successfully but key columns...

View Article

Task versus Request -- referring to sys.dm_os_tasks v/s sys.dm_exec_requests

Hello...I am struggling to understand the definition of and difference between a task and a request. My understanding isTask is something that is active and may or may not be executedin SQL Server...

View Article


Resource_semaphore wait type not matching sys.dm_exec_query_memory_grants

We are using Red Gate's SQL Monitor to alert (every 5 minutes) when memory grants pending are greater than zero. Several times a day we are alerted on our Devel and Prod servers. However, when querying...

View Article

Database from scratch

Hi.I like someone to ask this question, just to get a little more informations and understanding about creating database or DBMS from scratch. You can found plenty books about OS internals, or...

View Article

t-log backup history

SELECT * FROM msdb.dbo.backupmediafamily INNER JOIN msdb.dbo.backupset ON msdb.dbo.backupmediafamily.media_set_id = msdb.dbo.backupset.media_set_id WHERE (CONVERT(datetime,...

View Article
Browsing all 12554 articles
Browse latest View live


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