Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Copying SQL database

Thread Tools
 
Search this Thread
 
Old 22 May 2003, 12:11 PM
  #1  
rik1471
Scooby Regular
Thread Starter
 
rik1471's Avatar
 
Join Date: Nov 2001
Posts: 4,788
Likes: 0
Received 0 Likes on 0 Posts
Post

How do I copy the structure only of an SQL database?
Old 22 May 2003, 12:13 PM
  #2  
Alec
Scooby Regular
Support Scoobynet!
 
Alec's Avatar
 
Join Date: Aug 1999
Posts: 583
Likes: 0
Received 0 Likes on 0 Posts
Post

SQL server?
Old 22 May 2003, 12:21 PM
  #3  
GaryK
Scooby Regular
 
GaryK's Avatar
 
Join Date: Sep 1999
Location: Bedfordshire
Posts: 4,037
Likes: 0
Received 0 Likes on 0 Posts
Post

rik,

right click on one of the tables and select all tasks->generate sql script, then select all objects (and check the last tab if you want triggers and indexes scripted) and voila a script you can open in QA to create your schema.

Gary
Old 22 May 2003, 12:22 PM
  #4  
HHxx
Scooby Regular
 
HHxx's Avatar
 
Join Date: Nov 2001
Posts: 2,576
Likes: 0
Received 0 Likes on 0 Posts
Post

Oracle?
MySQL?
Ingres?
Old 22 May 2003, 12:42 PM
  #5  
rik1471
Scooby Regular
Thread Starter
 
rik1471's Avatar
 
Join Date: Nov 2001
Posts: 4,788
Likes: 0
Received 0 Likes on 0 Posts
Post

It's MS SQL Server, I'll try the instructions given - thanx.
Old 22 May 2003, 04:21 PM
  #6  
rik1471
Scooby Regular
Thread Starter
 
rik1471's Avatar
 
Join Date: Nov 2001
Posts: 4,788
Likes: 0
Received 0 Likes on 0 Posts
Post

Cheers GaryK,
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
JonMc
Subaru Parts
22
06 February 2016 09:50 PM
Iqy7861
Insurance
5
01 October 2015 07:57 PM
IAN WR1
ScoobyNet General
8
28 September 2015 08:14 PM
Littleted
Computer & Technology Related
0
25 September 2015 08:44 AM
RonaldoH
ScoobyNet General
2
21 December 2000 09:20 PM



Quick Reply: Copying SQL database



All times are GMT +1. The time now is 12:39 PM.