Here's what I'm trying to accomplish - I have one server with say database A and database B. I want to set up a trigger on Database A to watch for table creation. Upon a table creation, I want to take parts of the data (table schema should be identical every time) of the created table and place it into a specific table on Database B.
I've been trying to do some research on this, I initially started digging into elastic querying to possibly get the job done, but I'm starting to think this approach may not work, as it appears elastic querying is read-only. Is there a similar approach I could use with t-sql or is there an approach I'm possibly not coming up with?