Nov 17, 2003 #1 HulaGirl Programmer Apr 6, 2002 20 US Can anyone help to explain this please. WHY does the following statement returns one single quotation mark. exec 'select str=''''''''' str ---- ' THANKS!
Can anyone help to explain this please. WHY does the following statement returns one single quotation mark. exec 'select str=''''''''' str ---- ' THANKS!
Nov 17, 2003 #2 royjimenez Programmer Nov 25, 2002 172 CR try this examples: select '' select 'a' select '''a''' select '''''a''''' ' -> start a string '' -> it's a special character ( next one ) or ( empty string ) ''' -> the special character is ' if u start with ''' + a + ''' ( u need to finish with ' ) ''''' -> two special chars '' Regards Upvote 0 Downvote
try this examples: select '' select 'a' select '''a''' select '''''a''''' ' -> start a string '' -> it's a special character ( next one ) or ( empty string ) ''' -> the special character is ' if u start with ''' + a + ''' ( u need to finish with ' ) ''''' -> two special chars '' Regards