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 ArticleSQL 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 ArticleBlocking 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 ArticleInstalling 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 ArticleConnection 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 ArticleSplit 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 ArticleSQL 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 ArticleSQL 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 ArticleDistributed 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 ArticleProblem 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 ArticleSQL 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 Articleany 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 ArticleSQL 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 ArticleLIKE 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 ArticleRe : Temp database issues
Hi ,my temp database is repeated full what i can do........?/ Thanks, Purna
View ArticleIs 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 Articleout of memory
hi everyonewhen i use sql server 2008r2 in web application some times error out of memory occures
View Articlewith 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