How can i have a copy of entire databse with out data??

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ganeshkumar08
    New Member
    • Jan 2008
    • 31

    How can i have a copy of entire databse with out data??

    Hi all,

    Using generate scripts i generated the database script file and executed,
    i got an error.

    How to copy the entire database without data.

    Can any one help me..

    Ganesh
  • ck9663
    Recognized Expert Specialist
    • Jun 2007
    • 2878

    #2
    What error did you get?

    -- CK

    Comment

    • ganeshkumar08
      New Member
      • Jan 2008
      • 31

      #3
      Its a SP error, which i did mistake..
      Can u tell the procedure to generate script, i need to have script like this...
      I should not even create a new database, the script should have create new database also..

      Can u pls tell me...

      Comment

      • ck9663
        Recognized Expert Specialist
        • Jun 2007
        • 2878

        #4
        Are you planning to copy a database? Or just create a new one?

        Why not just create a new one? Try this

        -- CK

        Comment

        • ganeshkumar08
          New Member
          • Jan 2008
          • 31

          #5
          I need all the Table, SP, View, Schema scripts.
          So, using this scripts i want to execute in another server. My requirement is i need to generate a DB script file which should be executed in another server. So, while executing the script the database also must created with tables, SP, View, Schema etc..

          Comment

          Working...