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_clear_column

lrvtc_clear_column

Clears all data in a column.

C Language

VTCERR2 lrvtc_clear_column ( char *column_name );

C# Language

void vts.clear_column ( string column_name );

Java Language

int vts.clear_column ( string column_name );
Data Update Functions

Arguments

Name Comments
column_name The column name.

lrvtc_clear_column clears the data in all the rows of the specified column.

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 = 0;
    ....
    rc = lrvtc_clear_column("C_credit");
    lr_log_message("clear_column rc=%d\n", rc);

C# Language Example

.Net Single Connection Example

Java Language Example

Java Single Connection Example