ASP.NET

Posts filed under ASP.NET

Transact-SQL : Aggregate Functions

Filed in SQLTags: , , ,

Aggregate function is T-SQL are sued to perform some calculations on multiple records or values in SQL table. Generally we use these function with Group By clause in Select statements. The aggregate functions are performed on a set of value and returns a single value. Also most of these function returns numeric values. In this [...]

Transact-SQL – Using Try-Catch in Stored Procedure and Error Functions

Filed in ASP.NET, SQLTags: , , , ,

Try-Catch is used to handling exception in C#. Today we will see that how this is also useful to handle errors in SQL also. The Try-Catch consists of two blocks Try block and Catch block. We just write our statements inside the Try block and when the error generate in the Try block the control [...]

How to Normalize a DataBase Table : Step-4 Converting the 2NF to 3NF

Filed in SQLTags: , , ,

The final step for most of databases to be normalized is converting the 2NF to 3NF. After converting the databse into the 3rd normalization form or 3NF most of database are normalized. While converting the 2NF to 3NF we remeber a rule that remove any non-key attributes to a new table that are more dependent [...]

How to Normalize a DataBase Table : Step-3 Converting the 1NF to 2NF

Filed in SQLTags: , , ,

The Next process of normalization is convert the first normalization form 1NF to second normalization form 2NF. In this process we will remove any non-key attributes that only depend on path of the table key to a new table. Enen many data sources normalized after the 2NF but some time we need to proceed for [...]

How to Normalize a DataBase Table : Step-2 Converting the UNF to 1NF

Filed in ASP.NET, SQLTags: , , , ,

As we have seen previously how to convert the data source to Un-Normalized Form also called UNF. Today we will proceed for the next step. In this step we transform the UNF into the first Normalization Form that is called 1NF. To accomplish this we need to remember a rule: we need to remove repeating [...]

How to Normalize a DataBase Table : Step-1 Converting the Data Source to UNF

Filed in ASP.NET, SQLTags: , , , ,

Recently we have discusses about normalization and the procedure to normalize the data source. Today we will discuss about for this process. As you know that the first step in normalization is to convert the data source to Unnormalized Form that is also called UNF. If you will follow the process accurately then there will be no errors in the first [...]

What are the Partial Classes in C#

Filed in ASP.NET, C#Tags: , , ,

As we check our coding page in .net application we found that at the top after the namespaces there is a call that is partially defined in every web page. The question arrives in our mind that what is this Partial and why we use the class with partial access specifier. Why we not use [...]

IIS – Understanding Virtual Directory

Filed in ASP.NET, Web AppTags: , , , , ,

As you develop your web application in .Net framework you need to run the web application online. Because Visual Studio can allow you to run application only on local computer. So now what next we need to do if we want to run our application online. We need to deploy the application and also configure [...]

Normalisation – A Technique to Design a Database System

Filed in SQLTags: , , ,

The Normalisation is a data analysis technique to design a database system. The Normalisation allows the database designer to understand the current data structure within an organisation. The end result of a normalisation is a set of entity. We remove the unnecessary redudency by normalising the database table.

SQL Server: Using Alias Name with Select Statement

Filed in SQLTags: , , ,

The Alias name is the name that is referred to any column name or table name that is given by user. The alias name also used to represent some column or table without using its real name. As we will proceed in this article we will see that how we can use both the alias [...]