SP duration is longer from .Net as compare to running directly from SSMS....
Hi,One of SP is taking thrice the time from .Net as compare to running SP directly in SSMS.One strange thing I have notice is the following dynamic SQL call 2-3 times which only appears when SP is...
View Articlecpu usage information
hi ,one of my production sever cpu spiking 100%,constant 90% what we can do?how to resolve the this issue..
View ArticleCurrected Index
dbcc checked given the below error message , i tried to repair the database with allow data loss, when i ran the command instead of correcting the data again its giving same I/O error Info. I found...
View ArticleLinked Server Strange issue
Hi All,I setup a linked server to IBM Iseries from SQL Server but the strange thing is when I use open query to retrieve data, some of the columns are showing up in hexadecimal format. Any idea how to...
View ArticleIBMDASQL OLEDB linked server "access denied" using Windows Authentication
I have a linked server defined on a SQL Server 2005 SP2 standard edition server using the IBMDASQL OLEDB driver. The linked server has been defined and working for months when used from a SQL Server...
View ArticleI installed SQL Server 2008 in Windows Cluster environment, but can not find...
In a SQL Server 2008 cluster environment, local database engine server can not be found that installation process of SQL Server 2008 is normal, when I open SQL Server Management Studio.Is it right?
View ArticleHow to investigate on SQL server using high memory
Hello All,I am having a Server of 64 GB RAM and 58 GB is allocated to SQL server, SQL server is utilizing all Memory, How to investigate on this issues.Which Query are utlizing the maximum memeory...
View ArticleSQL2012 linked server to SQL2000 slow to insert
An insert statement run on SQL2012 server to a linked server (SQL2000 destination) is slow. Test script is below.-- Run on destination server (SQL2000) CREATE TABLE RemoteTable(ID INT Identity(1,1),...
View ArticleDifferent Execute Plan for same query
We are using the Following 2 queries:1.) DECLARE @Search VARCHAR(500) = 'Harry Potter'SELECT ProductID, ProductNameFROM Product WHERE ProductName LIKE '%'+@Search+'%'2.) SELECT ProductID,...
View ArticleFetch metadata from a column with an alias in a view
Hi!I have created a view and one of the columns in the view has an alias assigned to it.I'm able to read the metadata from INFORMATION_SCHEMA.VIEW_COLUMN_USAGE and also lookup from which table each...
View ArticleHow long lock is held on the first updated table inside the transaction
example;begin tranUpdate A ..... where .....update B ..... where .......Update C ...... where ....commit tran According to the example, i want to ask that, while updating C table, does transaction...
View ArticleSQL SERVER 2012 , fails when try to execute sp_rename from Native Client 11.0...
I have an application which uses native client 10.0 and we are trying to support SQL server 2012 also. But with native client 11.0 for x86 , everything works fine except when the routine send the...
View ArticleChecksum Error in resource database
I have received an alert and not able to breathe because no idea :Alert: Checksum failure while page in cache Source: MSSQLSERVER Path: S03AUMEL01SQLFC.pac.bvcorp.corp Last modified by: System Last...
View ArticlePerformance Issue on Sql server 2008 r2
Hi ,There is a performance issue on my Standalone SQL Server there are many concurrences on a database.I found in my SQL error log the below one:Timeout occurred while waiting for latch: class...
View ArticleHow read the SQL Server Logs History
Hi,How to read the Sql Server log files.Have checked DBCC LOG(databasename, typeofoutput) Command. But this is not geting output which am looking.I need to know something like this --> Full history...
View ArticleSQL 2000 Maintenance Plan
Hi ALLI have created a maintenance plan SQL 2000 to backup all the databases in the DB server, and there is an option to clean up old DB backup after some time. However I found the deletion is...
View Articlerecuperar una base de datos desde el archivo .ldf
Tengo una base de datos de la cual salio mal el back up se corrió un script delete en varias tablas y la pregunta es si existe alguna forma que yo pueda recuperar la información desde el archivo .ldf...
View ArticleOPTION (SHRINKDB PLAN)
What would have caused these kind of queries to appear in recent expensive query window in the activity monitor? The event that happened when I saw this query was, our dB drive ran out of space and we...
View ArticleReclaiming space available
I have a database that I ran compression on and if you look at the picture it shows SIZE 401407.04MB and Space Available as 210142.89MB. I am trying to free up that space but nothing has worked yet. I...
View Article