gpt4 book ai didi

java - 存储包含多种字符的字符串

转载 作者:行者123 更新时间:2023-12-01 15:29:04 25 4
gpt4 key购买 nike

如何存储

 "CREATE COLUMN VIEW "_USE_BID"."rev26/FREESTYLE" TYPE JOIN WITH PARAMETERS ( joinIndex = "REV26"."SIMPLECOMPANY", joinIndexType = 0, viewAttribute = ('ID', "REV26"."SIMPLECOMPANY", "ID", '', 'default', 'attribute', '', 'rev26/FREESTYLE$ID'), freestyleSearchAttribute = 'ID:0.0', viewAttribute = ('NAME', "REV26"."SIMPLECOMPANY", "NAME", '', 'default', 'attribute', '', 'rev26/FREESTYLE$NAME'), freestyleSearchAttribute = 'NAME:0.0'
"

作为java中的单个字符串?这是我想要执行的 SQL 查询。

最佳答案

手动转义“via\”

String queryString = ""; put your statement in it and escape your " to \"

关于java - 存储包含多种字符的字符串,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9786193/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com