SELECT * FROM dbo.[16级] where 1=1 ${if(lenth(networkname==0),""," and 姓名 = '" + networkname +'"} networkname是一个参数。应该是最后and那里的格式书写问题。 |
最佳回答 |
||||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|