Enterprise Library: Criar ligação à base de dados de forma dinâmica

0
Já alguma vez precisaram, usando o Enterprise Library, de estabelecer uma ligação com um número de base de dados variável e em que a base de dados a ligar...
NoSQL introduction

NoSQL First Act – a historical introduction

0
NoSQL databases introduction and dominant features. A historical perspective to their appearance in a world dominated by relational model databases.

Entity Framework – Update Database using Azure Pipelines

Introduction The pipelines bring to us the opportunity to create automatic tasks to execute development operations, like deploys, migrations, tests, etc. Focused in the deploy routine, some applications need other...

Provision a database programmatically in Azure SQL database with a failover group

0
This post will explain how to provision a database programmatically in a Azure SQL database and add it to an Azure SQL failover group. Introduction An Azure SQL Server failover group...

SharePoint Tunning Session

0
Last week I delivered a session at SharePoint Portuguese Community 36th event. My session was entitled SharePoint Tunning, focused on techniques used to improve the performance of a SharePoint farm. The main topics of the...

Recursive Queries in SQL Server 2005

0
For building recursive queries In SQL Server 2005 we have to use a new functionality called Common Table Expressions. Let's see how we can retrieve all the employees that...

SQL Persisted Computed Column ANSI_NULLS

0
I had to recreate a table in SQL Server just because it was created with ANSI_NULLS ON Here you can check the requirements to create a persisted  computed column on...

.NET EF Core 6 support for groupby top(n) queries

0
EF Core 6 comes with some GroupBy queries improvements. In this post I wanna talk about the improvements related to "group by top(n)" queries. Let's say we have the following...

Webcasts: SOA, WSE, Biztalk

0
Os webcasts da MS são das formas mais interessantes de ter overviews rápidos de determinada tecnologia ou tema. De entre os webcasts dos próximos dias, seleccionei os seguintes, que...

How to Access the Previous Row and Next Row value in SELECT statement?

0
LAG - http://msdn.microsoft.com/en-us/library/hh231256.aspx USE AdventureWorks2012; GO SELECT BusinessEntityID, YEAR(QuotaDate) AS SalesYear, SalesQuota AS CurrentQuota, LAG(SalesQuota, 1,0) OVER (ORDER BY YEAR(QuotaDate)) AS PreviousQuota FROM Sales.SalesPersonQuotaHistory WHERE BusinessEntityID = 275...