SQL 2005 Monitoring memory use - setting up an alert
Note: This is for SQL 2005Im following this examplehttp://technet.microsoft.com/en-us/library/ms176018%28v=sql.90%29.aspxIt mentions using these counters, but what Object did they select? Memory:...
View ArticleWide clustered index column order
Hi,I have what I imagine is a pretty common data warehouse scenario. There is a table containing items by business date and source system id. There are a number of source systems and the data is loaded...
View ArticleRing buffers - are the messages the same between types?
Im looking to capture low and out-of-memory conditions by querying sys.dm_os_ring_buffersreference this blog...
View ArticleAuto Generated Filegroup in SQL Server and also sliding window
Hi Experts, I new to create the Partitioning on database.I have manually created all partition filegroup and Schema but business want to create it automatically.even I have to create the sliding...
View ArticleSystem report - what items to include (ie. memory issues, top 10 slowest...
If you were to start to build a report that would be system related information, what items would you include?So far I have the following:- identify low and outofmemory events (since last ring buffer...
View Articlesp_send_dbmail problem
I am trying to send an email with the results in the body of the message. Below is the code and below that is the error. DECLARE @mailprofile VARCHAR(200) declare @query nvarchar(max) SET @query =...
View ArticleLogin issue..
Hi team,we are migration one server, i have login scripts,once we executing the login script in new server we are getting below error message :Supplied parameter sid is in use.how to drop the SID and...
View ArticleSQL 2012 SP1 system_health security_error_ring_buffer_recorded Events
Hello,I recenlty upgraded My SQL 2005 server to SQL 2012 SP1. The system_health in Extended Events is now continuously reporting the event listed below.After upgrading to SQL 2012 SP1 I installed a...
View ArticleException happened when running extended stored procedure 'xp_delete_file' in...
I have gone through the related posts. However not found the answer to this problem.Environment: - OS Version: - 2003 R2 (SP2) 64 Bit SQL version: - Microsoft SQL Server 2008 (SP3) - 10.0.5788.0 (X64)...
View ArticleHow to check if a view is updatable or not
What is a good way to find out if a view is updatable or not?The following options I know but are not useful for me:- try a update / insert statement: because I check all views existing in a unknown...
View ArticleSQL Server 2012 Shutting Down Randomly
Hello,I have two servers with Windows Server 2008 R2 and SQL Server 2012 Standard that were just setup about a week ago. Both SQL Server instances will randomly stop the service and become disabled. I...
View ArticleHow to migrate extended store procedure 64x DLL from SQL 2005 to SQL 2008 R2 ?
Hi! all,I need to migrate a database with extended store procedures from SQL 2005 64 bit EE to SQL Server 2008 R2 EE, the targuet os is Windows 2008 R2 EE.I went trought the...
View Articlesp_send_dbmail formatting results - one column has line breaks and wraps a...
I have a procedure that returns several results. One of which has a column with a long string, but I am trimming it to 300 characters.Regardless, when the email is received, the attached file contains...
View Articlesystem date time change influenceon SQL server
Hi! I'm making a small research on how system date time change may influence on correct behavior of windows services.Actually i need to do some trick in my .Net application on server to make it execute...
View ArticleEuro symbol issue in CP850
We are in US using code page 437 (chcp at command prompt returns 437). We have a 3rd party accounting platform with back-end SQL database that we recently migrated from SQL 2005 to 2008 R2. After...
View ArticleSQL Server quit unexpectantly after system date on server was changed to a...
We have a .NET application that stopped working. After investigation, we discovered that the system date on the server had been changeed to 2003 instead of the current 2013. After correcting the date,...
View ArticleSQL on VM, but disks on SAN
My question relates to what happens when you have to rollback the VM.If all your databases are on a SAN and the SQL Server is on a VM, but you rollback your VM, won't the state of SQL and the state of...
View ArticleRe:Log shipping..
Hi team ,we are configured log shipping primary and secondary both server are 2005 enterprise edition, but monitor server is 2008 enterprise edition, it can be working or not???
View ArticleDELETE FROM Table WHERE PKID=1 runs for over 5 minutes - no idea why
We have a table that has around 500 rows.I ran DELETE FROM Table WHERE PKID = 1 and the query ran for over 5 minutes before I finally killed it.I backed up the database and restored to another server,...
View ArticleCase Sensitivity in sp_describe_undeclared_parameters
We recently upgraded one of our databases to 2012 Compatibility Mode, and are now getting an error from sp_describe_undeclared_parameters when running an SSIS package that one of the parameters...
View Article