SQL Server Job that were written in SSIS packages failed
could not load package files system because of error 0x80070002. Description: could not find file 'C:\program files\microsoft SQL Server\100\DTS\Binn\. The package could not be loaded. The step failed....
View ArticleOracle linked slow perfomance
Hi guys, I beg the moderator to move in another forum if this is not the suitable.The issue: I got a SQL 2008r2 with an Oracle db linked. The connection is ok. I can retrieve data. Th eproblem is that...
View ArticleGet Notification When SqlConnection Pool Count change
Hello AllI use Following Query To check ConnectionPool Count:SELECT COUNT(*)FROM(SELECT host_process_id FROM sys.dm_exec_sessions WHERE PROGRAM_NAME = 'MyApplicationName' GROUP BY host_process_id) AS...
View ArticleSQL 2012 SP1 - How to determine a query that causes Error 8623 in SQL Log:...
We are getting multiple 8623 Errors in SQL Log while running Vendor's software.How can you catch which Query causes the error?I tried to catch it using SQL Profiler Trace but it doesn't show which...
View ArticleOpenrowset Error
Hello All, When I execute the following query I get the error:SELECT * FROM OPENROWSET ( 'Microsoft.ACE.OLEDB.12.0', 'Data Source='C:\Test.xls;Extended Properties="EXCEL...
View ArticleUnexpectedly error - ex_handle_except encountered exception C0000005 - Server...
Hi Guys,I've faced an unexpected error in my test and production environment. The SQL Server was shutdown and it was created a dump file with the follow information:* BEGIN STACK DUMP:...
View Articlesysindexes states that sys.sysrscols contains 50 million rows. How to free up...
HiWe have a problem with a database that has some hidden data somewhere. We cannot shrink the files or database any more, but when we query table sizes, index sizes we do not come near the database...
View ArticlePermanently Drop database triggers from tempdb
We installed an security application that created database triggers in all the databases to include tempdb. We have found that the database triggers in tempdb are causing out main transactional...
View ArticleError during backup process
Hi,Our system on a daily basis creates a backup of Sql Server 2008 database. It is using "backup database {0} to disk='{1}'" command. It works for years now, but recently a problem occurred.On our...
View ArticleAutogrowth, shrink and database performance
I have already asked some questions about Autogrowth and shrink. But I have some doubts related to it. 1)I have a database which grows about 300 MB every month. So is it best to set Autogrowth of 300...
View ArticleSEQUENCE issuing numbers more than once?
This is all on Microsoft SQL Server 2012 (SP1) - 11.0.3000.0 (X64) Oct 19 2012 13:38:57 Copyright (c) Microsoft CorporationEnterprise Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service...
View ArticleViewing an encrypted data in MSSQLSERVER
Hi Everyone,I have a table in my database that contains an encrypted column. I dont want to decrypt the column but I want to be able to view the encrypted data.Please i need help!!me
View ArticleApplication Role
Hi All,In SQL Server, we can create application role by using the Create Application Role command and set the application role executing the sp_setapprole stored proc. But how and when does the binding...
View ArticleMoving Database Servers
AllI have recently moved some production db's.Recovery Mode = Simple.XXXXX.mdf - 1.8gbXXXXX.ldf - 800mbWhen we run a full back up the log file does not reduce in size, is that normal?I have some quite...
View ArticleResult to Text : Spaces
hi~ I am writing a query to result to text:select db_name(dbid),dbid from sys.sysprocesses but there is alot of spaces after the column of db_name...how to trim them ??
View Articlesys.dm_tran_database_transactions vs. dbcc opentran.
Greetings. I've been using sys.dm_tran_database_transactions to detect which queries are making my TLogs grow, but wouldn't it also stand to reason that dbcc openTran would be an equally effective (if...
View ArticleTrace Issue
Hi,I closed trace files, but still it will start automatically everyday @ 12:00AMHow can i stop this?ThanksShashikala
View Articlecpu scheduling
Which cou scheduling algorithms are used in different versions of windows including 95,98,NT,xp,vista ,7and 8?Was thread scheduling with multi queue implemented in the earlier versions too or it was...
View Articlemaximum transactions per second sql server support value
I want to know what is the maximum transactions value per second sql server support.Thanks
View Article