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 table / join / into / select / another / sql / insert 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 Union SortedThis post discusses how you can take a table with a single column of data and add a […] October 17, 2017 in SQL Server tagged sort / sorting / union / over / union all / row_number / sequence by Mike
SQL Server GUIDIn SQL Server we can use GUIDs. A GUID is a 128 bit number to identify objects. It […] October 15, 2017 in SQL Server tagged unique / sequence / GUID / identifier by Mike
SQL Server SequenceWhat is sequence? SQL Server sequences allow you to store a sequence of numbers. You are in control […] October 14, 2017 in SQL Server tagged sequence / increment / identity by Mike
SQL Server Sequential Numbers Part 4Our query will create sequence numbers. This is part 4. We other posts called SQL Server Sequential Numbers […] October 13, 2017 in SQL Server tagged union all / right / row_number / sequence / sequential / cast / order by / SQL Server Sequential Numbers by Mike
SQL Server Exception Handling Part 14This post is a continuation of our SQL Server project that uses exception handling, except that here we […] October 13, 2017 in SQL Server tagged transaction / exception / try / catch / tran / simple / simplified / boilerplate / error / SQL Server Exceptions by Mike
SQL Server Finding String LengthSuppose you have a table with a column that needs some data validation performed on it. The data […] October 10, 2017 in SQL Server tagged length / count / order / string / data validation / max / longest / shortest by Mike
SQL Server Summarizing Data Part 4This post is part of the series on summarizing data but it gives us a more simple example […] September 14, 2017 in SQL Server tagged summarize / group by / SQL Summarizing Data by Mike
SQL Server OptionsThere are some options (settings/preferences) that you can configure in SQL Server. To do that in SSMS (SQL […] September 8, 2017 in SQL Server tagged settings / options / preferences by Mike
SQL Server Wrong Server NameIn your SQL Server code are you using @@SERVERNAME? This can return the wrong information. For me it […] September 6, 2017 in SQL Server tagged name / error / network / server / sql by Mike
SQL Server Security IntroductionSQL Server security is a big topic. If you don’t know much about it then it will take […] September 1, 2017 in SQL Server tagged login / security / permissions / user by Mike