In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
@ echo off
Set uname=%1%
Set pword=%2%
Echo uname%
Echo pword%
Echo @ echo off > C:\ createUser.sql
Echo create temporary tablespace user_temp > > C:\ createUser.sql
Echo tempfile'C:\ app\ Administrator\ oradata\ user_temp.dbf' > > C:\ createUser.sql
Echo size 50m > > C:\ createUser.sql
Echo autoextend on > > C:\ createUser.sql
Echo next 50m maxsize 20480m > > C:\ createUser.sql
Echo extent management local; > > C:\ createUser.sql
Echo create tablespace user_data > > C:\ createUser.sql
Echo logging > > C:\ createUser.sql
Echo datafile'C:\ app\ Administrator\ oradata\ user_data.dbf' > > C:\ createUser.sql
Echo size 50m > > C:\ createUser.sql
Echo autoextend on > > C:\ createUser.sql
Echo next 50m maxsize 20480m > > C:\ createUser.sql
Echo extent management local; > > C:\ createUser.sql
Echo create user uname% identified by pword% > > C:\ createUser.sql
Echo default tablespace user_data > > C:\ createUser.sql
Echo temporary tablespace user_temp; > > C:\ createUser.sql
Echo grant connect,resource,dba to% uname%; > > C:\ createUser.sql
Echo exit; > > C:\ createUser.sql
Echo @ echo off > C:\ createTable.sql
Echo CREATE TABLE DEPT > > C:\ createTable.sql
Echo (DEPTNO NUMBER (2) CONSTRAINT PK_DEPT PRIMARY KEY, > > C:\ createTable.sql
Echo DNAME VARCHAR2 (14), > C:\ createTable.sql
Echo LOC VARCHAR2 (13); > C:\ createTable.sql
Echo INSERT INTO DEPT VALUES (1) > C:\ createTable.sql
Echo INSERT INTO DEPT VALUES (2) > C:\ createTable.sql
Echo INSERT INTO DEPT VALUES (3 recordings wirelessness recordings Piane); > > C:\ createTable.sql
Echo COMMIT; > > C:\ createTable.sql
Echo exit; > > C:\ createTable.sql
Sqlplus / as sysdba @ C:\ createUser.sql
Sqlplus% uname%/%pword%@orcl @ C:\ createTable.sql
Exit 0
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.