There are several ways that you can store viewstate in a database (rather than in a hidden field on the page), but there are very few examples of how to actually do it on the web. Maybe that’s because there aren’t many genuine reasons for changing the default behaviour. You certainly should think twice before changing such a fundamental element of your web applications. This article shows you how to do it if you need to.
Use these functions in Oracle when you want to remove the time portion of a date value. This is useful if you want to select values for a complete day, regardless of the time, for example.
Hashes are a vital technique for validating data that has been passed between two systems. Quite often, the simplest implementation of a hash in one language won't necessarily produce the same hash-string as another language. This article gives you code snippets for three languages that produce identical hashes for any given data.
This brief article explains how you can call executables and scripts from your Ruby program.
This snippet shows you how to detect which network ports are in use on the current machine from a Ruby script
If you select from multiple tables using a list of comma separated tables after your FROM keyword (E.G., SELECT * FROM table1, table2) this article explains how to use the far better ANSI standard INNER JOIN to make your queries more readable and, therefore, maintainable.
IN and NOT IN are often the cause of otherwise inexplicably slow procedures in SQL Server. This article briefly explains why they should be avoided and how to better implement the same functionality.
Indexes are an incredibly important tool that, if used correctly, will help you see huge performance improvements in your database. This article takes you through the basics.
When you write stored procedures, which are an excellent way of encapsulating functionality and improving performance, you should avoid the use of EXEC and EXECUTE keywords at all costs. This article explains why.
Learn how to page data inside SQL Server using the rank() function to create virtual row numbers for your recordsets. For high volume databases or large recordsets, this method is significantly faster than returning all of the data to your client application and paging it in memory
About
We are a small British company that produces business-oriented software and solutions. These articles are a product of our daily work - information that we think might be useful to share. We hope you find them useful.
Our Software
These are some of our products. Several are open source, some are web-based and others are proprietary:
Categories
- .NET (10)
- Apple (2)
- Business (5)
- CSS (1)
- HTML (2)
- Innovation (4)
- Java (4)
- Javascript (1)
- Leadership (1)
- MySQL (2)
- Oracle (6)
- Postgres (1)
- Programming (5)
- Rails (4)
- Ruby (10)
- SQL Server (9)
- Subversion (1)
- Web (5)
- Windows Server (2)
Archives
- July 2010 (2)
- September 2009 (5)
- August 2009 (1)
- July 2009 (12)
- June 2009 (16)
- May 2009 (3)