Quantcast
Channel: Forumul SQL Server Database Engine
Browsing all 15780 articles
Browse latest View live

Sum function returning incorrect results

I have a table of values that is being summed using SQL server 2005 that is returning an incorrect value and I can't figure out why.  I have enclosed the raw values and the total should be 30869.025...

View Article


if we have temp table in sp, we execute sp from different sessions, it will...

if we have temp table in sp, we execute sp from different sessions, it will create different copy of temp table in sql server tempdb db or not ?

View Article


Ddatabase performance for ecommerce solution

Hi friends When design database for ecommerce solution , we should performe correct normalization?For example grid: we have two type of customer  ....> 1.supplier 2.customer For users , we can...

View Article

SQL Slowness

I am getting periodic SQL performance slowness, wait times.  I ran the following query as I noticed some "PageIOLatch_ex" in the activity monitor.  Does this mean I have a memory botttlenec or disk I/O...

View Article

SQL 2012 SP1 system_health security_error_ring_buffer_recorded Events

Hello,I recenlty upgraded My SQL 2005 server to SQL 2012 SP1. The system_health in Extended Events is now continuously reporting the event listed below.After upgrading to SQL 2012 SP1 I installed a...

View Article


i just want to check that foreign key used in some other table or not

I am using sql server 2008 as my data base engine. i update the [DeleteStatus] field when the time of deleting process.. but in this case i am facing an issue with delete process.. i dont want to...

View Article

back up settings is not working.

i am 69 years young and only had a laptop for about two years and now i find this page " i think that is what you call it" i am in wounder of the young lads and lasses that can do all these things, and...

View Article

Unable to Send mail using Database Mail feature SQL Server 2008 R2

Hello,Fellow DBA's...I have been trying to configure Database Mail on SQL Server 2008 R2 but I am betting below error. I am able to send Mail by connecting to my Mail server using Telnet but no...

View Article


Is it safe to use IDENT_CURRENT to assign default value in Default constrain

Hi All,I'm using IDENT_CURRENT('dbo.sometable') as default value.The intension is to duplicate last identity generated for this table in the column of the same table (to form ParentId column in...

View Article


Finding out the slow SQL from huge stored procedure

Hi All,I am on SQL 2000 (no dm_ views etc etc).There is a stored procedure which sometimes run in 40 mins, but sometimes it might take anything between 2 hours and 8 hours. It is a reasonably big...

View Article

SQL Server Memory

Hi All,I am not sure if this is a fair ask or no but this is something i want to learn much internals about sql server memory and how sql server responds to memory pressure and i wanted to see that...

View Article

database size big difference between original and restored for sharepoint

our sharepoint database wss_content on production server is 12GB, after we restore the site by stsadm -o restore -urlhttp://restored sharepoint  site url/ -filename "backup file of original site.dat"...

View Article

SQL Server Missing + Renamed Files

Hello everyone,The problem is already resolved, but I just want to share it and also figure out why it happened?I ran into a very weird problem recently. The SQL server's services (MSSQLserver and...

View Article


Cannot insert duplicate key row in object 'dbo.xxxx' with unique index...

We went live with SQL2012 SP1  and have run into a problem with duplicate keys on a clustered index for a table that has an IDENTITY column. This is code that has been working for atleast 5 years.When...

View Article

How to diagnose startup failure for SQL Server Agent?

I am attempting to start SQL Server Agent and I receive this error (from event log):-<Event...

View Article


Changing SSAS instance from stand-alone to cluster

Hello,I have a 2 node Active/Passive cluster mounted in Windows Server 2008 R2. Currently on the active node there's a SQL Server DB Engine instance running. SQL Server DB Engine and SSAS is 2008 R2.On...

View Article

Unable to export the file

Hi,I have used .Net project to insert one image file into my_schema.dbo.user_master.photo_file with user_id = 4.I've got SQLState = S1000, NativeError = 0 Error = [Microsoft][SQL Server Native Client...

View Article


Database Servername Issue

Hello All,I have my database server name as SQLTest01 and I am able to RDP to it with the name. ANd also all applications are connected to it for a long time now. However when I runSELECT @@SERVERNAME...

View Article

Undetected Deadlocks

Hi all,I've having problems on a SQL 2008 R2 (10.50.4266) Enterprise server, 32 cores and 512GB RAM. Since we installed the latest CU patches we have been getting a lot of undetected deadlocks. By this...

View Article

Defragmentation in sql 2005

Hi,After rebuilding index still it showing same results.I have a usertable (Avg 80%) after rebuiling, it still showing 80%, Why it showing same?

View Article
Browsing all 15780 articles
Browse latest View live


Latest Images

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