Share this page

# 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

Copy code

     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

Tips to improve your search results... VuGen Function Reference Version 26.1-26.3 Function Reference 26.1-26.3 All View Local Help Center View Online Help Center Version: