利用load data将文件中的数据导入数据库表中的时候,遇到了两个问题. 首先是load data命令无法执行的问题: 命令行下输入load data local infile "path/filename" to table table_name: 系统提示:ERROR 1148 (42000): The used command is not allowed with this MySQL version. 解决方法:退出mysql, 重新以此命令登录mysql mysql -u
安装好MySQL和Navicat 8 for MySQL 通过Navicat 8 for MySQL创建数据库test. 2 在数据库test上创建测试数据表student(主键ID,姓名,年龄,学号): create table student ( id int not null primary key, name varchar(50) not null, age int, xuehao varchar(20)) 3 创建测试数据txt文件student.txt
使用$ORACLE_HOME/rdbms/admin/awrload.sql $ sqlplus '/as sysdba' SQL*Plus: Release Production on Fri Nov :: Copyright (c) , , Oracle. All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release - 64bit Production With the Partition