Addcolumn: Difference between revisions

From Data Islands
No edit summary
No edit summary
 
Line 5: Line 5:
'''Syntax''' : addcolumn <ISLANDNAME> "<columnname:columntype,...>" <ENTER>
'''Syntax''' : addcolumn <ISLANDNAME> "<columnname:columntype,...>" <ENTER>


Description : Update the given island table by adding new columns, eg. addcolumn test-island "newColumn:System.String".  We can use columntype as: System.Decimal, System.Boolean, System.Int32", System.Guid", System.DateTime, System.String", System.Byte[], System.Single[] etc.  Please note System.Single[] will be used for vector columntype.
eg. >addcolumn test-island "NewColumn:System.String"
 
Description : Update the given island table by adding new columns, eg. addcolumn test-island "newColumn:System.String".  We can use columntype as:  
 
System.Decimal
 
System.Boolean
 
System.Int32
 
System.Guid
 
System.DateTime
 
System.String
 
System.Byte[]
 
System.Single[]


eg. >addcolumn test-island "NewColumn:System.String"
Please note System.Single[] will be used for vector columntype.




See Also
See Also
* [[Dropcolumn|DropColumn]]
* [[Dropcolumn|DropColumn]]

Latest revision as of 11:46, 31 August 2026

AddColumn:

=========

Syntax : addcolumn <ISLANDNAME> "<columnname:columntype,...>" <ENTER>

eg. >addcolumn test-island "NewColumn:System.String"

Description : Update the given island table by adding new columns, eg. addcolumn test-island "newColumn:System.String".  We can use columntype as:

System.Decimal

System.Boolean

System.Int32

System.Guid

System.DateTime

System.String

System.Byte[]

System.Single[]

Please note System.Single[] will be used for vector columntype.


See Also