I'm working on a query to select from my location row all entries that have a '/' in the 4th position. I've tried doing stuff like
WHERE location LIKE '___/'
etc, but I'm not sure what I could or should be using. Thanks a lot!
If you're using SQL server then this will work:
SELECT *
FROM table
where SUBSTRING(location,4,1) = '/'
您可以尝试使用此
WHERE SUBSTRING ( location ,4 , 1 ) = '/'
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.