Not able to access database from a remote machine using SQL Server Management...
Hi,I have a DB_BOX with SQL Server 2008 R2 installed. I can access the databases on the local machine using SQL Server Management Studio but it is not accessible from other machines, though the...
View Articlelen function and nvarchar
Hi we run 2012 enterprise and to be proactive i thought i'd ask the community what the len function will return on our nvarchar(30) col when our foreign partners start populating with chars that really...
View ArticleGet deadlock statements?
Greetings. I've been using third party tools for monitoring for a very long time. However, I recently switched jobs and need to get up the learning curve with DMV's now. I know how to capture which...
View ArticleFile growth size
Dear All,I wanted to create some databases but I wanted to know how to determine how much file frowth to specify in MB please?Thank you in advance.
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 ArticleStoring 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 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 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 Article