EXEC      sp_msforeachtable 'sp_spaceused ''?'''

Posted on 2006-03-23
Last Modified: 2010-05-18
This is related question to
Please read original question also and if you can help there it would be helpful.

I can use this syntax to retrive all the size of the table. Can I also retrive the datecreated of the table ?

EXEC      sp_msforeachtable 'sp_spaceused ''?'''  

Question by:pinaldave
    LVL 10

    Accepted Solution

    LVL 22

    Author Comment

    Select name
    from sysobjects
    where type = 'U'
         and crdate <= dateadd(m,1,getDate())
         and name like 'MyTmp_%'

    This is the correct answer and is part of the original question.
    Though this is separate question, I am sure I can assign points for that.

    Kind Regards,

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Join & Write a Comment

    Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
    International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
    Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
    This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now