In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
This article is to share with you about how to write the statement of creating table space in oracle. The editor thought it was very practical, so I shared it with you as a reference. Let's follow the editor and have a look.
Before you create a user, create a tablespace:
Format:
Create tablespace inter-table name datafile 'data file name' size tablespace size
Such as:
SQL > create tablespace news_tablespace datafile'F:\ oracle\ product\ 10.1.0\ oradata\ news\ news_data.dbf' size 500m
Where 'news_tablespace' is your custom tablespace name, which can be named at will.
'F:\ oracle\ product\ 10.1.0\ oradata\ news\ news_data.dbf' is the location where the data files are stored.
'The news_data.dbf' file name is also arbitrary.
'size 500m' specifies the size of the data file, that is, the size of the tablespace. .
Now that you have built a tablespace called 'news_tablespace', you can create users.
Format:
Create user username identified by password default tablespace table space table
Such as:
SQL > create user news identified by news default tablespace news_tablespace
The default tablespace 'default tablespace' uses the tablespace created above.
Then authorize the newly created user:
SQL > grant connect,resource to news;-means to grant connect,resource permissions to news users SQL > grant dba to news;-means to grant dba permissions to news users. Thank you for your reading! About oracle create table space statement how to share here, I hope the above content can be of some help to you, so that you can learn more knowledge. If you think the article is good, you can share it and let more people see it.
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.