查询语句执行不通过??
sql_str:=('select DISTINCT dj.dev_code 交接箱编码,de.dev_code 接入主干电缆编码,get_seqstr(dl.st_seqs,dl.ed_seqs) 接入线序,dj.actual_seqs 实际线序,dj.J_ADDRESS 安装地址,dj.j_cap 标称容量 from ttmp_obj_dj dj,ttmp_obj_de de,ttmp_obj_dl dl where ((dj.att_id=dl.st_id AND dl.st_type=''DJ'')or (dj.att_id=dl.ed_id and dl.ed_type=''DJ''))and (dl.pcableid=de.att_id) and instr(dj.dev_code,de.dev_code)=0');string不能超过256,如何解决这个问题。就上面这行语句
[此贴子已经被作者于2006-12-28 17:28:03编辑过]