delete transaction log file
Hi,I added a logfile in my SQL Server database for some long running transactions. But now I want delete the transaction logfile which i added,pleaase tell me the procedureRegards
View ArticleOPENQUERY over Oracle Linked Server crashes instance with c0000005...
Hi there,Our applications query over linked servers to Oracle. We started upgrading our database servers to SQL 2008 R2 from SQL 2005. After one server upgrade, we started seeing these openqueries to...
View ArticleThere is any way to change partition scheme from left to right without...
Hi All,There is any way to change partition scheme from left to right without dropping Table in production.I am doing testing on Table Partitioning & requirement is to do partition (3 Partitions...
View ArticleAttach adventureworks 2008 to SQL server via SSMS
Hi :I need help to attach adventureworks database 2008 to the SQL via SSMS, because every time I try to do it this is what I get :TITLE: Microsoft SQL Server Management Studio...
View ArticleSP 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 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 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 ArticleToo many parallel nested transactions
Just recentally we have started to get dump files with the following description: Description: Too many parallel nested transactions When this happens and the dump files start to get created the server...
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 ArticleDatabase corruption issue
We are facing problems on production server with SQL Server 2005 enterprise edition, where one of user DB are having many allocation errors and backups are not successfull even for msdb. We find some...
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 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 ArticleA significant part of SQL Server process memory has been paged out
Gurus,I see a stack dump error too in addititon to error in the subject line. I have configured the setting for Max and Min memory and both have the same values. i.e 6400. My physical memory is 8 gb on...
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 ArticleDbcc checkdb command
Dear Sir, Here i am having a doubt When we run DBCC CHECKDB command if we found any error we can fix them by using repair_fat,Repair_rebuild,Repair_allow_data_loss. If application team not ready for...
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 Article