Select Replace([IBLCNum],’ ‘, ”), [Name] from [Company] where [DBId] = 3 and Replace([IBLCNum],’ ‘, ”) in (Select Replace([IBLCNum],’ ‘, ”) from [Company] where not [IBLCNum] = ” and [DBId] = 3Group by...
SELECT [Country].[Name], [Language].[Name], CountryName.Name, CountryName.Nationality from (([Country] Left Join [CountryName] ON ([Country].[Id] = [CountryName].[CountryId] and [CountryName].[DBId] = 0)) LEFT JOIN [Language] ON ([CountryName].[LanguageId] =...
Use this query to display invalid records (SQL Server): Select * from [GLAccGLCaption] where convert(varchar, [GLAccGLCaption].[DBId]) + ‘-‘ + convert(varchar, [GLAccGLCaption].[GLAccountId]) + ‘-‘ + convert(varchar,...