SQL SERVER – Row Constructors – Day 6 of 35
In this blog post we will learn about Row Constructors.
Row Constructors
Most records we insert will come from a connection made to SQL from some external process. For example a web page ADO.NET connection to you company data layer or some data feed from an SSIS package. Still most seed data or special inserts may come from the INSERT INTO DML statement. Before SQL 2008 if you had to insert 20 records you needed 20 separate INSERT INTO statements. Now you can do all 20 inserts in one transaction.
Let’s start off our example by creating a very simple table with the following code.
SQL SERVER – Tips from the SQL Joes 2 Pros Development Series – Finding un-matching Records – Day 5 of 35
SQL SERVER – Tips from the SQL Joes 2 Pros Development Series – Efficient Query Writing Strategy – Day 4 of 35
SQL SERVER – Tips from the SQL Joes 2 Pros Development Series – Finding Apostrophes in String and Text – Day 3 of 35
Answer simple quiz at the end of the blog post and –
Every day one winner from India will get Joes 2 Pros Volume 1.
Every day one winner from United States will get Joes 2 Pros Volume 1.
Finding Apostrophes in string and text
SQL SERVER – Tips from the SQL Development Series – Wildcard – Querying Special Characters – Day 2 of 35
In this blog post we will learn various tips related to Querying Special Characters with the help of wildcard in SQL Server.
Some special characters can be tricky to pattern match since they themselves can represent different values at different times. Let look at some examples. Here is a quick look at all the records in the [Grant] table of the JProCo database. Note: Since [Grant] is also a keyword it must be enclosed in square brackets or double quotes to designate it as the [Grant] table and now the keyword. Take a look at many of the names in the GrantName field and notice we have many names with special symbols in them.




