exporting ''create table'' scripts with ONLINE = OFF??

  • wrong question.... create table scripts with Indexes Disabled?

    _________________________

  • If you mean you cannot generate table scripts with index, go to that specified database name and right click, choose tasks, generate scripts, next, choose dbname, set script indexes under table/view options to 'true'.

  • yes of course... but... can you create them (somehow) in a disabled state?

    _________________________

  • Hmm... I am assuming you want to put the DDL in a database, but not initially create the index to be "rebuilt" at a later date. 

    There is no way to create an index in a disabled state as far as I can tell...  Period.

    However you can create statistics that can be used as hypothetical indexes.

  • nuts!

    well... thanks for answering my question

    _________________________

  • wanlapa

    If you mean you cannot generate table scripts with index, go to that specified database name and right click, choose tasks, generate scripts, next, choose dbname, set script indexes under table/view options to 'true'.

    ????????????????? ????????????? ???

Viewing 6 posts - 1 through 5 (of 5 total)

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