Redian新闻
>
SQLServer2000 Database Structure Populat
avatar
SQLServer2000 Database Structure Populat# Database - 数据库
g*o
1
Could anybody give me an idea about how to populate database structure from
SQL server 2000 easily? I have several databses and lots of data inside those
database. Thanks.
avatar
D*N
2
You can make a copy of the database, trucate all the tables, then
make a backup of that blank database to restore to other locations...

【在 g***o 的大作中提到】
: Could anybody give me an idea about how to populate database structure from
: SQL server 2000 easily? I have several databses and lots of data inside those
: database. Thanks.

avatar
g*o
3
I have more than 50 tables for each DB and more than 10 DBs, Is that too
tedious?

from
those

【在 D****N 的大作中提到】
: You can make a copy of the database, trucate all the tables, then
: make a backup of that blank database to restore to other locations...

avatar
D*N
4
there's a sp command to list all the tables in a database,
you can use a cursor to loop through all the tables... see
this example here..
http://www.databasejournal.com/img/TruncTables.sql

【在 g***o 的大作中提到】
: I have more than 50 tables for each DB and more than 10 DBs, Is that too
: tedious?
:
: from
: those

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。