|
|
| Creating and Managing Views in SQL Server 2008 : Indexed Views |
| You establish indexed views by creating a unique clustered index on the view itself, independent of the member tables that it references. The creation of this unique index transforms a view from an object that is virtual in nature to one that has physical storage associated with it. |
|
| Transact-SQL in SQL Server 2008 : Row Constructors |
| SQL Server 2008 provides a new method to insert data to SQL Server tables, referred to as row constructors. Row constructors are a feature that can be used to simplify data insertion, allowing multiple rows of data to be specified in a single DML statement. |
|
| Transact-SQL in SQL Server 2008 : GROUP BY Clause Enhancements |
| The old-style CUBE and ROLLUP syntax is still supported for backward-compatibility purposes but is being deprecated. You should convert any existing queries using the pre-2008 WITH CUBE or WITH ROLLUP syntax to the new syntax to ensure future compatibility. |
|
|
|
|
|
| Creating and Managing Views in SQL Server 2008 : Creating Views |
| One of the most amazing features of the View Designer is the capability to render a SQL statement into its graphical form. You can copy T-SQL into the SQL pane, and the View Designer reverse-engineers the tables into the Diagram pane, giving you a graphical display of the query |
|
|
|
|
|
| Transact-SQL in SQL Server 2008 : MERGE Statement |
| With the MERGE statement, you can synchronize two tables by inserting, updating, or deleting rows in one table based on differences found in the other table, all in just a single statement, minimizing the number of times that rows in the source and target tables need to be processed |
|
|
|
|
|
| SQL Server 2008 : Transact-SQL Programming - The APPLY Operator |
| The APPLY relational operator allows you to invoke a table-valued function once per each row of an outer table expression. You specify APPLY in the FROM clause of a query, similarly to the way you use the JOIN operator. APPLY can take two forms: CROSS APPLY and OUTER APPLY. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| SQL Server 2008 : General T-SQL Performance Recommendations |
| How you write T-SQL queries can often have an effect on the performance of those queries. The following sections provide some general guidelines to keep in mind to help ensure that you are getting optimal performance from your queries. |
|
|
|
|
|
|
|
|
|
|
|
|
|
| SQL Server 2008 : Using Remote Stored Procedures |
| The processing done by the remote stored procedure is, by default, not done in the local transaction context. If the local transaction rolls back, modifications performed by the remote stored procedure are not undone. |
|
| SQL Server 2008 : Using Temporary Tables in Stored Procedures |
| Temporary tables are commonly used in stored procedures when intermediate results need to be stored in a work table for additional processing. Local temporary tables created in a stored procedure are automatically dropped when the stored procedure exits |
|
|
|
|
|
|
|
|
|
| SQL Server 2008 : Using ADO.NET Data Services |
| ADO.NET Data Services (ADODS) is a platform for providing SQL Server data to websites, RIAs (such as Silverlight and Flash applications), and other Internet clients over standard HTTP using modern web development conventions. |
|
|
|
| SQL Server 2008 : Developing with LINQ to SQL (part 1) |
| LINQ enables developers to write code in either C# or VB.NET using the same set of syntactic conventions to query object collections (known as LINQ to Objects), XML documents (known as LINQ to XML), SQL Server data (known as LINQ to SQL), and other queryable resources. |
|
| Getting Comfortable with ADO.NET 3.5 and SQL Server 2008 |
| To start coding with ADO.NET and SQL Server, you first need to connect to an instance of SQL Server. To do this, you need a connection string. A connection string is simply a string literal that contains all the parameters necessary to locate and log in to a server in a semicolon-delimited format |
|
|
|