SQL Server Common Table Expressions CTECommon table expressions (CTEs) are another kind of table expression that like derived tables are visible only to […] February 24, 2018 in SQL Server tagged with / temp / temporary / table / expression / cte / common by Mike
SQL Server Create TableYou can create a table using the SSMS GUI, or you can use T-SQL code. This post describes […] February 23, 2018 in SQL Server tagged table / create / create table / sql / T-SQL by Mike
SQL Server Insert Into Select Part 1This post discusses how to insert data from one table into another existing table. The second table must […] December 22, 2017 in SQL Server tagged insert / table / into / select / another / existing by Mike
SQL Server Table ExpressionsWhat is a table expression? Table expressions are named query expressions that represent a valid relational table. Table […] December 9, 2017 in SQL Server tagged expression / derived table / table by Mike
SQL Server Insert Into Select Part 2This post shows you how to insert data into an existing empty table from two other tables using […] October 21, 2017 in SQL Server tagged sql / insert / table / join / into / select / another by Mike
SQL Server Changing Table StructureThe table structure refers to the columns in the table. We can use T-SQL to add a new […] October 17, 2017 in SQL Server tagged table / add / column / alter / structure by Mike
SQL Server ExceptEXCEPT is available in SQL Server starting with SQL Server 2008. EXCEPT returns distinct rows by comparing the […] August 11, 2017 in SQL Server tagged database / sql / table / except by Mike
SQL Server Temp Table to Pass Data Between SProcsDo you have a series of stored procedures in SQL Server that need to pass data between themselves? […] April 9, 2017 in SQL Server tagged temporary / table / global / scope / pass by Mike
SQL Server Import Data from a Text File Part 2This post is a continuation of the first post. In this example we are working with a text […] March 17, 2017 in SQL Server tagged temporary / table / while / flat / bulk / import / insert / temp / SQL Server Import by Mike
SQL Server Exporting a Table to a Text File Part ...This post continues from the first part. In this example the directory has a space in it so […] February 27, 2017 in SQL Server tagged export / file / sql / table by Mike
SQL Finding Duplicates across Two Tables Two ColumnsThis blog post is a continuation from the previous blog post called SQL Finding Duplicates across Two Tables […] February 4, 2017 in Database tagged sql / table / duplicates / multiple by Mike
T-SQL Bulk Insert-Output Part 6This post continues from our other post called T-SQL Bulk Insert-Output Part 5. In this post we will […] January 30, 2017 in SQL Server tagged temp / temporary / table / T-SQL Bulk Insert by Mike