I’m working with Katalon Studio for Automatize web testing, I’m using data from database for user login, i had to difference from ORMA_PROFESSIONALS.PROF_SURNAME_2 wich ones are writter with a white space. But when i use this query in Katalon Studio SLQ Query, return to me that message.
I use the same Query in SQL Server Management 2016 and I don’t recieve any problem.
SELECT SECU_USERS.USER_LOGIN as login, ORMA_PROFESSIONALS.PROF_NAME +' '+ ORMA_PROFESSIONALS.PROF_SURNAME_1 +''+case ORMA_PROFESSIONALS.PROF_SURNAME_2 when '' then '' else ' '+ORMA_PROFESSIONALS.PROF_SURNAME_2 end as nameFROM SECU_USERS inner join ORMA_PROFESSIONALS on SECU_USERS.PROF_ID=ORMA_PROFESSIONALS.PROF_ID
Error:
com.microsoft.sqlserver.jdbc.SQLServerException: Unable to identify the table SELECT SECU_USERS.USER_LOGIN as login, ORMA_PROFESSIONALS.PROF_NAME +' '+ ORMA_PROFESSIONALS.PROF_SURNAME_1 +''+case ORMA_PROFESSIONALS.PROF_SURNAME_2 when '' then '' else ' '+ORMA_PROFESSIONALS.PROF_SURNAME_2 end as nameFROM SECU_USERS inner join ORMA_PROFESSIONALS on SECU_USERS.PROF_ID=ORMA_PROFESSIONALS.PROF_ID para los metadatos. Query: SELECT SECU_USERS.USER_LOGIN as login, ORMA_PROFESSIONALS.PROF_NAME +' '+ ORMA_PROFESSIONALS.PROF_SURNAME_1 +''+case ORMA_PROFESSIONALS.PROF_SURNAME_2 when '' then '' else ' '+ORMA_PROFESSIONALS.PROF_SURNAME_2 end as nameFROM SECU_USERS inner join ORMA_PROFESSIONALS on SECU_USERS.PROF_ID=ORMA_PROFESSIONALS.PROF_ID Parameters: []