Microsoft
Software
Hardware
Network
Question : Need to use LIKE with 30 identifiers in SQL Server
I need to produce results that capture all the data for account and sub-account for 30 diffent accounts. That is, I have 30 account numbers, but they could also be 123456-INT, 123456BIT, 123456SMALL, etc. Is there a ay in SQL T-SQL to loop through a LIKE function for all 30 different accounts and capture the main account as well as sub-accounts?
Answer : Need to use LIKE with 30 identifiers in SQL Server
You can modify last line like this:
LEFT( appl_report_id, 6 ) IN('510577','608970','6224
19', .... )
Random Solutions
vb.net Insert comma every 3 characters
backup multiple DBs in script
Sync Access database contacts with Exchange Contacts list
not seeing auto-recover version of a force-closed excel (2007) document
how to truncate the transaction logs in exchange 2010 after NT backup
I need to query each group in an OU in the Root Domain and get the group names that has exact identical users.
Renew Certs
Split String in C#
Need help with important safety precautions!
How to determine hard disk activities