• Hi, Lowell,

    great work, thank you! I added your procedure to my toolbox; just renamed it to GetTableDDL because I have a simple SP called GetObjectDDL for stored procs, functions etc. (which is of course embarassingly simple, especially compared to your proc).

    Best regards

    JP

    ________________________________________________________
    If you set out to do something, something else must be done first.