ORA-01950: no privileges on tablespace 'USERS' even when tables moved to different tablespaece











up vote
0
down vote

favorite












I created some tables using DBO_USER which had default tablespace as USERS. I moved these tables to another tablespace which is DBO_TS. I have another user APP_USER which tries to insert into these tables created by DBO_USER and APP_USER has unlimited grants and quotas on DBO_TS tablespace. APP_USER gets the error message ORA-01950: no privileges on tablespace 'USERS'. I can't alter the user as mentioned in




ORA-01950: no privileges on tablespace 'USERS'.




I want to know the following:




  1. Why error still refers back to USERS tablespace?


  2. How can I enable APP_USER to insert into tables created by DB_USER
    without altering the user and default tablespace of the user?



Thanks.










share|improve this question
























  • Does APP_USER do the INSERT directly or via a stored procedure? If the latter, who owns the stored procedure?
    – TenG
    Nov 17 at 11:52










  • It inserts Directly
    – Rakesh
    Nov 17 at 11:52










  • Was APP_USER able to insert prior to the move?
    – TenG
    Nov 17 at 11:54










  • No which is the reason why I moved the tables to DBO_TS
    – Rakesh
    Nov 17 at 12:43










  • Are there any indexes/LOBS on the table that are still in the USERS tablespace?
    – TenG
    Nov 17 at 14:42















up vote
0
down vote

favorite












I created some tables using DBO_USER which had default tablespace as USERS. I moved these tables to another tablespace which is DBO_TS. I have another user APP_USER which tries to insert into these tables created by DBO_USER and APP_USER has unlimited grants and quotas on DBO_TS tablespace. APP_USER gets the error message ORA-01950: no privileges on tablespace 'USERS'. I can't alter the user as mentioned in




ORA-01950: no privileges on tablespace 'USERS'.




I want to know the following:




  1. Why error still refers back to USERS tablespace?


  2. How can I enable APP_USER to insert into tables created by DB_USER
    without altering the user and default tablespace of the user?



Thanks.










share|improve this question
























  • Does APP_USER do the INSERT directly or via a stored procedure? If the latter, who owns the stored procedure?
    – TenG
    Nov 17 at 11:52










  • It inserts Directly
    – Rakesh
    Nov 17 at 11:52










  • Was APP_USER able to insert prior to the move?
    – TenG
    Nov 17 at 11:54










  • No which is the reason why I moved the tables to DBO_TS
    – Rakesh
    Nov 17 at 12:43










  • Are there any indexes/LOBS on the table that are still in the USERS tablespace?
    – TenG
    Nov 17 at 14:42













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I created some tables using DBO_USER which had default tablespace as USERS. I moved these tables to another tablespace which is DBO_TS. I have another user APP_USER which tries to insert into these tables created by DBO_USER and APP_USER has unlimited grants and quotas on DBO_TS tablespace. APP_USER gets the error message ORA-01950: no privileges on tablespace 'USERS'. I can't alter the user as mentioned in




ORA-01950: no privileges on tablespace 'USERS'.




I want to know the following:




  1. Why error still refers back to USERS tablespace?


  2. How can I enable APP_USER to insert into tables created by DB_USER
    without altering the user and default tablespace of the user?



Thanks.










share|improve this question















I created some tables using DBO_USER which had default tablespace as USERS. I moved these tables to another tablespace which is DBO_TS. I have another user APP_USER which tries to insert into these tables created by DBO_USER and APP_USER has unlimited grants and quotas on DBO_TS tablespace. APP_USER gets the error message ORA-01950: no privileges on tablespace 'USERS'. I can't alter the user as mentioned in




ORA-01950: no privileges on tablespace 'USERS'.




I want to know the following:




  1. Why error still refers back to USERS tablespace?


  2. How can I enable APP_USER to insert into tables created by DB_USER
    without altering the user and default tablespace of the user?



Thanks.







oracle ddl






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 17 at 10:47

























asked Nov 17 at 10:42









Rakesh

604515




604515












  • Does APP_USER do the INSERT directly or via a stored procedure? If the latter, who owns the stored procedure?
    – TenG
    Nov 17 at 11:52










  • It inserts Directly
    – Rakesh
    Nov 17 at 11:52










  • Was APP_USER able to insert prior to the move?
    – TenG
    Nov 17 at 11:54










  • No which is the reason why I moved the tables to DBO_TS
    – Rakesh
    Nov 17 at 12:43










  • Are there any indexes/LOBS on the table that are still in the USERS tablespace?
    – TenG
    Nov 17 at 14:42


















  • Does APP_USER do the INSERT directly or via a stored procedure? If the latter, who owns the stored procedure?
    – TenG
    Nov 17 at 11:52










  • It inserts Directly
    – Rakesh
    Nov 17 at 11:52










  • Was APP_USER able to insert prior to the move?
    – TenG
    Nov 17 at 11:54










  • No which is the reason why I moved the tables to DBO_TS
    – Rakesh
    Nov 17 at 12:43










  • Are there any indexes/LOBS on the table that are still in the USERS tablespace?
    – TenG
    Nov 17 at 14:42
















Does APP_USER do the INSERT directly or via a stored procedure? If the latter, who owns the stored procedure?
– TenG
Nov 17 at 11:52




Does APP_USER do the INSERT directly or via a stored procedure? If the latter, who owns the stored procedure?
– TenG
Nov 17 at 11:52












It inserts Directly
– Rakesh
Nov 17 at 11:52




It inserts Directly
– Rakesh
Nov 17 at 11:52












Was APP_USER able to insert prior to the move?
– TenG
Nov 17 at 11:54




Was APP_USER able to insert prior to the move?
– TenG
Nov 17 at 11:54












No which is the reason why I moved the tables to DBO_TS
– Rakesh
Nov 17 at 12:43




No which is the reason why I moved the tables to DBO_TS
– Rakesh
Nov 17 at 12:43












Are there any indexes/LOBS on the table that are still in the USERS tablespace?
– TenG
Nov 17 at 14:42




Are there any indexes/LOBS on the table that are still in the USERS tablespace?
– TenG
Nov 17 at 14:42

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53350437%2fora-01950-no-privileges-on-tablespace-users-even-when-tables-moved-to-differe%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53350437%2fora-01950-no-privileges-on-tablespace-users-even-when-tables-moved-to-differe%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

"Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

Alcedinidae

RAC Tourist Trophy