Storing Emails in the database
One of my client is storing the emails on Varbinary(max) column, it has to be kept in the database for at least 10 years and as you can imagine, database is becoming huge (with an year's email , its...
View Articlesys.fn_xe_file_target_read_file performance
Hi,I am working with extended events and the function sys.fn_xe_file_target_read_file. I am using the file_name and file_offset to get new events, since the last time I queried the function. I am...
View ArticleAUTO_UPDATE_STATISTICS_ASYNC ON or OFF for OLTP database?
What is the final verdict? I believe Glenn is for enabled (ON) even when statistics updated nightly as a job.NOTE: Auto Update Statistics must be enabled (ON) for the asynch option to work.Related...
View ArticleReady Time out error in application log
Hi All,Recently application are throwing below error when they are connected to databases engine.Application and Databases are two different servers.SQL Server Version: SQL Server 2012 Enterprises...
View ArticleSQLServerAgent could not be started (reason: Unable to connect to server '';...
Unable to start SQL Agent SQL Server 2008 R2 RTM OS: Windows 2008 R2Agent Log2012-04-17 22:17:22 - ! [298] SQLServer Error: 27, Registry information is corrupt or missing. Make sure the provider...
View ArticleRUnning sql job under non-winodws account
Hi all, I am pulling data from a source system(non-sql server) using SSIS. I am given a user name and password to connect to this system using ODBC. Can I create a sql server job and run this job under...
View ArticleNeeds to configure the sql jobs with SA permission.
Hi team,we have one requirement,that is one db developer asking to me to create a one sql server login with SA permission,we told this is production server we are not give the SA permission we give...
View ArticleMulti Server administration error
Hi, I have configured a Master server and when im creating a maintenance plan and while saving it, im getting the following error"This Maintenanace Plan cannot be distributed because it has tasks...
View ArticleSql Service and Databases won't start on two of my databases SQl 2005
getting the errors below In Event viewer I have Event ID 17120 SQL Server Could not Spawn FRuncm thread check the sql server error log and the windows event logs for information about possible related...
View ArticleResore SQL server 2008 SP3 database to SQL server 2008 R2 SP1
I have a dump from a SQL server 2008 SP3 server and I'm trying to restore it to SQL server 2008 R2 SP1 server but getting the error:Msg 3241, Level 16, State 0, Line 2 The media family on device...
View ArticleClustered SQL instance will not start after Cluster network failure
Hi we had a network failure today on our two node SQL cluster, once the issue was resolved one of the sql instances will not come online, and is in a failed state. I can start the SQL service no...
View ArticleThe process cannot access the file because it is being used by another...
In Sql server 2005 dev edition observing the followed error.SQLServerAgent Error: The process cannot access the file because it is being used by another process. [SQLSTATE 42000] (Error 22022)....
View ArticleSQL Agent job step - SSIS package - adding a config file - will it override...
If I setup a job step to run a package and set the config file location on the "Configurations" tab, will that override the config file that the SSIS package is configured to use? Or is this a...
View ArticleIs it possible?
Hi All,I have an requirement. I have a text file.data will be dump into that file always.Whenever there is an update in that text file . The same should update in SQL Server as well.Is that...
View ArticleSSL Certificate
A 3rd party application requires SSL Encryption enabled in SQL Server - on SQL2008 / SQL2012Will I need a new instance to host the backend of that application or can I use an existing instance?If I use...
View ArticleHow can i schedule sql job to start everyday at 1am and stop at 4am?
Hi,I have requirement to schedule the job to run every day start at 1am and stop at 4am.I couldn't find the the setting in sqlserver schedule setting.Any thoughts?Thanks,Ron.
View Articlekeeping an eye on CPU/IO.
I was wondering if there is a short and effective way to have a job which runs and send an alert if the CPU utilization and IO is above normal or the expected set value?Thanks!!
View ArticleDBCC CHECKDB (master): error 2570 in sys.sysbinobjs
Dear experts,After running the DBCC checkdb against master databas with DATA_PURITY argument, we recieved the error 2570 in sys.sysbinobjs. The complete output is the below (it's in spanish but you'll...
View ArticleSql Server Name and restoring databases
Hi, We have to restore a database from a dead Win2k3 server. We can re-attach the databases just fine, but our software calls to Server=subdomain.example.com;Database=soandso;When I install SQL Server...
View ArticleHow to re-construct PFS page in corrupted database
Hi All,I am troubleshooting one database in which some pages are corrupted. As Paul say we can re-construct the PFS_PAGE( please refer the below url), could you tell me step by step please how to...
View Article