QuestionQ175Verified/Using Single-Row Functions to Customize OutputCopy linkReport a problemAsk AstroTutorSave questionWhich two statements are accurate about substitution variables?Choose twoAA substitution variable can be used only in a SELECT statement.BA substitution variable used to prompt for a column name must be enclosed in double quotation marks.CA substitution variable can be used with any clause in a SELECT statement.DA substation variable prefixed with && prompts only once for a value in a session unless it is set to undefined in the session.EA substitution variable prefixed with & always prompts only once for a value in a session.FA substitution variable used to prompt for a column name must be enclosed in single quotation marks.Show AnswerAnswerExplanationSQL*Plus substitution variables can be used in any clause of a SELECT statement. An undefined variable referenced with && is defined after its first prompted value, so subsequent references use the stored value until the variable is undefined.Learn moreSQL*Plus User's Guide and Reference — Referencing Substitution VariablesSQL*Plus User's Guide and Reference — Using Substitution VariablesShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion