Follow Us!
-
Recent Posts
Categories
- [+].Net (45)
- [+]ASP.NET (3)
- [+]ASP.NET Dynamic Data (1)
- [+]Entity Framework (2)
- [+]Linq to SharePoint (3)
- [+]Linq to SQL (3)
- [+]MVC (7)
- [+]WCF (4)
- [+]ASP.NET (3)
- [+]BizTalk 2010 (1)
- [+]Business Intelligence (6)
- [+]Community (1)
- [+]CSS (5)
- [+]Events (5)
- [+]Firebug (1)
- [+]IIS (1)
- [+]InfoPath (2)
- [+]Internet Explorer (1)
- [+]JavaScript (2)
- [+]JQuery (4)
- [+]Office365 (1)
- [+]PerformancePoint (1)
- [+]SharePoint 2007 (25)
- [+]Administration (3)
- [+]Development (8)
- [+]PowerShell (2)
- [+]SharePoint Designer (1)
- [+]Administration (3)
- [+]SharePoint 2010 (84)
- [+]Administration (22)
- [+]Configuration (9)
- [+]Development (9)
- [+]PowerShell (13)
- [+]SharePoint Conference (1)
- [+]SharePoint Designer (6)
- [+]Administration (22)
- [+]SharePoint Online (1)
- [+]Silverlight (1)
- [+]Sitecore (19)
- [+]Administration (3)
- [+]Configuration (2)
- [+]Development (6)
- [+]Administration (3)
- [—]SQL (7)
- [+]SSIS (2)
- [+]Telerik (1)
- [+]Uncategorized (9)
- [+]Visual Studio (6)
- [+].Net (45)
Tags
Network Engineer New Hires Office 365 Office Web Apps ParallelPeriod PerformancePoint PowerShell ProjectTypeGuids Red Gate Richmond Search Service Applications Service Pack 1 Sharepoint SharePoint 2007 SharePoint 2010 SharePoint Conference SharePoint Designer 2010 SharePoint Online SharePoint Saturday Silverlight SPC11 SPMetal SQL SQL 2008 SSAS SSIS Styles TCSC Technical Project Manager Telerik The Computer Solution Company The Computer Solution Company of VA Transactional Replication Uneven Periods User Profile Service ViewData vs TempData Visio Visio Services Web Part Pages Web Parts Windows 8 Workflows WSPBuilder XML CommentsTwitter
- I'm hiring! SharePoint Analyst and Developer at TCSC - Washington D.C. Metro Area #jobs http://t.co/0SkEPQvp 23 hours ago
- New post on #WCF Performance http://t.co/fPU2eBVV #dotnet #aspnet 3 days ago
- #SharePoint My Site Custom Quota Template Not Applying http://t.co/KmrQL7N5 #SP2010 3 days ago
- Photos from the #RVA #CFALeadercast are now on our Facebook page! http://t.co/PPXCt0J1 4 days ago
- #Sitecore Quick Tips - Device Fallback http://t.co/MWUGKKtm 4 days ago
Archives
-
Meta
Category Archives: SQL
Creating a Database Backup and Restoring it in Code
When running regression tests many times you have to rely on very specific bits of data to be present in your database for the correct results to come out reliably. This can typically be handled by a few simple inserts and deletes to massage the data that you need. Other times there is just too much data to handle in that way. So you need to just start from scratch and re-create your database.
SSIS: Use Dates in Dynamic SQL Statements
I have seen lots of posts on how to build a date string for expressions that set the SQL Statement that will be executed in Data Pumps for example. You might need to do that if you are working with a data source that does not like date manipulation functions in the SQL statement. The solutions I have seen seem a bit complicated, but I figured out a way to do it simply. This might not be new, but I have not seen it, so here goes. First, I create a variable that is a string to hold the date.
Posted in Business Intelligence, SQL, SSIS
Leave a comment
Automate your test data with Red Gate SQL Data Generator
Just about every developer out there has encountered a scenario where they need to load test the application they are creating, but simply cannot come up with enough load to make it happen. I’m not going to go down the rabbit hole that is load testing an application in this post, but I do want to talk about one component of load testing, which is working with a lot of data. I seem to always run into the situation where I’m developing an application for a client, and when it comes time to test the application in a real world scenario and need real world data, the only viable solution is to back up data from a production server and massage it to “fit” into my applications database. Bad idea. Yes, there are times when this is unavoidable, but in general, do you really want to make multiple copies of sensitive data? Also, in most cases I cannot just copy and paste the data into my database. In the past I’ve created a number of data migration utilities, data population scripts, and used a number of tools just to populate my application with data that I can use to test it. All of this takes time, and effort.
Transactional Replication Filters
I recently needed to replicate a small portion of a database to a separate server hosting SharePoint. Only a small amount of our total user base would be able to access this site, so we decided to use Transactional replication to replicate only the users with the proper roles. This presented a few unexpected challanges, as the filters did not work as you might expect.
Use Task Name as Stored Procedure Argument in SSIS
This is something that probably doesn’t come up that often, but I had a situation recently where a routine was called repetitively. The client didn’t want a For/Loop type of solution, they wanted to manage it in the package, so I created the stored procedure to execute the routine and it accepted the name of the task from the SSIS package as an argument to direct the function. Doing it this way, meant the client only had to copy the task and rename it to change its function. They did not have to edit the internal call for the task.
Posted in Business Intelligence, SQL
Leave a comment
Cleaning up the Error Logs – SQL Error 18456
So, yesterday I was trying to resolve one issue that led to another, pretty much a daily occurrence right? This SQL issue was littering the application logs every minute with Event ID 18456, as you can see in the screenshot.
Posted in SQL
Leave a comment