Explain generators in Firebird?

Sharad Jaiswal
Sharad Jaiswal

Posted On: Mar 16, 2020

 

Generators are a thread-safe integer count which lives inside a Firebird database. It can be created easily by just giving it a name. After creating a generator, you can increase, decrease, or get the value of it like a "var i: integer" in Delphi.

//Syntax to create a Generator
CREATE GENERATOR gentest;
Here, the gentest is the created generator.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Firebird Interview Questions

    What is Firebird?

    Firebird is a relational database that offers many ANSI SQL standards features. It has support for Linux, Windows, and a variety of UNIX platforms. It offers excellent co...

    Firebird Interview Questions

    Enlist few advantages of Firebird?

    Some of the advantages of using a Firebird are,It can be used free of cost. Firebird is a powerful and technologically developed product. It is easily configurable than the MS SQL Server. It ha...

    Firebird Interview Questions

    List the platforms supported by Firebird?

    Some list of firebird supported platforms is:- Linux, Windows, and a variety of UNIX platforms....