You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-zh@flink.apache.org by Luna Wong <gf...@gmail.com> on 2021/05/27 08:02:33 UTC

SQL DDL选项的值需要单引号应该如何解决?

create table source (
id int
) with (
type='jdbc',
username='us',
password='ab'c'
);

例如上面DDL密码的值需要 ' 单引号。这种应该怎么解决?

Re: SQL DDL选项的值需要单引号应该如何解决?

Posted by zh0122 <zh...@gmail.com>.
create table source (
id int
) with (
type='jdbc',
username='us',password='ab\'c'
);


Luna Wong <gf...@gmail.com> 于2021年5月27日周四 下午4:02写道:

> create table source (
> id int
> ) with (
> type='jdbc',
> username='us',
> password='ab'c'
> );
>
> 例如上面DDL密码的值需要 ' 单引号。这种应该怎么解决?
>