Tip Bank

DevX - Software Development Resource

Set Your Pages’ Content Ratings in IIS

Content ratings help your users?especially families?know what type of content your site provides. Microsoft Internet Information Server (IIS) 4 lets you add content ratings to any page. Try this: In

DevX - Software Development Resource

Turn Off Sessions in Active Server Pages

Session variables are a boon to ASP developers because they allow you to maintain variables from one page to another. However, the use of session tracking may make Internet Information

DevX - Software Development Resource

Correctly Declaring Global Objects

Although the use of global variables is not recommended in general, sometimes it’s unavoidable. When using a global variable or object, never instantiate it in a header file because the

DevX - Software Development Resource

Case-insensitive Comparison of Strings

Class std::string’s overloaded operator == performs a case-sensitive comparison. This means that the following strings are not identical when compared using ==: string s1 = “Jellylorum”; string s2 = “JellyLorum”;

DevX - Software Development Resource

Static Initialization and Dynamic Initialization

C++ distinguishes between two initialization types for objects with static storage duration (global objects are an example of objects having static storage). Static initialization consists of either zero-initialization or initialization

DevX - Software Development Resource

Double-Count in a SQL Query

Question: I want to create two count-variables in one SQL query based on GROUP BY signum_chef. Is that possible? I’ve tried something like this: SELECT DISTINCT signum_chef, Antal=(SELECT COUNT (*)),

DevX - Software Development Resource

Updating the End Date Field

Question: I have written the following SQL statement and want to update only the end date field (saaphy01.n5ajdd) in one file. How can I tell it in my query to