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

Clustered Index Key

Hi, Right now our largest table uses as primary clustered key a varchar (40) (not my design). I noticed that all values are unique and have the same length. Can I change it to fixed column char(40) and...

View Article


Stored procedure Issue

Due to one stored procedure our data has been deleted.This will execute daily.We have to find when the sp was executed 2 days back.When we executed below query we are getting latest execution time.If...

View Article


Back up Failed Access is denied

Sql Server 2012 ExpressDefault instance (not named)Followed this Walkthrough...  http://msdn.microsoft.com/en-us/library/jj219062.aspxInstalled to Seperate Drive for web.I have followed this... Gave...

View Article

SQL Server Shuts Down randomly on big data loads on Windows 8

I am responsible for the data processing and analysis for two identical spacecraft for a NASA science mission. I am running one SQL instance for the first spacecraft on a Windows 7 machine and another...

View Article

SPID Blocking itself with Sch-S on a table variable.

OK, Here is the problem. I have a SPID that was blocking itself. When you try and kill this SPID it returns the message; "SPID 120: transaction rollback in progress. Estimated rollback completion: 0%....

View Article


CHANGE_TRACKING_MIN_VALID_VERSION keeps changing even there are no changes in...

Hi,We use stored procedure like below to get the data on intial load as well as subsequent changes. The underllined part of the stored procedure to get the last_sync_version is slightly different from...

View Article

Keep getting errors from application log that indicates transaction log is...

Dealing with a 4rd party application that inserts into its log table, but watching sql profiler i see a ton of the same traffic.  Its trying to insert into the table, but generates an error that...

View Article

Change installation directory for SQL 2008 SP3 or CU

My C drive is full, Server built long time ago. Not enough space available in C Drive but other local drive have storage.Is there anywhere i can use my other drive for patching or apply CU.Env: win...

View Article


Database Performance for Newbies

Hello Forum,the Database I have is now running for 1,5 years.At the beginnig there where 90.000 login data per month. Now there are over 900.000 login data per month stored in a table.I am now a little...

View Article


how to monitor load on server

Hi Experts, What perfmon counters can I use to monitor load on the sql server and trend it over time? Thank you.

View Article

SQL Server 2008 R2 Memory Pressure

I have a SQL Server 2008 R2 Standard (x64 bit). It has 64GB of memory, but memoryclerk_sqloptimizer consumes about 36 GB. How should I clear it and identify what cause the growth of...

View Article

avg_fragmentation_in_percent remains high although Rebuild Index task is...

Hello, Reading through online and forums I've seen recommendation if avg_fragmentation_in_percent goes above 40% Rebuild Index. I've now completed Rebuilding Index, however the...

View Article

Cannot open backup device 'F:\foldername'. Operating system error 5(Access is...

SQL 2005 EnterpriseEven if I logon as Administrator and try to backup any of my databases to local partitions, I get this error below. I have been operating fine up until this point and doing backups...

View Article


If a database is locked exclusivley does the T-SQL statment get queued and...

I have a Database that must be locked exclusively from time to time for various INSERTS.  I am noticing that sometimes I get multiple entries inserted when the database becomes unlocked. My application...

View Article

SQL Server Agent job between 2 instances fails with Error 18456 - Login...

Hi,SQL Server version: 2012 EEOS: Windows 2008 R2 EnterpriseIn my server, i have 2 instances, and I am trying to configure a SQL Server Agent job to query one table in Instance A, and insert some...

View Article


Link Server temp table

Hi All. Any one if we have a link server. Can we select a temp table from a link server?like the follwing:select * from serverA.tempdb.dbo.#temptable??

View Article

Create Cluster on Windows for Always on

Hi all, I am trying to configure Windows Cluster on windows 2008r2 and windows 2012 . the Validation went ok During the Cluster creation it erroed out . If there is standard documention on Creating a...

View Article


Index fragmentation

Hi,Sql Server 2008r2, Our indexes on POLARX database are highly fragmented (>96%) on two big tables, each table have one clustered and 13 non-clustered indexes, because of size of the table and...

View Article

Backup job failed

Hi All,How to resolve this issue. Can anyone suggest about this. Unable to determine if the owner (SCHLOGAU\sqladmin) of job  has server access (reason: Could not obtain information about Windows NT...

View Article

Compare Execution Plan

Hi all. Any very fast method we can compare two execution plan ?

View Article
Browsing all 12844 articles
Browse latest View live


Latest Images

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