Microsoft
Software
Hardware
Network
Question : SQL complicated request
Hi,
I need to create an SQL request that does the following.
If (Filters LIKE "%,2.%) than (Filters LIKE "%,2.18,%)
This means that I want to find filters that do not have 2. but if they have 2. than it must be 2.18
Answer : SQL complicated request
Sorry this is sql server :( but it might help
select *
from MyTable
where Filters like case when Filters LIKE '%2.%' than '%2.18%' else '%' end
Random Solutions
Devexpress XPO vs Entity Framework
Adapting an existing query to include counts & maxrows
Convert Excel file with multiple worksheets to multiple csv files
Update table with SUM from another table.
In ComboBox, Adding - Select Item on index -1
Repair or recover winXP install
Data between Date Range..
gpupdate problem Windows 7 Professinal 32 bit
SQL 2005 Backup to network location, with multiple fulls and tlogs
Excel String