www.webdeveloper.com
Results 1 to 2 of 2

Thread: how can we copy structure of table without data?

  1. #1
    Join Date
    Jun 2012
    Location
    indore MP india
    Posts
    5

    how can we copy structure of table without data?

    in SQL how can we do copy the structure of the table without copying the data?

  2. #2
    Join Date
    Apr 2003
    Location
    Rosemount, MN
    Posts
    2,287
    Code:
    create table mytable2 select * from myoriginal where 0;

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles