|
[size=13.3333px]PreparedStatementCallback; uncategorized SQLException for SQL [SELECT a.id, a.realname, d.imsign, a.userkey, a.username, c.org_code AS departid, SUBSTR(c.org_code, 1, 3) AS maindepartid, d.portrait FROM t_s_base_user a, t_s_user_org b, t_s_depart c, t_s_user d WHERE a.ID = b.user_id AND b.org_id = c.id AND a.ID = d.id AND a.delete_flag = 0 AND a.status = 1]; SQL state [S00010]; error code [195]; 'SUBSTR' 不是可以识别的 内置函数名称。; nested exception is com.microsoft.sqlserver.jdbc.SQLServerException: 'SUBSTR' 不是可以识别的 内置函数名称。
找不到这substr在哪里?
|
|