SELECT * FROM 表1 where 填报单位=GETUSERDEPARTMENTS() 不行 SELECT * FROM 表1 where 填报单位=${GETUSERDEPARTMENTS()} 不行 SELECT * FROM 表1 where 填报单位='${GETUSERDEPARTMENTS()}' 不行 SELECT * FROM 表1 where 填报单位='%${GETUSERDEPARTMENTS()}%' 不行 SELECT * FROM 表1 where 填报单位="=GETUSERDEPARTMENTS()" 不行 到底怎么样才是对的? select怎么这么麻烦? |
最佳回答 |
||||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|