[pedevel] Re: SQL-Comments

  • From: Oliver Tappe <pedevel@xxxxxxxxxxxxxxx>
  • To: pedevel@xxxxxxxxxxxxx
  • Date: Wed, 16 Aug 2006 10:32:30 +0200

On 2006-08-16 at 08:15:28 [+0200], Rainer Riedl <mlist@xxxxxxxxx> wrote:
> looking for the TODO-thing I had a look at CLang_sql.cpp. Shouldn't it be
> 
>     _EXPORT const char kLanguageCommentStart[] = "--";
> 
> instead of
> 
>     _EXPORT const char kLanguageCommentStart[] = "#";
> 
> for real (not My-) SQL?

Yes, I think that's correct, standard-SQL only supports comments after '--' 
and between '{' and '}'.

cheers,
        Oliver

Other related posts: