when create a table,then show error ora-00952 tablespace tsb_1 not exist

QUESTION:When create a table,then show error ora-00952 tablespace tsb_1 not exist.

STEP:

1.select user table tablespace.

SELECT username,DEFAULT_TABLESPACE,temporary_tablespace FROM dba_users WHERE username=‘LJB‘;

2.select user owner tablespace.

SELECT * FROM User_Tablespaces;

3.alter user default tablespace.

ALTER USER ljb DEFAULT TABLESPACE USERS;

4.checking tablespace

SELECT username,DEFAULT_TABLESPACE,temporary_tablespace FROM dba_users WHERE username=‘LJB‘;

时间: 2024-10-10 19:38:09

when create a table,then show error ora-00952 tablespace tsb_1 not exist的相关文章

WARNING: Re-reading the partition table failed with error 16: Device or resource busy.

在 mkfs.ext4 /dev/sda2 格式化硬盘空间时,可能出现这样的错误. had this situation at office where I was told to re-partition an already existing partition. The situation was to get the below schema /dev/sdb1 1 3040 24418768+ 83 Linux /dev/sdb2 3041 6080 24418800 83 Linux

java virtual machine launcher Error:Could not create the Java Virtual Machine. Error:A Fatal exception has occurred,Program will exit.

Error:Could not create the Java Virtual Machine. Error:A Fatal exception has occurred,Program will exit. 出现以上错误信息提示,如下图所示: 然后点击确定弹出以下错误信息 解决办法: 1.判断机子是否安装了Java环境.具体方法网上搜吧,这里还是给小白一个传送门:(设置) 注意设置自己的环境变量:如JAVA_HOME,CLASSPATH,PATH 2.有些程序会有内存设置,有些程序内存设置过大

CREATE FILE encountered operating system error 5(Access is denied.)

这篇博文主要演示"CREATE FILE encountered operating system error 5(Access is denied.)"错误如出现的原因(当然只是导致这个错误出现的一种场景而已)和如何解决这个问题以及一些不解的迷惑. 实验环境: 操作系统版本: Windows Server 2012 SP2 数据库的版本:Microsoft SQL Server 2014 - 12.0.2000.8 如下所示,SQL Server Database Services

Kafka中错误:Unrecognized VM option ‘UseCompressedOops’ Error: Clould not create the Java Vritual Machine. Error: A fatal exception has occurres . Program will exit.

错误的描述: 在kafka安装目录下,执行 $ bin/zookeeper-server-start.sh config/zookeeper.properties & Unrecognized VM option ‘UseCompressedOops’ Error: Clould not create the Java Vritual Machine. Error: A fatal exception has occurres . Program will exit. 解决方法: 找到bin/k

ORACLE 11g ORA-20000: Unable to analyze TABLE "AA"."CMP3$87651", insufficient privileges or does not exist

Sat Sep 21 06:00:00 2019Begin automatic SQL Tuning Advisor run for special tuning task "SYS_AUTO_SQL_TUNING_TASK"End automatic SQL Tuning Advisor run for special tuning task "SYS_AUTO_SQL_TUNING_TASK"Sat Sep 21 22:01:51 2019DBMS_STATS:

Create User-Defined Table Type

使用 Create type 创建自定义的Table Type ,Syntax 如下,和Create Table的 语法十分相似. CREATE TYPE [ schema_name. ] type_name { FROM base_type [ ( precision [ , scale ] ) ] [ NULL | NOT NULL ] | AS TABLE ( { <column_definition> | <computed_column_definition> } [ &

CMD Create Database &amp; Table

Just do it: /* SQL 创建库 CREATE DATABASE jsp_demo DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; SQL 创建表 CREATE TABLE `news` ( `iId` SMALLINT(6) NOT NULL AUTO_INCREMENT, `iCategory` TINYINT(4) NOT NULL, `sTitle` VARCHAR(100) NOT NULL, `sDesc` VARC

Java出错 Error:Could not create the Java Virtual Machine Error:A fatal exception has occurred

提示如下: scala compile server. error:could not create the java machine.Error: A fatal exception has occurred. program will exit. 这个原因是因为在安装JDK的时候在C:\Windows\System32生成的java.exe.javaw.exe.javaws.exe这个3个引起的:只要把这3个运行文件删除掉就可以了

DB2 create partitioned table

在Z上和开放平台上的创建方法还不太一样,两套人马开发出来的就是牛! 蛋疼…… 贴不同类型的几个例子感受一下,Z上的ASC,DESC不见了: CREATE TABLE foo(a INT) PARTITION BY RANGE (a) (STARTING FROM (1) ENDING AT (100) EVERY (20)) CREATE TABLE lineitem ( l_orderkey DECIMAL(10,0) NOT NULL, l_quantity DECIMAL(12,2), l