An AJI Software Community
BLOGGER LIST

(1691, 1/21/2012)  
(1472, 1/31/2012)  
(1337, 12/16/2011)  
(765, 12/22/2011)
(729, 1/09/2012)
(678, 1/19/2012)
(597, 10/25/2011)  
(560, 10/18/2011)
(504, 2/06/2012)
(475, 1/25/2012)  
(460, 1/15/2012)  
(451, 1/25/2012)
(425, 11/04/2011)
(363, 1/16/2012)
(332, 1/19/2012)
(293, 2/03/2012)
(283, 10/11/2011)  
(271, 11/03/2011)
(266, 1/24/2012)  
(256, 2/03/2012)
(253, 2/04/2012)
(252, 9/09/2011)  
(250, 1/04/2012)  
(246, 1/25/2012)  
(210, 1/23/2012)
(198, 2/06/2012)  
(194, 11/19/2011)  
(190, 1/12/2012)
(188, 2/04/2012)  
(187, 11/18/2011)
(186, 2/02/2012)  
(184, 12/16/2011)  
(179, 1/13/2012)
(175, 12/02/2011)  
(169, 9/15/2011)  
(168, 8/16/2011)
(167, 2/03/2012)
(158, 8/09/2011)
(152, 1/08/2012)
(148, 12/19/2011)
(142, 12/04/2011)
(141, 2/02/2012)
(136, 2/03/2012)
(133, 12/11/2011)  
(132, 12/17/2011)  
(126, 1/04/2012)
(126, 1/31/2012)  
(126, 12/27/2011)
(120, 1/04/2012)  
(114, 12/12/2011)
(114, 12/12/2011)
(110, 9/20/2011)  
(109, 10/14/2011)
(105, 9/16/2011)
(105, 1/25/2012)
(103, 2/03/2012)
(103, 2/02/2012)  
(102, 11/29/2011)
(100, 12/04/2011)
(96, 12/18/2011)  
(94, 12/31/2011)
(94, 10/09/2011)
(88, 2/02/2012)  
(87, 11/03/2011)
(86, 1/17/2012)
(86, 11/11/2011)
(82, 1/17/2012)
(79, 10/25/2011)  
(77, 1/20/2012)
(74, 1/31/2012)
(73, 11/29/2011)
(70, 1/19/2012)
(70, 1/26/2012)
(70, 2/04/2012)
(69, 12/10/2011)
(69, 1/24/2012)
(67, 12/16/2011)
(66, 9/20/2011)
(66, 12/08/2011)  
(65, 12/27/2011)
(65, 11/04/2011)
(64, 11/24/2011)
(61, 11/01/2011)  
(61, 10/03/2011)
(60, 1/23/2012)
(59, 11/29/2011)
(58, 11/22/2011)
(58, 9/14/2011)
(58, 11/04/2011)
(57, 1/02/2012)
(56, 9/06/2011)
(53, 10/13/2011)
(53, 2/04/2012)
(51, 12/16/2011)
(51, 1/11/2012)
(50, 1/18/2012)
(50, 1/27/2012)
(49, 2/02/2012)
(49, 1/18/2012)  
(48, 12/07/2011)
(47, 1/29/2012)
(47, 1/18/2012)  
(46, 10/06/2011)
(45, 9/07/2011)
(43, 12/11/2011)
(43, 12/01/2011)  
(43, 11/10/2011)
(42, 1/30/2012)
(42, 8/23/2011)
(42, 1/19/2012)
(42, 2/03/2012)
(41, 10/14/2011)
(41, 9/07/2011)
(41, 2/01/2012)
(39, 12/01/2011)
(39, 10/19/2011)
(39, 8/15/2011)
(39, 8/26/2011)
(38, 9/20/2011)
(38, 1/09/2012)
(38, 2/02/2012)
(37, 1/29/2012)
(37, 12/29/2011)
(36, 1/25/2012)
(36, 12/19/2011)
(36, 1/03/2012)
(35, 12/27/2011)
(35, 1/17/2012)
(35, 12/02/2011)  
(35, 1/25/2012)
(35, 8/19/2011)
(35, 1/17/2012)
(35, 1/05/2012)
(34, 1/27/2012)
(33, 11/09/2011)
(33, 1/23/2012)
(32, 12/14/2011)  
(32, 12/30/2011)
(32, 1/26/2012)
(31, 1/16/2012)
(30, 11/06/2011)
(30, 10/30/2011)
(30, 1/05/2012)  
(26, 11/07/2011)
(25, 9/04/2011)
(25, 12/23/2011)
(25, 1/09/2012)
(25, 12/30/2011)
(25, 9/25/2011)  
(25, 10/24/2011)
(25, 1/24/2012)
(25, 1/02/2012)
(24, 11/21/2011)
(24, 12/27/2011)
(23, 9/08/2011)
(23, 12/01/2011)
(23, 2/01/2012)
(22, 11/23/2011)
(21, 10/15/2011)
(20, 12/12/2011)
(20, 11/10/2011)
(20, 1/13/2012)
(20, 11/02/2011)
(20, 12/15/2011)
(20, 1/08/2012)
(20, 1/24/2012)
(19, 1/30/2012)
(19, 1/29/2012)
(18, 11/03/2011)
(18, 10/30/2011)
(18, 12/27/2011)
(18, 10/11/2011)
(18, 1/06/2012)
(18, 11/23/2011)
(18, 8/17/2011)
(17, 1/09/2012)
(17, 8/11/2011)
(17, 9/02/2011)
(17, 1/04/2012)
(17, 11/01/2011)
(17, 2/05/2012)
(17, 1/14/2012)
(17, 1/27/2012)
(16, 1/14/2012)
(16, 9/13/2011)
(16, 10/07/2011)
(16, 8/11/2011)
(16, 11/16/2011)
(15, 12/12/2011)
(15, 9/14/2011)
(15, 2/05/2012)
(14, 11/16/2011)
(14, 2/04/2012)
(14, 1/06/2012)
(14, 8/09/2011)
(14, 12/12/2011)
(14, 12/31/2011)
(14, 11/12/2011)
(14, 11/29/2011)
(14, 11/04/2011)
(13, 10/13/2011)
(13, 2/02/2012)
(13, 9/09/2011)
(13, 12/29/2011)
(12, 9/14/2011)
(12, 12/06/2011)
(12, 1/10/2012)
(12, 1/25/2012)
(12, 1/31/2012)
(12, 2/02/2012)
(11, 8/17/2011)
(11, 1/05/2012)
(11, 9/29/2011)
(11, 9/30/2011)
(11, 8/21/2011)
(11, 12/19/2011)
(11, 8/13/2011)
(11, 1/18/2012)
(11, 1/13/2012)
(10, 10/25/2011)
(10, 9/26/2011)
(10, 2/04/2012)
(10, 10/19/2011)
(10, 9/15/2011)
(10, 9/22/2011)
(10, 9/23/2011)
(10, 11/04/2011)
(10, 10/21/2011)
(10, 12/22/2011)
(9, 8/27/2011)
(9, 1/25/2012)
(9, 12/05/2011)
(9, 2/01/2012)
(8, 10/28/2011)
(8, 9/07/2011)
(8, 12/16/2011)
(8, 8/23/2011)
(8, 10/07/2011)
(8, 1/15/2012)
(8, 11/29/2011)
(7, 10/08/2011)
(7, 1/25/2012)
(7, 12/16/2011)
(7, 10/13/2011)
(7, 10/07/2011)
(7, 2/06/2012)
(7, 1/22/2012)
(6, 11/08/2011)
(6, 10/10/2011)
(6, 10/06/2011)
(6, 9/15/2011)
(6, 11/24/2011)
(6, 1/25/2012)
(6, 8/31/2011)
(5, 11/02/2011)
(5, 2/05/2012)
(5, 11/21/2011)
(5, 8/25/2011)
(5, 11/10/2011)
(5, 1/23/2012)
(5, 1/20/2012)
(4, 12/12/2011)
(4, 2/02/2012)
(4, 10/24/2011)
(4, 10/18/2011)
(4, 9/21/2011)
(4, 10/17/2011)
(4, 11/02/2011)
(4, 1/23/2012)
(4, 11/23/2011)
(4, 8/31/2011)
(4, 9/01/2011)
(4, 10/11/2011)
(3, 1/24/2012)
(3, 11/21/2011)
(3, 12/27/2011)
(3, 11/16/2011)
(3, 10/12/2011)
(3, 8/06/2011)
(3, 8/30/2011)
(3, 10/04/2011)
(3, 11/04/2011)
(3, 9/16/2011)
(3, 8/15/2011)
(3, 1/24/2012)
(3, 9/15/2011)
(3, 8/26/2011)
(3, 12/09/2011)
(3, 11/23/2011)
(3, 12/01/2011)
(3, 12/10/2011)
(3, 1/08/2012)
(3, 1/20/2012)
(2, 12/23/2011)
(2, 2/05/2012)
(2, 9/01/2011)
(2, 10/20/2011)
(2, 8/25/2011)
(2, 12/01/2011)
(2, 9/05/2011)
(2, 11/24/2011)
(2, 8/17/2011)
(2, 9/30/2011)
(2, 9/21/2011)
(2, 8/22/2011)
(2, 8/20/2011)
(2, 11/24/2011)
(2, 11/21/2011)
(2, 11/18/2011)
(2, 12/07/2011)
(2, 12/27/2011)
(2, 1/19/2012)
(1, 8/24/2011)
(1, 1/08/2012)
(1, 11/03/2011)
(1, 8/23/2011)
(1, 10/04/2011)
(1, 8/24/2011)
(1, 9/30/2011)
(1, 12/23/2011)
(1, 9/02/2011)
(1, 1/03/2012)
(1, 9/01/2011)
(1, 1/15/2012)
(1, 9/28/2011)
(1, 9/29/2011)
(1, 1/17/2012)
(1, 11/01/2011)
(1, 11/02/2011)
(1, 12/31/2011)
(1, 11/06/2011)
(1, 11/24/2011)
(1, 11/22/2011)
(1, 11/21/2011)
(1, 12/05/2011)
(1, 12/06/2011)
(1, 12/08/2011)
(1, 12/31/2011)
(1, 1/24/2012)
Tag | SQL Server Posts




This post is an example of how to write a WCF Service using a class. The example uses Visual Studio 2010, written in C#, SQL Server 2008 and hosted in IIS. So lets have at it. The table is pretty simple just three columns, an TestID (int), Value1 (varchar(50)) and Value2 (varchar(50)). The stored procedure used will return one record from the table using the TestID as a parameter. Table SQL: CREATE TABLE [dbo].[Table_1]( [TestID] [int] IDENTITY(1,1) NOT NULL, [Value1] [varchar](50) NOT NULL, [Value2]...
This is the second post about SQL Azure Federation. In my first post I described a little bit about the theory of data partitioning, included the different between the horizontal partitioning and the vertical partitioning. I also talked about the features need to be done when we implemented the horizontal partitioning. And finally, I described some basic concept about SQL Azure Federation. In this post, I will demonstrate how to use SQL Azure Federation in the SQL Server Management Studio (SSMS)....
The following procedures describe my approach toward a minimal error prone migration of Microsoft Dynamics CRM 4.0 to MS CRM 2011. 1. I start by installing CRM 2011 with a dummy organisation, yes, I don't import the CRM 4.0 organisation, because I want to make sure CRM 2011 is installed and deployed with out any problems. More over it gives the flexibility to map user, if it is from a different domain. (1,5 Hour) 2. I install all the latest updates and roll-up for the CRM 2011, verify if everything...
We’ve used dbdeploy.net on a number of projects and have found it to be a useful tool, especially around CI environments. We recently started a Windows Azure project that uses SQL Server and discovered that DbDeploy.Net didn’t work. There have been a few nagging issues with DbDeploy.Net as well, like the lack of support for recursive script directories, and when we looked into the code base, we discovered that it’s not really written to modern software development standards, and that getting it there...
ASP.NET Enterpise Manager is a web based database management system designed specifically for the management of Microsoft SQL databases through a web browser, without the need for any desktop database management systems such as Microsoft’s SQL Server Management Studio. ASP.NET Enterprise Manager is included as default with an installation of Plesk for Windows, meaning that if you are a customer who uses Plesk based Windows hosting, you will most likely have used ASP.NET Enterprise Manager at least...
Windows Azure Platform How to Sort Azure Table Store results Chronologically How to upload your Excel and CSV data to the Cloud - Blob Storage SQL Azure Database Notification and Job Scheduling Service for SQL Azure SQL Azure Tutorials – Blog SQL Azure Tutorials - Helping you with Cloud Databases How to build a SQL Server Reporting Services report with SQL Azure? Middleware in the cloud SAP meet Azure Service Bus – EAI/EDI December 2011 CTP Azure Service Bus EAI/EDI December 2011 CTP – New Mapper...
At several client sites, I have had a problem printing Database diagrams directly from Sql Server Management Studio. The workaround is to right click, copy the diagram and paste into word to print it.If you encounter this, please report the problem at:http://social.msdn.micro...
I received the good news on Jan 1st that, for the 4th year in a row, I was awarded a Microsoft MVP award for ASP.NET/IIS. There’s some movement as there always is – some people not getting renewed their MVP award, new people attaining it. Some people have publically voiced how they turned down the award or just didn’t bother working for it for a variety of reasons that I won’t get into here. There’s also been some passionate Twitter discussions around community and groups and how valid they are,...
I’ve used the platform for ClearQuest migrations to TFS and Subversion migrations to TFS. The setup for testing the configuration can be tricky to ensure you’re starting again from a blank slate. Problem I was puzzled after running a number of test migrations to find that no source code would be migrated for some team projects, but not others. I was starting with a new migration configuration, new destination team project and even a re-install of the platform and the SQL Server DB for the platform....
We needed to swap out the DB box. Our DB box runs SQL Server, SSRS and SSAS. The AT is on its own box and SharePoint is on its own box.NOTE: I will update the blog post per resolution of the issue :) The Microsoft procedure I used was: Restore Data to a Different Server or Instance Setup new DB box with WS08 R2 with all updates applied. Installed SQL SQL 2008 R2 on new DB box (same version as on the old DB box). Took TFS offline. Disabled the transaction backup job from existing backup plan (runs...
This is a strangest error I have come across whilst working with SharePoint 2010, the full error is this. [12/20/2011 5:29:10 PM] Warning: [WSS_Content] The operation did not proceed far enough to allow RESTART. Reissue the statement without the RESTART qualifier. RESTORE DATABASE is terminating abnormally. The error message was written to the file restore.log found in the SharePoint backup folder, it seems that the following keyword in TSQL caused the error. IF EXISTS ( SELECT * FROM master..sysdatabases...
First off in order to get your asp.net site up and running (without membership) all you have to do is copy your aspx files to the root of the htdocs folder that they supply for you. This in itself is an application directory and because of this you can run ASP.NET pages. For your information, I host my site with HostForLife.euSecond, you can use membership by going to their admin pages, creating a database, exporting your data and schema from your current membership database, and then running a script...
v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} Normal 0 false false false false EN-US X-NONE X-NONE /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in;...
Whenever I do use Visual Studio and try to compile something under 64 bit I run into problems. It seems that most MS Devs for Visual Studio and the relevant tool chain are still mainly writing 32 bit applications. Here are some of the latest issues I did run into. COM applications targeting x64 are still using x32 as target platform for the MIDL compiler by default Resolution: You have to select in the UI MIDL – Target Environment X64 by yourself. Alternatively you can edit the vcxproj file directly...
Our TFS instance had been humming along for some time when I noticed that the full and incremental cube refresh jobs started failing. Using Grant Holiday’s “Team Foundation Server 2010 Administrative Report Pack” I was able to better visualize and diagnose the problem. The Problem The full error message was - OLE DB error: OLE DB or ODBC error: Login timeout expired; HYT00; A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found...
Renaming SharePoint service app databases When you install SharePoint 2010 and use the wizards, you will be asked which services you’d like to install. By default all but Lotus-Notes-Connector are preselected. SharePoint will install the services and assign a plethora of databases to serve these services. Alas, horror of horror, all these databases are named by Microsoft and all end with GUIDs. DBAs and other keepers of standards abhor it. Sometimes they even go a step further and want the DB names...
Here is the official documentation on how to publish a LightSwitch application – How to: Deploy a LightSwitch Application. For this example, I’m going to show how to deploy a simple application that does not have any role-based security set up. I’ll show how we can configure that in a later post. So back over on my LightSwitch development machine the first thing we need to do is specify the type of 3-tier deployment we want. In the case of my application, I want it to be a Windows Desktop client...
Goal: Rebuild indexes in SQL server. This can be done one at a time or with the example script below to rebuild all index for a specified table or for all tables in a given database. Why? The data in indexes gets fragmented over time. That means that as the index grows, the newly added rows to the index are physically stored in other sections of the allocated database storage space. Kind of like when you load your Christmas shopping into the trunk of your car and it is full you continue to load some...
SQL Server team has released the new SQL Server Data Tools CTP4. Congratulations and Thanks to Gert Drapers and his team with this great milestone. To lear more about this SSDT CTP4 Release, check: What’s new in SQL Server Data Tools CTP4?http://blogs.msdn.com/... Server Data Tools CTP4 vs. VS2010 Database Projectshttp://blogs.msdn.c... VSDB->SSDT...
It’s no secret that daylight savings time can wreak havoc on systems that rely heavily on dates. The system I work on is centered around recording dates and times, so naturally my co-workers and I have seen our fair share of date-related bugs. From time to time, however, we come across something that we haven’t seen before. A few weeks ago the following error message started showing up in our logs: “The supplied DateTime represents an invalid time. For example, when the clock is adjusted forward,...
UPDATED Jan 9th: Added link to SQL 2008 R2 SP1 CU4 for ghost file fixRecently there has been several reports on TFS databases growing too fast and growing too big. Notable this has been observed when one has started to use more features of the Testing system. Also, the TFS 2010 handles test results differently from TFS 2008, and this leads to more data stored in the TFS databases. As a consequence of this there has been released some tools to remove unneeded data in the database, and also some fixes...
"SQL Server-related performance problems come up regularly and diagnosing and solving them can be difficult and time consuming. Read SQL Server MVP Jonathan Kehayias’ Troubleshooting SQL Server: A Guide for the Accidental DBA for descriptions of the most common issues and practical solutions to fix them quickly and accurately." Please go to http://www.red-gate.com/pro... RedGate produce some superb tools for SQL Server. Jonathan's book is...
This is the third of a three part series that deals with the issue of faking test data in the context of a legacy app that was built with Microsoft's Entity Framework (EF) on top of an MS SQL Server database – a scenario that can be found very often. Please read the first part for a description of the sample application, a discussion of some general aspects of unit testing in a database context, and of some more specific aspects of the here discussed EF/MSSQL combination. Lately, I wondered how you...
In this Issue: Brian Noyes, Michael Crump, WindowsPhoneGeek, Erno de Weerd, Jesse Liberty, Derik Whittaker, Sumit Dutta, Asim Sajjad, Dhananjay Kumar, Kunal Chowdhury, and Beth Massi. Above the Fold: Silverlight: "Working with Prism 4 Part 1: Getting Started" Brian Noyes WP7: "Getting Started with the Coding4Fun toolkit Tile Control" WindowsPhoneGeek LightSwitch: "How to Connect to and Diagram your SQL Express Database in Visual Studio LightSwitch" Beth Massi Shoutouts: Michael Palermo's latest Desert...
Normal 0 false false false MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.000... mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman"; mso-ansi-language:#0400; mso-fareast-language:#0400; mso-bidi-language:#0400;} My friend asked me where to...
This is the second of a three part series that deals with the issue of faking test data in the context of a legacy app that was built with Microsoft's Entity Framework (EF) on top of an MS SQL Server database – a scenario that can be found very often. Please read the first part for a description of the sample application, a discussion of some general aspects of unit testing in a database context, and of some more specific aspects of the here discussed EF/MSSQL combination. Lately, I wondered how...
For good or bad, Microsoft’s Entity Framework (EF) has become one of the most widely used ORM tools out there. While some may state that it's not among the better ones (or that it's not even a real ORM), it’s definitely the most convenient one: its Visual Studio integration and consequently its integration with the MS SQL Server database is unparalleled. This is especially relevant to people who haven’t used the concept of object-relational mapping before - there's almost no initial learning curve...
In SQL Server 2008 you can use table valued parameters which can be pretty useful. In the example I use a very simple one to overcome SQL Server’s lack of having a parameter as an array. The example goes through creating the new type, using it in a stored procedure and calling it from an application (VB.Net in this example). You start off with creating the new type. Under Programmability/Types/User-... Table Types create a new table. Here I created a table with a single column to hold an integer....
Normal 0 false false false EN-US X-NONE X-NONE /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans... mso-ascii-font-family:Calibri;...
If you work with SQL Server you will eventually encounter a JOIN statement. This JOIN statement can be stated as an ordinary JOIN, or as a sub select. In most cases I try to use JOINS (even though it’s just for readability), but in some cases it’s quicker to do it in a sub select (for example with production code, in which you don’t want to change the output but filter output). Curious about the performance differences between the two, I tried to create a test. I created 2 tables with country information:...
For a full explanation and step-by-step guide to setup a linked server through Sql Management Studio (SMS), check out this reference: http://www.databasejournal.... Here it is in a nutshell: If you are setting up a linked server for another sql server 2005/2008 box, just remember to (1) name the Linked server the same name as its network name, (2) select and provide under the security option ,"Be made...
On CodePlex there is a new project at http://nsession.codeplex.com for sharing session state between classic ASP and ASP.NET "The objective of this project is to allow ASP Classic to access ASP.NET out-of-process session stores in the same way that ASP.NET accesses them, and thus share the session state with ASP.NET. In the initial release, we only support the ASP.NET state server as it is a popular choice and it offers better performance than the SQL Server session store. Please see the Documentation...
Once the installer for the AdventureWorks Community Sample Database has finished, we then need to complete the process (not mandatory, but nice to do to play with the OLAP content). The first thing we need to do is make sure we note the location of the script files and samples. The path if you are working with SQL Server 2008 R2 is as follows: “C:\Program Files\Microsoft SQL Server\100\Tools\Samples\Ad... 2008R2 Analysis Services Project\enterprise” I am working with the developer edition,...
For a while now, if we have been around SQL Server we got used to the different sample databases that were provided. From Pubs to Northwind to AdventureWorks. In order to get the AdventureWorks samples we need to go to CodePlex and download the one that corresponds to the version of SQL Server we are working with. The link to the download site here : http://msftdbprodsamples.co... Now, on to the installation. Once you download the appropriate file, double click and launch...
In order to refresh your OLAP Cubes (SQL Server Analysis Services), you need to create XMLA files. These XMLA files can be used in a SQL Server Agent Job, so that the Cubes are refreshed and re-processed. To accomplish this, you need to follow the next steps: 1) Deploy your Cube to your SQL Server 2) Right click on the database, and choose “Script database as” –> “Alter To” 3) Add the following node to the top of the XML: <Batch xmlns="http://schemas.micro...
SSRS is a wonderful tool for quickly retrieving data from many different data sources and presenting the data to the user at a run-time decided format. One area where SSRS often falls short is when the underlying data needs to come from several different sources. Perhaps we want to retrieve data from the General Ledger which is in Oracle, and join that against a list of departments and employees which are stored in SQL Server for us to display in one table. When this happens, we are unable to join...
“Because everyone wants to kick their database, but sometimes kicking your database is a good thing!” Many would not argue that you should version your code, and few would argue against versioning your code in a way that can lead back to a specific point in source control history. However, most people don’t really think of doing the same thing with your database. That’s where RoundhousE (RH) comes in. I have been working on RH for over two years now and people always wander what it is, why and what...
Here I will explain how to get the column names and corresponding datatypes in particular table using SQL Server. Description: I have one table with lot columns in database at that time I tried to know the column names and corresponding datatypes and their maximum sizes in particular table for that I written the following query in SQL server to get column names and datatypes in particular table. USE MySampleDB GO SELECT column_name 'Column Name', data_type 'Data Type', character_maximum_length 'Maximum...
For (almost) all developers, there’s no greater feeling, then knowing your source code is (relatively) safe. The same counts for T-SQL script. Especially if you know that you need the same code next year (argh). So first thing I did after the initial release of scripts, was looking for a way to check-in T-SQL from SQL Server Management Studio (SSMS). So a colleague of mine, Dries (Blog | Twitter), dropped by with a solution: TFS MSSCCI Provider 2010 from the Visual Studio Gallery. It’s a free plugin...
BizTalk Server 2010 - Using the WCF-SQL adapter to make multiple stored procedure calls A recent project that I was working on required that I take an incoming flat file, containing multiple transaction records, and load these transactions into a database. Within the source file were multiple instances of any of seven transaction types. The database had a separate table for each transaction type, each with its own stored procedure for inserting a record. So thats seven transaction types and seven...
If you are planning to deploy your application with SQL CE as your application backend then here are the steps you need to perform. If you’re planning to deploy your application with SQL Server, than please read this post, How to Deploy an ASP.NET MVC 3 App to Web Hosting with "\bin Deployment" I assume that you have your ASP.NET MVC 3 application ready to be deployed with SQL CE 4.0 and EF 4.1. But make sure you have add assembly and for SQL CE 4.0 using NuGet. I recommend you to use NuGet here...
Last week, at the PASS (Professional Association for SQL Server) Summit in Seattle, Microsoft held a coming out party, not only for SQL Server 2012 (formerly “Denali”), but also for the company’s “Big Data” initiative. Microsoft’s banner headline announcement: it is developing of a version of Apache Hadoop that will run on Windows Server and Windows Azure. Hadoop is the open source implementation of Google’s proprietary MapReduce parallel computation engine and environment, and it's used (quite widely...
Yesterday, I just posted about How to Fix error: 26 - Error Locating Server/Instance Specified Well, this is an error message that we can find too "An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 28 - Server doesn't support requested protocol)" I struggle to find what is the problem....
This is an error message that we can find when we connect to SQL Server: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) Hmm… We sometimes spend for hours to fix this issue and In this brief tutorial, I will...
I cut my DBA teeth on IBM's DB2 UDB EEE (enough acronyms) back in the 90's. I have always appreciated the scalability that is available with a MPP architecture. So a couple of years ago I was excited to hear that SQL Server was going to have a MPP architecture available. Now I am at SQLPass Summit 2011 and seeing the PDW (Parallel Data Warehouse) and the hardware offerings by Dell and HP to scale that up and out. However, I was disappointed to learn that this technology does not extend to Analysis...
Hello Everyone, I thought I’d take a minute to update everyone on my upcoming talks and events that I will be attending. I have talks ranging from Kinect, Silverlight, HTML5 to OData! Wow, that’s a wide range of technology and I’m very passionate about everyone of them. Let’s get started. DevReach - October 17th through the 18th in Sofia, Bulgaria. I will not be speaking at this event only attending. I am very excited because this will be my first time visiting Bulgaria. I am looking forward to meeting...
I got this error today while trying to access my new SharePoint 2010 environment via PowerShell: Cannot access the local farm. Verify that the local farm is properly configured, currently available, and that you have the appropriate permissions to access the database before trying again. If I would have just read the error message a little more carefully, I would have realized that I should start by looking at my permissions in SQL – which my account didn’t. This happened because I installed SQL...
Microsoft officially released the preview of Vnext i.e. VS 2011, TFS 2011 and TFS Azure (also known as TFS Service) at the Build conference on 13th September 2011 @ California. It wasn’t too long ago I remember helping customers set up ALM processes using TFS 2010, so what are the compelling reasons these customers who have heavily invested in TFS 2010 should consider moving on to TFS 2011. In this blog post I’ll try and answer what exactly is new in TFS 2011, how TFS 2011 is different from TFS 2010....
The SQL Server team or group of teams responsible for the learning content has done a fantastic job continually of providing great ways to work with their content. This time it is through the Virtual Labs made available to ramp on Denali. How to get it? Go to the Learning Center’s Virtual Lab Link. http://www.microsoft.com/sq...
Full Disclosure: I was one of the technical reviewers on this book. I think my friend Tomislav did a great job on this book and it would make a valuable addition to the bookshelf of anyone that is working with MDX. I really enjoyed reading this and there were even a couple of interesting techniques that I have added to my toolkit. As far as I know there are not any other MDX books on the market quite like this one. It's more aimed at the intermediate level of MDX user and assumes that you have some...