Choose your database:
AnySQL
MySQL
MS SQL Server
PostgreSQL
SQLite
Firebird
Oracle
SQL Anywhere
DB2
MaxDB

Subscribe to our news:
Partners
Testimonials
Daryl Joubert: "I am evaluating your PostgreSQL Maestro product for purchase by my company and thus far I am very impressed! I really like the easy, intuitive and productive user interface and feature set. I am also evaluating a number of other products for PostgreSQL database design and maintenence but thus far SQLMaestro stands head and shoulders above the rest".
Chris Passion: "I tried 3 different programs before yours and none would be so handy and helpful. PostgreSQL Maestro works great and couldn't be easier to install".

More

Add your opinion

PostgreSQL Maestro online Help

Prev Return to chapter overview Next

Create Cast Wizard

Create Cast Wizard guides you through the process of creating a new cast language. See How To Create a New Cast to learn how to run this wizard.

 

The basic principles of Create Object Wizards in PostgreSQL Maestro are explained in a separate topic. Below you will find a description of wizard steps that are unique for the current object.

 

 

Comment

The box allows you to set optional text to describe the new cast.

 

Source Type

Specify the name of the source data type of the cast.

 

Target Type

Set the name of the target data type of the cast.

 

Function

The function used to perform the cast. The function name may be schema-qualified. If it is not, the function will be looked up in the schema search path. The function result data type must match the target type of the cast. Specify no function to indicate that no function is required to perform the cast.

 

Context (Assignment, Implicit, Explicit)

Assignment indicates that the cast may be invoked implicitly in assignment contexts. Implicit indicates that the cast may be invoked implicitly in any context. By default, a cast can be invoked only by an Explicit cast.

 

Note: Remember that if you want to be able to convert types both ways you need to declare casts both ways explicitly.



Prev Return to chapter overview Next