3.
在sqlplus中不能这样写6.
就是这样写的,难道不行吗?
在sqlplus中不能这样写6.
就是这样写的,难道不行吗?
解决方案 »
- 求一个存储过程 将库里所有表中指定的字符批量替换成别的字符
- 关于type 的删除问题,
- 请教各位,如何用VC将.dat格式的数据文件(二进制)导入Oracle中?!谢谢!
- 关于flashback_transaction一问
- 请问这句话是什么意思?
- 菜鸟虚心请教,谢谢关注!
- win2000 的 oracle 中 oracleorahome81managementserver服务启动后以停止了,怎么解决啊?在线等,急!急!急!
- 请教一个很难的SQL语句
- 如何删除一个字段
- 新手 写不出来了 IF 怎么嵌套啊
- 请教用util_file上传文件
- Oracle9i中,关于Enterprise Manager Concole的问题.
如果newtable表已存在,则插入数据
insert into newtable select * from people;如果newtable表不存在,则需在建表时同时插入数据
create table newtable as select * from people;
create or replace procedure a is
d date;
begin
select sysdate into d from dual;
end a;
另外说明的一点,你选取的字段的个数要和into后面的变量的个数相同6,要说明的一点,如果你是Oracle9i的用户,使用sys用户连接的时候,必须以sysdba的方式连接比如:connect sys/change_on_install@orcl as sysdba如果连接远程的服务器,只要在你的tnsname.ora文件中指定相应的信息,就可以使用@符号进行连接了
这是sqlserver的写法。
oracle的写法是:
create table newtable as select * from people;
4.不明白你的意思
insert into newtable select * from people;
创建表时
create table newtable as select * from people;
6.
sqlplus username/password@sid
insert into newtable select * from people;
创建表时
create table newtable as select * from people;
6.
sqlplus username/password@服务名