If you haven't mentioned on commit preserve / Delete, the default behavior of system is to delete all the rows of GTT. So, once commit is complete, rows are deleted. Again, Insert command will copy all the rows from EMP which is 14
C is correct. Tested as well
The interesting thing on this one: It appears as though 'create global temporary table table_name1 as select * from table_name2' creates an empty table even when table_name2 contains rows.
I tested your script select count(*) from t_pro give 0 row
upvoted 1 times
...
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
ArslanAltaf
1 week, 3 days agoMcromeo
6 months, 2 weeks agojm9999
8 months, 3 weeks agojm9999
8 months, 3 weeks agolucemqy
7 months agoWingL
11 months agolucemqy
7 months agoMcromeo
6 months, 2 weeks ago