Assume a developer wants to validate the contents of a program variable against a list of allowed values while executing an INPUT statement. Which validation method requires the least amount of code changes should the list of allowed values change?

Assume a developer wants to validate the contents of a program variable against a list of allowed values while executing an INPUT statement. Which validation method requires the least amount of code changes should the list of allowed values change?A . Referencing the list of allowed values in the INCLUDE...

September 14, 2018 No Comments READ MORE +

Which statements implement explicit transactions?

Which statements implement explicit transactions?A . BEGIN WORKB . COMMIT WORKC . ROLLBACK WORKD . END TRANSACTIONE . EXIT TRANSACTIONF . START TRANSACTIONView AnswerAnswer: ABC

September 9, 2018 No Comments READ MORE +

Which clauses must be included in an INPUT statement?

Which clauses must be included in an INPUT statement?A . TOB . FROMC . INPUTD . ATTRIBUTEE . screen_variableF . program_variableView AnswerAnswer: CF

September 8, 2018 No Comments READ MORE +

For a non-ANSI database, if an UPDATE statement executes successfully, but modifies no rows in the database, what will SQLCA.SQLCODE be set to?

For a non-ANSI database, if an UPDATE statement executes successfully, but modifies no rows in the database, what will SQLCA.SQLCODE be set to? A. 0 B. 1 C. <0 D. the number of rows in the target tableView AnswerAnswer: A

September 7, 2018 No Comments READ MORE +

Which statement uses correct syntax for the INPUT statement?

Which statement uses correct syntax for the INPUT statement?A . INPUT program_variable FROM screen_variableB . INPUT FROM program_variable TO screen_variableC . INPUT TO program_variable FROM screen_variableD . INPUT ATTRIBUTE BY NAME TO program_variable FROM screen_variableView AnswerAnswer: A

September 4, 2018 No Comments READ MORE +

What does the INPUT statement do?

What does the INPUT statement do?A . It defines variables used in a form.B . It moves a user through the fields in a form.C . It automatically opens the form and displays it.D . It assigns a field in a form to a program variable.View AnswerAnswer: BD

September 3, 2018 No Comments READ MORE +

When is int_flag set to TRUE?

When is int_flag set to TRUE?A . when the DEFER INTERRUPT statement is executedB . only at program initialization by an INFORMIX-4GL libraryC . in a user-defined error handler executed when the user presses the interrupt key when prompted for inputD . when the user presses the interrupt key when...

September 3, 2018 No Comments READ MORE +

Which statement is true about the SERIAL data type?

Which statement is true about the SERIAL data type?A . A table can have multiple SERIAL columns.B . SERIAL values within a table MUST be unique.C . SERIAL values are stored in the database as integers.D . Once deleted, SERIAL values are automatically reused.View AnswerAnswer: C

September 2, 2018 No Comments READ MORE +

Which parameters can be passed to a function?

Which parameters can be passed to a function?A . constantsB . concatenatorsC . date variablesD . array variablesE . integer variablesView AnswerAnswer: ACE

September 2, 2018 No Comments READ MORE +

What does the DEFER INTERRUPT statement trap?

What does the DEFER INTERRUPT statement trap?A . only error statuses returned from the database engineB . only the interrupt key when the application is waiting for user inputC . either the interrupt or quit keys when the application is waiting for user inputD . both error statuses returned from...

September 1, 2018 No Comments READ MORE +