Last week what are the new indexes created in my database

last week what are the new indexes created in my database.How can I know?
Thanks

Please try this:
SELECT t.name AS TableName ,
ind.name AS IndexName ,
col.name AS ColumnName ,
STATS_DATE(t.object_id, ind.index_id) AS IndexCreationDate
FROM sys.indexes ind
INNER JOIN sys.index_columns ic ON ind.object_id = ic.object_id
AND ind.index_id = ic.index_id
INNER JOIN sys.columns col ON ic.object_id = col.object_id
AND ic.column_id = col.column_id
INNER JOIN sys.tables t ON ind.object_id = t.object_id
WHERE ind.is_primary_key = 0
AND ind.is_unique = 0
AND ind.is_unique_constraint = 0
AND t.is_ms_shipped = 0
AND STATS_DATE(t.object_id, ind.index_id) > ( GETDATE() - 7 ) ;
T-SQL Articles
T-SQL e-book by TechNet Wiki Community
T-SQL blog

Similar Messages

  • What are the prerequisites  to create New Depreciation areas

    Hi SAP experts,
    I would like to know what are the prerequisites to create new depreciation areas and what is the configuration for this in details.
    Thanks & Regards
    Mouly

    Hi Mouly,
    The pre- requisite for creation of depreciation area are
    - Reporting of depreciation as per different laws i.e in india, we need to report depn as per Ind accounting standards, as per income tax act, etc
    - Whether we are using parallel currency or not for that company code.
    Regards
    Vivek

  • What are the new features in the new ipod touch?

    So for the new iPod Touch that came out on October 12th, what are the new features that they have?
    I can't find any difference between the last iTouch and this new iTouch.....plz tell me!

    There's no new iPod Touch. What came out Oct. 12 was just software, the new iOS 5. For an overview of new features, see here: http://www.apple.com/ios/

  • What are the tools to create a digital magazine for ipad version and how can be place it in newsstand?

    Hello..
    "what are the tools to create a digital magazine for ipad version and how can be place it in newsstand?"
    I am very tired after done a week of R&D on this issue..
    But i doesn't get any fair solution for this one..
    I hope this is best option to place my issue here to get quick solution..
    Thanks and Regards..

    We are all users here.
    There is no one here from Apple.
    In order for you to develop and distribute content for the iPad, you need to become an apps developer.
    Not sure where you sign up for this or who you have to call.
    There should be a place on Apple's site that refers to a section of the site if you want to be an Apple iOS content developer.
    It cost, I believe $99 U.S. to become an Apple apps developer. You'll agree to Apple's Non-disclosure rules.  You'll receive Apple's app/software developers kit,and access to Apple's app developer site.
    No one here is going to be able to help you.
    Good Luck.

  • What are the steps to create sap apo ..plz send step by steps plzzzzzzzzzzz

    what are the steps to create sap apo ..plz send step by steps plz. Iam new for these ?

    what are the steps to create sap apo ..plz send step by steps plz. Iam new for these ?

  • What are the New Features in Apex 3.1.2 as Comparitive with Apex 3.1

    hi all
    what are the new features in Apex 3.1.2 as compartively with Apex 3.1?
    Is it recommended to use 3.12 comparitivly 3.1?
    please drop ur valuable answers
    many thanks
    khaja
    Edited by: ATM on Dec 27, 2008 1:06 PM
    Edited by: ATM on Dec 27, 2008 1:11 PM
    Edited by: khaja on Jan 18, 2009 10:47 AM

    Hello,
    Versions 3.1.1 and 3.1.2 are actually patched version of APEX 3.1. As such, they don’t introduce new features, but mainly fix bugs from the main release. If you want to learn specific details about these versions, you should read the readme file attached to the patch set files (on metalink).
    It’s always best to work with the latest patched version, as it reduces your chances to encounter bugs. In general, so far the new APEX versions added many new features and technologies, while maintaining backward compatibility, so existing applications functionality is not impaired. Personally, I don’t see any reason not to upgrade and use the latest version, certainly when you are comparing 3.1 to 3.1.2.
    Regards,
    Arie.

  • What are the new features in R12 iStore as compaired to 11i?

    What are the new features in R12 iStore as compaired to 11i?
    Also plz tell main difference in R12 and 11i iStore functionality.

    Hi,
    The information can be found in Release Content Documents (RCD) Published by Oracle.
    Please refer metalink note 404152.1 ... download "Customer Relationship Management Family RCD (zip, 3.2 MB)"
    You will find istore specific details in r12_mkt_sales_rcd.zip
    Thanks,
    Hrishi

  • What are the New features in OBPM in performance, integration & dev level

    Hi,
    Could someone help me
    I would like to know what are the new features in Oracle BPM that will improve the performance of appln,
    and new features in integration and development level.Thanks in advance.

    Hi,
    The information can be found in Release Content Documents (RCD) Published by Oracle.
    Please refer metalink note 404152.1 ... download "Customer Relationship Management Family RCD (zip, 3.2 MB)"
    You will find istore specific details in r12_mkt_sales_rcd.zip
    Thanks,
    Hrishi

  • What are the new sony phones which support flashlite 1.1?

    Hi friends,
    Can you please tell me that what are the new sony phones
    which support flashlite 1.1?
    and which have wallpaper etc. in flashlite.
    regards
    vivek

    Here
    it is a link in this very site!!!

  • What are the new features of Oracle 10g over Oracle9i

    Hi Grus..
    i want to know what are the new features of oracle 10g over Oracle 9i as well oracle 11g over 10g.. can any one give me the detailed document.
    Because I'm struggling each and every time while the interviewer asked above question.
    It's very helpful for me if any one give me the detailed document regarding above question
    Thanks In Advance
    Arun
    Edited by: Arun on Oct 23, 2010 10:19 AM

    Hi,
    Just check below link..would be helpful..
    http://www.oracle.com/global/ap/openworld/ppt_download/database_manageability%2011g%20overview_230.pdf
    and
    Each release of Oracle has many differences, and Oracle 10g is a major re-write of the Oracle kernel from Oracle 9i. While there are several hundred new features and other differences between 9i and 10g, here are the major differences between Oracle9i and Oracle10g:
    Major changes to SQL optimizer internals
    Oracle Grid computing
    AWR and ASH tables incorporated into Oracle Performance Pack and Diagnostic Pack options
    Automated Session History (ASH) materializes the Oracle Wait Interface over time
    Data Pump replaces imp utility with impdp
    Automatic Database Diagnostic Monitor (ADDM)
    SQLTuning Advisor
    SQLAccess Advisor
    Rolling database upgrades (using Oracle10g RAC)
    dbms_scheduler package replaces dbms_job for scheduling
    and you need to refer oracle documentation for sql, plsql references where you will know particular enhancements made...
    thanks
    Prasanth
    Edited by: Onenessboy on Oct 23, 2010 10:22 AM

  • What are the new multitouch functions?

    What are the new functions, and can MBP's with multitouch be upgraded to take advantage of them?

    The only new thing that I saw is the 4 fingers move.
    up, you have exposé, down you have desktop, left or right, you have apps switching...
    But I aslo wonder if I can have this feature on my old MBP. Anyone ?

  • What are the new tax patches to be attached for the FY 2008 in India....

    Hi Experts....
    What are the new tax patches to be added for the tax calculations for the Financial year 2008.Please advice...
    regards,
    sai.

    Thanks Mhpo.
    1 In this period this is a  correct time for applying the tax patch for the financial year 2008.Whats the new in this patch 1154295.
    any how you have to apply the note
    2 What s the heading for the patch. Budget changes 2008~2009
    Regards
    MHPO

  • What are the new / correct URLs for the Servlet / Persistence XSD ?

    Hi,
    the URLs: http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd
    http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd
    Do not work anymore and you constantly get annoying validation errors in all XSD validating IDE's.
    What are the new URLs now? I could not find any related document or article in the internet.
    Thanks!
    Sebastian

    you should never rely on remote resources for xml validation. you should always have them locally.

  • What are the new terms for renewal of payment for converting pdf to word?

    What are the new terms for renewal of payment for converting pdf to word?

    Hi joannep59572680,
    The terms haven't changed recently. ExportPDF subscriptions renew annually, unless your turn off Auto Renewal before your renewal date.
    Do you have a specific concern about your subscription?
    Best,
    Sara

  • What are the new features for the latest version ...

    what are the new features for the latest version of N6300? can you cite me the newest features?

    The latest update was just bug fixes and improved stability, no new features. That is nearly always the case with series 40 phones like the 6300.
    Nokia do not make the changelogs available publicly but often they do appear on unofficial sites. Searching google may provide you with more detailed info that cannot be posted here.

Maybe you are looking for

  • Lack of variability in report total in analysis

    First off, sorry if this is a repetitious post. But, when creating new applications and building analysis into them at startup, I have found that Oracle adds a row at the bottom titled "report total". The problem is that all this does is add the tota

  • Is there any way to get the file for your site from Creative Cloud?

    I lost the file for my Muse site and was wondering if there was any way to get the file from the server or from somewhere in Creative Cloud. Thanks.

  • Parsing and Indexing

    I am writing a PL/SQL routine to parse, identify individual words from a string (NVARCHAR2/NCLOB) and store them as individual words in an "index" table so they can be searched upon later. My lack of experience in NLS shows here. My question is...Whe

  • Property readings for several classes, the best way

    Hi all I have a program which in the development is going to handle different languages. Also there has to be several settings for the user. But here is the question: The program has several different classes which all have specific constants. These

  • CL_SALV_TREE PopUp

    Hello! Is ther any way to show a alv tree of CL_SALV_TREE in a popup window? When I call a screen by "_CALL SCREEN 0120 STARTING AT 20 20 ENDING AT 100 100._" the screen appears blank! But when I call it "_CALL SCREEN 0120_" the alv is shown correctl