Query to check when the AG is created

  • I need to find when the availabilty is created  in always on

    is any query is there to find out this ?

  • i poked around the metadata with this query, and looked at views that seemed interesting:

    SELECT * FROM sys.all_objects WHERE type='V' AND name LIKE '%avail%' OR name LIKE '%hadr%' 

    this seems to have a create_date and a modify_date that might be what you are after:

    SELECT create_date,modify_date ,* FROM sys.availability_replicas

     

     

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • Thanks

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply