Derived Tables with Firebird 2.0

26 04 2005 Computers & IT
The Firebird Developer-Team is working intensley on the next major release 2.0 of its relational database server. On the 21th of March 2005 Firebird 2.0 Alpha-01 was released for all those people who are curious about this one and are able to download and test the latest build.

One new feature is the support of Derived Tables.

A derived table is one that is created on-the-fly using the SELECT statement, and referenced just like a regular table or view. Derived tables exist in memory and can only be referenced by the outer SELECT in which they are created. A simple use of a derived table is shown here.

SELECT 
FROM (SELECT

FROM Sales) AS a

The inner SELECT produces a derived table and replaces a regular table or view. The key thing to remember when using derived tables is that you must always use an alias (e.g., AS a). The following shows the error produced when the alias is omitted.

SELECT 
FROM (SELECT

FROM Sales)


A new Version of C#

22 04 2005 Computers & IT

What do the following lines of code have in common?

int? number = 123;

yield return "Alice";

public partial class MyClass { }

public class Stack{ }

return default(T);

They all are legal in C# 2.0, coming out with the next release of Visual Studio. I've heard pretty much about the Beta 2 that will be released officially on the 25th of April. Unfortunately you have to be a socalled MSDN Subscriber to download this version. But at least the Express-Version beta2 is free to download. Sounds interesting, hm?



Deprecated: Assigning the return value of new by reference is deprecated in /var/www/arrogant.info/var/html/www/serendipity/include/plugin_api.inc.php on line 560

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/arrogant.info/var/html/www/serendipity/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php on line 464

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/arrogant.info/var/html/www/serendipity/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php on line 489

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/arrogant.info/var/html/www/serendipity/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php on line 533

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/arrogant.info/var/html/www/serendipity/plugins/serendipity_event_spamblock/serendipity_event_spamblock.php on line 870

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/arrogant.info/var/html/www/serendipity/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php on line 388

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/arrogant.info/var/html/www/serendipity/plugins/serendipity_event_spartacus/serendipity_event_spartacus.php on line 432

Deprecated: Function split() is deprecated in /var/www/arrogant.info/var/html/www/serendipity/plugins/serendipity_event_randomblogdescription/serendipity_event_randomblogdescription.php on line 81