• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

How to pull information from a string in SQL

KAMAZON

Golden Member
Hi guys,

My SQL query writing isn't that great so I'm practicing new methods that are relevent to my work. I have imported a table that has non standard information such as:

Hi hi I'm a stupid face and my fav table is <ORLY> but I like chocolate.

or

Hello this is a <Table_name> and i'm just dandy

in other words, there's no real relation between the strings, except that information i want to pull out is between < >. Can someone suggest a method to pull out that information only? I am thinking CASE or SUBSTRING? The problem I have with substring is that the # of characters before < > is different per row.

Thanks!
 
Back
Top