I have a number of text that are sql logs with an example below(Ive changed the name of the text in them:
What I would like to select all the text within the  minus the dbo . Then add them to a collection. I’ll try to figure out how to add them to an object, but I think I need some help in extracting out the text in the .
Command: ALTER INDEX [CTSO_GEN_ACCT] ON [CTSO_DB].[dbo].[GEN_ACCOUNT] REBUILD WITH (SORT_IN_TEMPDB = OFF, ONLINE =ON)
Any help would be appreciated.