Utility Functions and C Language Reference > Virtual Table Server Functions (VTS) for C, C#, and Java > Virtual Table Server (VTS) Functions for Single Connection > Alphabetical Listing > lrvtc_create_column

lrvtc_create_column

Creates a column.

C Language

VTCERR2 lrvtc_create_column ( char *columnName );

C# Language

void vts.create_column ( string columnName );

Java Language

int Lrvtc.create_column ( string columnName );
Global Functions

Arguments

Name Comments
columnName The name of the column to create.

lrvtc_create_column creates a column. If a column of the same name already exists, the function does nothing.

Return Values

C Language:   Returns zero on success or one of the Error Codes.

C# Language: No return value.

Java Language:   Returns zero on success or one of the Error Codes.

Parameterization

All string input arguments can be passed using standard parameterization.

C Language Example

    int rc;
    ...
    rc = lrvtc_create_column("C_ID");
    lr_log_message("Create_column rc=%d\n", rc);
   

C# Language Example

.Net Single Connection Example

Java Language Example

Java Single Connection Example