Re: Object comments (i.e. not comments in code)
Quote
Since a comment string is enclosed by quotes ... I would have to assume that single quotes should not be used in a comment
Not so.
It's perfectly possible to use quotes - it's just fiddly if you use
character literals to enter them.
select 'That''s All Folks!' quote ;
+-------------------+
| quote |
+-------------------+
| That's All Folks! |
+-------------------+
In real application code, you should use Parameterised Queries that take care of this "doubling-up" for you.
Regards, Phill W.
Subject
Written By
Posted
Re: Object comments (i.e. not comments in code)
June 17, 2019 04:48AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.