SQL Server Database Tutorials

SQL Server Database Management Tutorials and Database Administration Articles
  Title / Author Reverse Sort Order Replies
Views
A trigger is a special kind of stored procedure that is invoked whenever an attempt is made to modify the data in the table it protects. Modifications to the table are made ussing INSERT,UPDATE,OR DELETE statements.Triggers are used to enforce data integrity and business rules such as...
12
225,059
CUBE generates a result set that represents aggregates for all combinations of values in the selected columns. CUBE automatically generates a summation rollup to the top level of a GROUP BY. Lets us look one Example. Create table #TempTable(Items varchar(30), ...
0
5,460
Concatenating data with Multiple Result(s) using FOR XML PATH Create table #TempProducts(Items Varchar(30),Colour Varchar(15)) Insert into #TempProducts values('Table','Red'); Insert into #TempProducts values('Table','Green'); Insert into #TempProducts values('Table','Blue'); Insert...
0
4,608
User needs to create and manage the indexes in SQL Server. There are various types of indexes in SQL server. We shall explore in detail about the indexes in SQL Server. An index is a structure associated with the SQL Server for implementing the indexes on the tables. It enables faster data...
0
1,583
Using String Functions User can use the string functions for changing the string values in the result set. They can be used with char or varchar data types. They can be used as a part of the expression. The syntax for using the string function is as shown below: SELECT function_name...
0
3,173
Several databases are supported by the SQL Server. There are some standard system databases provided by SQL Server. The system database contains some server specific configurations and templates for the database. They have some temporary storage for querying the database. The list of databases...
0
1,473
In SQL Server, the LIKE operator is used for searching the text value in a particular column. The synonyms and antonyms of the specific word are searched using the full text search. The full text search feature is the default and enabled in SQL Server. In this article, we shall learn about the full...
0
1,580
There are certain conditions when either all the statements are executed successfully or none of them are executed. The data integrity is maintained by the user. The SQL Server helps user to maintain the integrity of data. There are several sources accessing a single resource at a time. To prevent...
0
1,549
1. Information about user There are requirements when user wants to know that who is connected to the SQL Server. The T-SQL provides the stored procedure sp_who. It helps know who all are connected to the to the computer. The syntax for the stored procedure is as mentioned below: sp_who...
0
1,538
The CREATE SEQUENCE command is used for creating the sequence in SQL server. CREATE SEQUENCE sequence_name } | { NO MINVALUE } ] } | { NO MAXVALUE } ]
0
1,234
Architectural components In SQL Server Reporting services 2005, there are two services as windows service and web service. The windows service was responsible for report processing, scheduling, and delivery, database maintenance, and extensibility. The web service worked with SOAP, URL access. ...
1
1,023
The Report in Visual Studio can be created by using the links to the report wizard provided by the viewer control. There are two types of ReportViewer controls in Visual Studio toolbox as mentioned below: ReportViewer Web server control for ASP.NET pages used for web hosting Report Viewer...
0
852
Report Server project template The report server project creates two blank folders as Shared Data sources and reports. User can start creating the report. In the Shared Data Sources folder, the following options are available. Add New Data Source: It provides the shared data source window...
0
942
Report Manager Components The Report manager can be accessed from the reporting services configuration manager. The home page for the report manager is as shown below: http://imgs.g4estatic.com/sql-server/Report-Manager/Fig1.jpg The number of activities can be performed using the...
0
905
The administrator is responsible for carrying the tasks like granting permissions for managing reports on the report server. The following tasks are performed by the administrator. Modify the credentials which are useful for providing access to users for managing reports with their credentials....
0
856
The user interface of report builder The various parts of the report builder interface are described. User can access the report builder from Start, All Programs, and Microsoft SQL Server 2008 report builder. The report builder interface is as shown below: ...
0
851
SQL Server 2012 components The architecture of SQL Server database engine is as shown below: http://imgs.g4estatic.com/sql-server/2012-architecture/Fig1.jpg There are four major components in SQL Server database engine. The protocol layer, query processor, storage engine, and SQLOS. Every...
0
845
Report Authoring The report writing needs to plan with other activities. The considerations are audience, report structure, look and feel of report, report visibility, delivery format, used on web or desktop, etc. All these considerations are connected with each other. Parameterized reports...
0
805
SQLOS Architecture The SQLOS is the server application used for managing the operating system resources. The buffer management, scheduling, deadlock detection, exception handling, extended events, etc are managed. The operating system is called and the scheduling functions efficiently schedule...
0
647
SQL Server B-tree indexes The indexes in SQL Server are organized in B-tree structure. B-tree means balanced tree. In B-tree, at the top there is a root node, leaf node at bottom. The indexes have two components as leaf level and non leaf level. The non leaf levels are useful for navigation....
0
550