Quantcast
Channel: Forum SQL Server Database Engine
Browsing all 15889 articles
Browse latest View live

Finding out which #tables in temporary db belong to which session_id?

Is it possible to finding out which #tables in temporary db belong to which session_id.I would like to link the name of the temp objects (#temp tables, ##temp tables, and...

View Article


I want to use hindi collation for one of my database not server

I have the SQL server 2008 r2. I want to use hindi collation for one of my database not server.I have find "Indic_General_90_CI_AS" a hindi supportive collation.Will it work in 2008 r2?beause...

View Article


Image may be NSFW.
Clik here to view.

Unable to connect

Hi,Within the 2008 server called "WIN2008DC", I see all of the services of instance "MSSQLSERVER" are started there but when I try to connect to thisWIN2008DC\MSSQLSERVERI've got thisTITLE: Connect to...

View Article

Sql Server login failure error: 18456 with Windows account and sa account

Hi All,I am using Win 2008 R2,SQL Server 2008R2When i try to connect to SQL Server i am getting error 18456. Previously i have installed Active Directory and immediatly i haved un installed it. After...

View Article

get all users of a particular active directory group using sql query

Hi All,I wanted to write a sql query to return all the users from a specific AD Group specifying the Group Name instead of the CN value in memberof.I have written the query as shown below. kIndly help...

View Article


Exception 0xc0000094 EXCEPTION_INT_DIVIDE_BY_ZERO at 0x00000000022953A6

Hi,We are using MSSQL 2008 R2 Enterprise, recently we have noticed Exception 0xc0000094 EXCEPTION_INT_DIVIDE_BY_ZERO at 0x00000000022953A6 throwing in the sql server.Can any one guide me to fix the...

View Article

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

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

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

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


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

Standard and workgroup edition problem

Hi Experts,We need to install MSSQL SERVER 2008 and set up the replication. In that we have provided with a sql server standard edition and one as a work-group edition. Can any one tell which one to...

View Article


sys.dm_db_index_usage_stats - Scans more than Seeks

I am analyzing work load to find indexes stats like seeks and scans using sys.dm_db_index_usage_stats. One index i found asIndex_id = 1; user_seeks = 0; user_scans = 8; Does that infer key used for...

View Article

table taking 50% more space than it should

Hi All,I have a table with 1.4 billion rowsin - it is a many to many - and I have been carrying out some work before christmas towards partitioning it.the length of the row is only 33 bytes, however...

View Article

Partition split question

I've recently inherited a database that has a very large table partitioned by month(each in its own filegroup).  Unfortunately, new partitions have not been added, so the last partition has grown very...

View Article
Browsing all 15889 articles
Browse latest View live


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