wsryyffs 发表于 2006-5-21 17:24:02

怎样连接字符串

aa="select cus_id from aa_t"
    &"where std_id='188' and num=4"

编译时提示Illegal statement,怎么修改?

caesarqth 发表于 2006-5-22 08:54:21

原帖由 wsryyffs 于 2006-5-21 17:24 发表
aa="select cus_id from aa_t"
    &"where std_id='188' and num=4"

编译时提示Illegal statement,怎么修改?

你问的是如何进行换行吧?
1.或者放到一行aa="select cus_id from aa_t" & "where std_id='188' and num=4"
2.或者用“空格+下划线”进行换行
aa="select cus_id from aa_t" _
    & "where std_id='188' and num=4"

wsryyffs 发表于 2006-5-22 20:29:37

已经解决。
aa="select cus_id from aa_t"& _
   "where std_id='188' and num=4"
页: [1]
查看完整版本: 怎样连接字符串