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

    Random Ramblings About Technology

Plamen Ratchev

Hierarchies with CTEs

August 20, 2007/0 Comments/in SQL Server/by Plamen Ratchev

Common table expressions (CTEs) have many applications. However, one of their capabilities to implement recursive queries is very useful for navigating and manipulating hierarchies. Here is one brief example of utilizing that. Given a table with employees and their managers represented as adjacency list, provide list of employees that report to particular manager, ordered by […]

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-08-20 14:10:002017-02-07 13:43:45Hierarchies with CTEs
Plamen Ratchev

Parameter Sniffing

August 10, 2007/12 Comments/in SQL Server/by Plamen Ratchev

What is “parameter sniffing”? When a stored procedure is first executed SQL Server looks at the input parameters and uses this as guidance to build the query plan. This is known as “parameter sniffing”. This is good as long as the input parameters for the first invocation are typical for future invocations. But if that […]

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-08-10 13:20:002017-02-11 08:00:41Parameter Sniffing
Plamen Ratchev

Column Properties

July 20, 2007/0 Comments/in SQL Server/by Plamen Ratchev

There are different ways to query the meta data in SQL Server. The system catalog views in SQL Server are one great improvement. Here is one example on retrieving properties for all columns, including default values and description (if defined as extended property). SELECT SCHEMA_NAME(T.schema_id) AS ‘Schema’,       T.name AS ‘Table Name’,        C.name […]

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-07-20 01:38:002017-02-11 08:01:04Column Properties
Plamen Ratchev

Shredding XML in SQL Server 2005

June 10, 2007/9 Comments/in SQL Server, XML/by Plamen Ratchev

Using XML data has many applications. In databases in particular it can be used for passing parameters from client applications, exchange data between SQL modules, or storing details in XML columns. SQL Server 2005 offers new capabilities and native support for XML. Below is one example of utilizing some of the new XML methods in […]

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-06-10 21:20:002017-02-11 08:01:37Shredding XML in SQL Server 2005
Plamen Ratchev

Anatomy of a Query

May 18, 2007/7 Comments/in SQL Server/by Plamen Ratchev

To write a good and correct query it is very important to understand the logical processing of a query. It is sad that very few SQL programming manuals start with that. Here is a look at the insides of logical query processing. First, to start with a note: the logical processing of a query does […]

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-05-18 16:43:002017-02-11 08:02:01Anatomy of a Query
Plamen Ratchev

Bulk Loading Images in SQL Server

May 17, 2007/4 Comments/in SQL Server/by Plamen Ratchev

Loading images and any binary files (like Adobe PDF documents) to a database is not always the best option but sometimes needed. In SQL Server 2005 this process is simplified a lot with the BULK option of OPENROWSET. Here is an example of inserting image data into a VARBINARY(MAX) column (the same applies to loading […]

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-05-17 21:10:002017-02-07 15:14:38Bulk Loading Images in SQL Server
Page 13 of 17«‹1112131415›»

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