Interviewer And Interviewee Guide

Oracle Database Interview Question:

How To Write Text Literals in Oracle?

Submitted by: Administrator
There are several ways to write text literals as shown in the following samples:

SELECT 'globalguideline.com' FROM DUAL -- The most common format
globalguideline.com

SELECT 'It''s Sunday!' FROM DUAL -- Single quote escaped
It's Sunday!

SELECT N'Allo, C''est moi.' FROM DUAL -- National chars
Allo, C'est moi.

SELECT Q'/It's Sunday!/' FROM DUAL -- Your own delimiter
It's Sunday!

Submitted by: Administrator

Read Online Oracle Database Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.