1
Answer

Incorrect syntax near the keyword 'INNER'.

Henrik Mikkelsen

Henrik Mikkelsen

11y
1.5k
1
Heey all

Im getting a "Incorrect syntax near the keyword 'INNER'."

DataTable dtListSearch = SearchEngine.CallCommand_GetDataTable("SELECT * FROM [DO_DrinksIngredients] WHERE LOWER(DrinksIngredientsName) LIKE '%" + SearchWord.ToLower() + "%' INNER JOIN [DO_Drinks] WHERE LOWER(DrinksName) LIKE '%" + SearchWord.ToLower() + "%';");

Hope someone can help me
Answers (1)