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

NameComments
columnNameThe 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