.NET Zip component, Delphi Zip component, Barcode .NET, BDE Replacement and other .NET and Delphi components from ComponentAce
Products Download Order Contact us

Search
 

Delphi/C++ Components
.NET Components
ActiveX Controls
Kylix Components

Download

Download
Download Commercial
Trial Limitations

Support

Submit Request
Support Options

Order

Purchase
Competitive Upgrade
Premium Support
Sales Policy
Upgrade Policy
License Types

Info

News
Mailing List
Articles
Testimonials



About Us
Partners
Links
Contact Us
Link to Us





Home > Delphi/C++ Components > Absolute Database > SIMPLE CASE SQL Example

Absolute Database

Overview | Features | Requirements | Testimonials | SQL Samples | Code Samples | Screenshots | See Also | Download | Order
SIMPLE CASE SQL Example
This sample illustrates use of simple CASE function.
For each row in the dataset being retrieved, field "VenueNo" is compared to 2, and, if it is true, the string "Memorial Stadium" appears to the right of event name. If it is not true, then "VenueNo" is compared to 4, and if it equals to 4, string "Coliseum" appears. If "EventNo" matches neither 2 nor 4, ELSE part of the statement is executed and "unknown venue: VenueNo="is shown followed by value of the field "VenueNo".

select e1."Event_Name", 
case e1."VenueNo" 
when 2 then "Memorial Stadium" 
when 4 then "Coliseum" 
else "unknown venue: VenueNo=" + e1."VenueNo" 
end as "Venue"
from "events" e1

Download Absolute Database | Learn more


Product Info


Current version: 7.95
Released: February 08, 2023
Price: $ 149

downloadorder


Our Customers



Testimonials

Component Ace is all that it advertises. It is easy to implement and is very fast.

In addition, the customer support is the best I have ever had. All my questions were answered within hours, often immediately. The responses also answered my questions, no need for followup emails.

If your application needs the functionality that Component Ace provides, search no further.

Linda Murphy

        © 2003 - 2024 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Apr 25, 2024