Why is Oracle database tables getting deleted when i close the run sql command line prompt? [closed] - sql

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
All the tables data is getting deleted when shutting down the run sql and command line. Also there is only one user.

i think, that you are missing commit; Check out Oracle documentation: https://docs.oracle.com/database/121/CNCPT/transact.htm#CNCPT037

Related

The database is red-lined. How to fix the error? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 16 days ago.
This post was edited and submitted for review 13 days ago and failed to reopen the post:
Original close reason(s) were not resolved
Improve this question
From the page Move a table from one database to another database SQL Server, I got the way to copy a table from the database, TIMS, to another database, PUBS, as follows.
select * into pubs.course from tims.[dbo].[course]
However, pubs was red-lined with an error message
The specified schema name "pubs" either does not exist or you do not have permission to use it.
I have got the problem fixed. Thus no need to update my qestion.

Why aliasing not work in this query in Oracle Database? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 months ago.
Improve this question
enter image description here
In the above query why aliasing does not work properly and it gives error?
enter image description here
When i remove the as keyword it works fine but why?
The AS is only recommended for columns. To give an alias to a table you never use AS.

Which technlogy sqlnavigator uses for excecute commands? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
I'm tryng to excecute an sql script through sqlplus, but the result it's different from excecuting it through SqlNavigator, how can I run this script as it's launched from SqlNavigator? I need this for a Custom Action inside an installer.
I get a lot of SP2-0734 executing under sqlplus.
Code is here https://pastebin.com/MgYd2bE0
Found soulution.
SqlPlus assumes the blank line means a new statement starts here.
I removed all the blank lines form the script and all just go fine.

Comparing Two SP's Performance SQL Server [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
there is any simple way to know which one of two SQL Store procedure works better?
Click the Include Actual Execution Plan before running both sp (on the same run) and check the percentages

I am looking for a SQL script to sync a table from db A to db B [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am still learn SQL and I need to have table A sync'd to table B in a different DB. Does anyone have a script to do that or point me in the right direction.
Thanks
INSERT INTO current_DB.A
(SELECT * FROM another_DB.B)