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

Subscribe to our news:
Partners
Testimonials
Albert Rognan: "Thank you for this quick reply. I must say I am impressed of the number of functions that is available within this tool".
Paolo Benjamin T. Briones: "I just downloaded the trial and its great! IMHO, its a lot better than the Enterprise Manager from SQL Server".

More

Add your opinion

MS SQL Maestro online Help

Prev Return to chapter overview Next

Table Types

Table type is a special data type that can be used to store a result set for processing at a later time. Table data type is primarily used is for temporary storage of a set of rows returned as the result set of a table-valued function.

 

 

New table types are created within Create Table Type Wizard. In order to run the wizard you should either

 

select the Object | Create Database Object... main menu item;
select the Table Type icon in the Create Database Object dialog

or

select the Table Types list or any object from that list in the explorer tree;
select the Create New Table Type... item from the popup menu

 

To create a new table type with the same properties as one of the existing one has:

 

select the Object | Duplicate Database Object... main menu item;
follow the instructions of Duplicate Object Wizard.

 

 

 

Table data types can be edited within Table Type Editor. In order to run the editor you should either

 

select the table type for editing in the explorer tree (type the first letters of the type name for quick search);
select the Edit Table Type... item from the popup menu

 

 

 

To drop a table data type:

 

select the type to drop in the explorer tree;
select the Drop Table Type item from the popup menu

 

and confirm dropping in the dialog window.

 



Prev Return to chapter overview Next