SQL Server Database Tutorials

SQL Server Database Management Tutorials and Database Administration Articles
  Title / Author Replies Reverse Sort Order
Views
Introduction I had a complex SQL query that was used to extract data from my system and send it across via web request to an external system. The query was taking unduly longer time to run. I made few changes to the query structure and reduced it run time to 7 mins. A part of the main query...
20
12,195
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,646
There are many occasions where if someone updates a records or even deletes a record we need to keep the Audit trails of the record updated or deleted or even keep a history of records as what are the updates that happened on the database as well as what are the records deleted from the table. In...
10
27,248
Introduction This article deals with parsing techniques involved in executing the sql server query. Nowadays, stored procedures forms a strong back ground in accessing the database. Why is it so???? how it's related to my query parsing technique Background If we think about the query...
8
13,024
Introduction Stored procedures are special objects available in sql server. Its a precompiled statements where all the preliminary parsing operations are performed and the statements are ready for execution. Its very fast when compared to ordinary sql statements where the sql...
6
157,104
What is SMO? SQL Server Management Objects (SMO) is a collection of objects that are designed for programming all aspects of managing Microsoft SQL Server. SMO Overview SQL Server Management Objects (SMO) are objects designed for programmatic management of Microsoft SQL Server. You can...
6
20,893
SQL Server implements Client/Server technology.A number of client send queries to the Central Server.The server after receiving the query request,parses it for syntax errors and process the request.Since the query passes from the client to the server through the network it adds to network...
6
12,564
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,159
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,688
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,609
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,606
The CREATE SEQUENCE command is used for creating the sequence in SQL server. CREATE SEQUENCE sequence_name } | { NO MINVALUE } ] } | { NO MAXVALUE } ]
0
1,294
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
912
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
1,027
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
999
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
938
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
1,115
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
1,095
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
1,051
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
974