Share this page

# lrvtc_drop_index

Deletes the index on a column.

## C Language

    VTCERR2 lrvtc_drop_index ( char *columnName );

## C# Language

    void vts.drop_index ( string columnName );

## Java Language

    int Lrvtc.drop_index ( string columnName );

Global Functions

## Arguments

Name | Comments
--- | ---
columnName | The name of the column to remove the index from.

lrvtc_drop_index deletes a column index created with lrvtc_ensure_index.

## 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

    VTCERR2 rc = 0;

    rc = lrvtc_create_column("Name");
    if(rc) {lr_error_message("Create column failed.");}

    rc = lrvtc_drop_index("Name");
    if(rc) {lr_error_message("Index operation failed.");}

## C# Language Example

.Net Single Connection Example

## Java Language Example

Java Single Connection Example

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