Tangra Inc.
  • HOME
  • SERVICES
  • PRODUCTS
  • BLOG
  • CONTACT US
  • Search
  • Menu Menu
  • The Wisdom of the Geeks

    Random Ramblings About Technology

Plamen Ratchev

Auxiliary Tables

December 15, 2007/4 Comments/in SQL Server/by Plamen Ratchev

Auxiliary tables (also referred as utility or helper tables) are a great tool for many needs in SQL. The good part is they are portable between systems, easy to create and normally do not take much storage. There are many benefits: faster SQL, simplified problem solutions, provide flexibility and options that are not easy to […]

Read more
https://www.tangrainc.com/wp-content/uploads/2017/02/tangra-logo3.png 0 0 Plamen Ratchev https://www.tangrainc.com/wp-content/uploads/2017/02/tangra-logo3.png Plamen Ratchev2007-12-15 14:18:002017-02-11 07:57:22Auxiliary Tables
Plamen Ratchev

Prevent Table Drop

December 5, 2007/2 Comments/in SQL Server/by Plamen Ratchev

Since there is no direct permission in SQL Server to drop a table, here are two techniques to implement that. The first one is based on creating a view on the table with option SCHEMABINDING. When the SCHEMABINDING option is used the table cannot be modified in a way that will affect the view definition, […]

Read more
https://www.tangrainc.com/wp-content/uploads/2017/02/tangra-logo3.png 0 0 Plamen Ratchev https://www.tangrainc.com/wp-content/uploads/2017/02/tangra-logo3.png Plamen Ratchev2007-12-05 01:38:002017-02-11 07:58:08Prevent Table Drop
Plamen Ratchev

Unpivoting Data

November 23, 2007/10 Comments/in SQL Server/by Plamen Ratchev

Unpivoting data is a very useful technique for normalizing denormalized tables. It refers to the process of transposing multiple columns across into rows in a single column. In other words, taking the data below: sales_year  first_quarter  second_quarter   third_quarter   fourth_quarter———- ————- ————–   ————-   ————–2006        211203.50      381594.95        439187.00       503155.802007        231205.10    […]

Read more
https://www.tangrainc.com/wp-content/uploads/2017/02/tangra-logo3.png 0 0 Plamen Ratchev https://www.tangrainc.com/wp-content/uploads/2017/02/tangra-logo3.png Plamen Ratchev2007-11-23 23:28:002017-02-11 07:58:45Unpivoting Data
Plamen Ratchev

Indexes on Table Variables

November 15, 2007/0 Comments/in SQL Server/by Plamen Ratchev

It is a common misunderstanding when comparing temporary tables and table variables that one difference is that table variables cannot have indexes. While table variables are not directly materialized and you cannot execute CREATE INDEX on them, an index can be part of the definition of the table variable. Here is one example with two […]

Read more
https://www.tangrainc.com/wp-content/uploads/2017/02/tangra-logo3.png 0 0 Plamen Ratchev https://www.tangrainc.com/wp-content/uploads/2017/02/tangra-logo3.png Plamen Ratchev2007-11-15 22:25:002017-02-11 07:59:08Indexes on Table Variables
Plamen Ratchev

Importing Excel Data into SQL Server

October 18, 2007/3 Comments/in Excel, SQL Server/by Plamen Ratchev

Recently I had to import a huge load of surveys gathered in Excel sheets to SQL Server for further processing and analysis. Don’t ask why they were not entered on the first place to a database via some interface… Importing an Excel sheet to SQL Server seems like a trivial task. Here is an example: […]

Read more
https://www.tangrainc.com/wp-content/uploads/2017/02/tangra-logo3.png 0 0 Plamen Ratchev https://www.tangrainc.com/wp-content/uploads/2017/02/tangra-logo3.png Plamen Ratchev2007-10-18 14:36:002017-02-11 07:59:44Importing Excel Data into SQL Server
Plamen Ratchev

Use ABS to Find the Closest Match

September 9, 2007/0 Comments/in SQL Server/by Plamen Ratchev

The ABS function in SQL Server is a little bit overlooked and unutilized. It returns the absolute, positive value of the given numeric expression. One particular set of problems that ABS is very useful is when needing the find the closest match to a given value. That could be to find the closest ZIP code, […]

Read more
https://www.tangrainc.com/wp-content/uploads/2017/02/tangra-logo3.png 0 0 Plamen Ratchev https://www.tangrainc.com/wp-content/uploads/2017/02/tangra-logo3.png Plamen Ratchev2007-09-09 16:51:002017-02-11 08:00:11Use ABS to Find the Closest Match
Page 12 of 17«‹1011121314›»

Categories

  • .NET Framework
  • best practices
  • Binding
  • books
  • CLR
  • Cryptography
  • Custom User Controls
  • Excel
  • LINQ
  • mobile
  • NativeScript
  • obfuscation
  • PASS
  • Security
  • Silverlight
  • SQL Server
  • sql server compact
  • SQLRally
  • SQLSaturday
  • WCF
  • WPF
  • XAML
  • XML

Archives

  • August 2018
  • June 2017
  • March 2017
  • February 2017
  • April 2016
  • March 2016
  • October 2011
  • May 2011
  • February 2011
  • January 2011
  • October 2010
  • August 2010
  • July 2010
  • February 2010
  • January 2010
  • August 2009
  • June 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008
  • March 2008
  • February 2008
  • January 2008
  • December 2007
  • November 2007
  • October 2007
  • September 2007
  • August 2007
  • July 2007
  • June 2007
  • May 2007
  • April 2007
  • March 2007
  • February 2007
  • January 2007

SITE MAP

  • HOME
  • SERVICES
  • PRODUCTS
  • BLOG
  • CONTACT US
  • TERMS
  • PRIVACY

SEARCH

Copyright © 2025 Tangra Inc.
Scroll to top