Redian新闻
>
linux下如何打开.sql文件啊? (转载)
avatar
linux下如何打开.sql文件啊? (转载)# Database - 数据库
N*e
1
【 以下文字转载自 Linux 讨论区 】
发信人: NickCave (忘了), 信区: Linux
标 题: linux下如何打开.sql文件啊?
发信站: BBS 未名空间站 (Thu Jan 11 00:14:08 2007)
谢谢
avatar
c*t
2
vim

【在 N******e 的大作中提到】
: 【 以下文字转载自 Linux 讨论区 】
: 发信人: NickCave (忘了), 信区: Linux
: 标 题: linux下如何打开.sql文件啊?
: 发信站: BBS 未名空间站 (Thu Jan 11 00:14:08 2007)
: 谢谢

avatar
N*e
3
how to import to a database and read the table structure?
thanks

【在 c**t 的大作中提到】
: vim
avatar
t*t
4
I don't think any RDBMS have the built-in capability to read a random .sql
file and "import" it. You most likely will have to write code to do that.
avatar
c*d
5
看你的sql文件里是什么了
如果是create table, insert的语句
当然可以import to database
完成import之后当然可以看table的structure
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。