example7.c sample program

example7.c uses browse-mode techniques to determine the source of result columns from ad hoc queries.

Determining the source of result columns is important, because a browse-mode application can update only columns that are derived from a browsable table and are not the result of a SQL expression.

This example demonstrates how an application can determine which columns resulting from ad hoc queries can be updated using browse-mode techniques.

This example prompts you for an ad hoc query. The results differ depending on whether the select query includes the keywords for browse and whether the table you selected can be browsed.

NoteThis sample requires access to Adaptive Server.