Creating a Database is to occupy some space in physical drive for the records saving through the application. These saved records can easily be listed or modified as per user’s requirement. To perform operations like add/edit/dele...
Monday, April 27, 2015
Thursday, April 23, 2015
Installing SQL Server Mgt Studio 2012
Installing SQL Server is as simple as installing a software following a list of steps. SQL Server 2012 was released in April 2012 and because of its list of features and easiness to use made favorite among professionals and begin...
Sunday, February 1, 2015
Data Definition Language (DDL) Triggers in SQL
A DDL trigger is fired in response to DDL statements, such as CREATE TABLE or ALTER TABLE. DDL triggers can be used to perform administrative tasks, such as database auditing.
Database auditing helps in monitoring the DDL operat...
Sunday, November 9, 2014
Execute Batches multiple times using Stored Procedures in SQL
Batches are temporary in nature. To execute a batch more than once, you need to recreate SQL statements and submit them to the server. This leads to an increase in the overhead, as the server needs to compile and create the execu...
Implementing Triggers and its Types in SQL
In a relational database, data in a table is related to other tables. Therefore, while manipulating data in one table, you need to verify and validate its effect on data in the related tables. In addition, you might need to manip...
Wednesday, November 5, 2014
Creating Table-Valued Functions in SQL
A table-valued function returns a table as an output, which can be derived as a part of a SELECT statement. Table-valued function return the output as a table data type. The table data is a special data type used to store a set o...
Tuesday, November 4, 2014
Creating Scalar functions in SQL
In earlier article we have discussed about user defined functions that have the limited scope in sql programming in compare to stored procedures. User defined function have two types i.e. scalar function and table-valued function...
Wednesday, October 29, 2014
How to Implement User Defined Function in SQL
Similar to the stored procedures, you can also create functions to store a set of T-SQL statements permanently. These functions are also referred to as user-defined functions (UDFs). A UDF is a database object that contains a set...