sql server is taking full memory and become very slow on sql server 2008 server
sql server is taking full memory and become very slow on sql server 2008 server
View ArticleMitigate lack of online re-indexing in MS SQL Server
Very small business is running SQL Server 2k5, and will soon upgrade to 2012. They can only afford the Standard version; Enterprise is just too much for them, and they would only use a couple of the...
View ArticleSQL Multiple INSERT INTO Operations Inside a WHILE Loop
MS SQL Server 2008R2 I'm trying to iterate through attaching multiple databases, extracting their data into a master database and then detaching them. Below is a sample of my script. The attach works...
View ArticleSplunk: Grabbing Audit data from SQL Stardard
Since SQL 2008 Standard does not come with auditing capabilities, I'm wondering if anyone else has had success with getting audit data (via a default trace or custom script) into the Splunk App for...
View ArticleSQL Server 2008 R2
Hi How do i stop the backup jobs of SQL Server 2008 R2, when i check the management studio, there is no job schedule, but when i check the log history a database backup was running with...
View ArticleMSSQL Round up to nearest 50c
Hi All, i am using MSSQL 2008r2 and am looking for a way to round UP to the 50c. E.g. if i have a price that is $12.05 i would like it to be $12.50 same applies if i have a price that is $12.55 i...
View ArticleSimple SQL update query
We have a large table of customer accounts stored in MS SQL 2008. I need to add a value to an existing column in this table for a number of accounts. For example, I have a list of account numbers to...
View ArticleSQL Query runs twice longer on one server compared to another
I have 2 comparable servers where the most expensive query takes only 20 seconds to run while it takes 40 seconds to run on the 2nd serverServer 1. (custom built Cybertron server – the one with 20...
View ArticleMS sql server query help please
Hi all, Maybe because it is a Friday, but I can't get a query to pull some data. Lets assume I have this table: pKey | Dept | Person 1 | A | John 2 |A | Bill 3 | B | Sam I'd like to select the last...
View ArticleHELP! Production SQL Server DOWN!
We're restoring our production SQL Server to a new larger RAID-10 array, ran into a problem with the SQL databases. Backup Exec 2010 R3 is throwing an e000848C error when trying to restore the SQL...
View ArticleSQL Server 2014 CTP1....What's so special?
I just noticed there is a preview for this. I about laughed since we haven't even moved to SQL 2012 nor have any applications I know of updated their database ends. Why the jump to 2014 already?...
View ArticleSQL Server 2008 R2 Transaction Log Shipping Failing
This week I started working on SQL Servers for the first time ever. One of my tasks was to set up log shipping to our new DR Site that is a few miles down the road. For the most part log shipping is...
View ArticleSQL scalar to inline function
Hi, We have a scalar function that runs against millions of records and it takes hours. From what I've read, it needs to be converted to an inline table value function which would be much quicker. How...
View ArticleRunning Total in a Pivot SQL Function
Is this possible? Would like a running total after the Total column at the end as this only gives me the total for that week. Code below, sorry its a bit long ALTER Function...
View ArticleHow to setup a MS Access as a front-end to a SQL Server back end for backups?
Hello: On a prior discussion, there was a response on how to backup an active Access 2007...
View Articlesqlservr.exe max CPU usage is 6%
Recently I have been told that our db server is running a tad slow when running reports from SSRS. I have looked into it and everything seems to be configured correctly. I noticed that the...
View ArticleMSSQL Server Management Studio Auto Backups!
Hi all, We have a requirement to backup one of our MSSQL databases automatically every night. I have done this via a Scheduled Job in MSSQL Server Management Studio and it works fine. However the...
View ArticleWindows 7 hosting SQL Server and connection problems
I'm looking to confirm my suspicion about a problem reported by a new client.They are hosting SQL 2008 R2 Express on a Windows 7 Pro machine. All client PCs have a drive mapped to the SQL host to run...
View ArticleMSSQL Installation/Disaster Recovery Software?
Is there a software package that can backup the installation of MSSQL(installed registry keys and exe, dll's etc.) and recovery it in case of a disaster. I'm not talking about doing db restores. Right...
View ArticleSingle MDF to multiple MDFs
After a ton of testing on our future production box (NEWPROD) using many different configurations, I have found that I get a consistent 20% performance boost by having 4 separate MDF files (all on...
View Article