Archive

Archive for the ‘Programming’ Category

How to create an autonomous transaction in SQL Server 2008

December 19th, 2011
Comments Off

I have been asked by many customers and partners,especially those migrating from Oracle, this question: how to create an autonomous transaction in SQL Server?
It turns out to be a tricky thing to do since SQL Server doesn’t have built-in autonomous transaction support like Oracle.

Read more…

SQL

SQL Server – Database Schemas

December 17th, 2011

Ever since SQL Server 2005 was released, each object in a database has belonged to a database schema. SQL Server 2008 has continued with database schemas, and an explanation follows. Read more…

SQL

SQL Server – Server Roles

December 17th, 2011

When creating a new user login in SQL Server, you get the option of assigning the login one or more server roles.

Read more…

SQL

SQL Server – Stored Procedures

December 16th, 2011

Stored procedures are a powerful part of SQL Server.They can assist programmers and administrators greatly in working with the database configuration and its data.

Read more…

SQL

SQL Server – Views

December 16th, 2011

In SQL Server, a view is a pre-written query that is stored on the database. A view consists of a SELECT statement, and when you run the view, you see the results of it like you would when opening a table. Some people like to think of a view as a virtual table. This is because a view can pull together data from multiple tables, as well as aggregate data, and present it as though it is a single table. Read more…

SQL

SQL Server – Query Designer

December 16th, 2011

In the previous lesson, we created a SQL script using SQL Server Management Studio (SSMS). In this lesson, we will look at how to write SQL scripts using the graphical query designer. Read more…

SQL

SQL Server – SQL Scripts

December 16th, 2011

In the previous lesson, we added data to our database table using the “Edit Top 200 Rows” option. In this lesson, we will look at how to write SQL scripts to update and run queries against our database. Read more…

SQL

SQL Server – Adding Data

December 16th, 2011

In the previous lesson, we created a new table in our database. We now have a database table, columns and all, but with no data. Read more…

SQL

SQL Server – Create a Table

December 16th, 2011

This lesson demonstrates how to create a table in a SQL Server database using SQL Server Management Studio (SSMS). Read more…

SQL

SQL Server – Create a Database

December 16th, 2011

One of the first things we should look at with SQL Server/Management Studio is how to create a database. After all, most of the tasks you perform with SQL Server will evolve around one or more databases. Read more…

SQL