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

How to resolve the deadlock for stored procedure ?

Hi, I am facing deadlock issues in one procedure ... as code is likewise.... DECLARE @T table (Ticketid bigint, RefTaskId bigint) INSERT INTO @T select distinct...

View Article


SQL Memory Issue (Hope Script Can Fix)

I have a SQL Server that tends to hang around 98% memory usage.  When I restart the service the memory usage goes down to 20 - 30% and in two weeks its back to 98% and stays there.  I have backups that...

View Article


Blocking Alert WMI Property Details

I have a created a blocking alert.  It works, but I'm very fuzzy about the WMI properties.  I use the (WMI(property)) token to get the property values, but I am unsure of what I'm getting.  I would...

View Article

Installing SQL Server 2012 on a Windows 8 OS

Trying to install SQL Server 2012 on a Windows 8 OS. Hardware:  Intel i7 processor, 8 GB RAM, plenty of Hard Disk space. Here is the error I get: TITLE: SQL Server Setup failure....

View Article

Connection Failed

Hi, When user tried to connect to sql server, gets following error: SQLState '28000' SQL Server Error: 18456 Micorsoft SQL Server Native Client 10.0 SQL Server login faile for user abc\xyz. Connection...

View Article


Split one mdf file into several files

Hi,  I have a huge (over 1 TB) SQL 2008 R2 database that has one .mdf file. I need to migrate the database to a another server but the new server only has several smaller drives, so I need to split...

View Article

SQL Server 2008R2 - Transaction getting log full in simple update statment

I am facing strange issue while performing simple Update statment on one table having 5cr. records as Update Table Set Is_Deleted=0 is failed after say 2hrs with below error. Msg 9002, Level 17, State...

View Article

SQL server memory usage best practices

I run SQL 2005 64bit on a Win2008 R2 Cluster with an active and a passive node. The rdbms hosts one DB at 40 GB and a few more db's at another 20 GB. Total size for all databases sums to 60GB. The...

View Article


Distributed Transactions fail on Linked server

  We get the below error while performing a distributed transaction on linked server. We have several linked servers configured in the source server and all of them succeed with the distributed...

View Article


Problem with string concatenation

declare @Topicid dtid Declare @LevelID varchar(10) select @Topicid = 'L10000' select @LevelID= substring(@Topicid,1,2) -- output - L1 select QID,Marks,Question from QBObjective where...

View Article

SQL Server ODBC Data Source Test Failed.

Hi, User is member of AD grop and that group have permission on database. When this user tried to connect database through ODBC connection he gets following error and cannot connect: "Microsfot SQL...

View Article

any option available to make changes at Receving end...

is there any (replication|Mirror|LS) option available in which i can make changes in subscribing|secondary|mirror servers and getting inceremental changes from senders. pleaseManish

View Article

SQL Server 2008 SP3 - Mirror Accessibility

Thanks for looking at my posting!SQL Server 2008 SP3 in Mirroring.All is working fine and was wondering how I can better utilize access to the mirror for reporting and other tasks - obviously in...

View Article


LIKE operator returns all records with wild card (%) in MS SQL Server

Hi,I have 2 SQL query like below.1. select * from mytest where 'abc' LIKE mycol.2. select * from mytest where mycol LIKE 'abc'."mytest" is a table with "mycol" a column in it. The table has records...

View Article

how to find the all tables in one database inculding all table's size also???

thanks,Thanks, Purna

View Article


Re : Temp database issues

Hi ,my temp database is repeated full what i can do........?/ Thanks, Purna

View Article

Is this a Bug? System Assertion Failure On Manual Update Stats SQL 2008 R2 SP2

System:SQL 2008 R2 SP2 Enterprise x64 (10.50.4000.0)Windows 2008 R2 Enterprise X64 SP1 (6.1.7601) Error Message:Updating [dbo].[Bob]Location:     statutil.cpp:3225Expression:   m_fInitialized...

View Article


if there is any possible system database is shrinking(Master,model,msdb,temp)DBs

ThanksThanks, Purna

View Article

out of memory

hi everyonewhen i use sql server 2008r2 in web application some times error out of memory occures

View Article

Image may be NSFW.
Clik here to view.

with OPTION ( FORCE ORDER ), SQL takes 1 second and without it takes 2 hours...

Could some body in microsoft database team explain this behavior? Problem is predominant when cardinality of a column is very high and a where clause is specified on that column.  Both use the same...

View Article
Browsing all 15694 articles
Browse latest View live


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