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

Subscribe to our news:
Partners
Testimonials
Shafiq Far: "Just wanted to let you know that I think the SQL Maestro for Postgres is excellent. We've tried a variety over the past few years and none are even close to yours. Well done".
Armin Braunstein: "Also I must say, that your PostgreSQL Maestro tool is the best tool for PostgreSQL I have seen. For general I am really happy about the tool and how it works".

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