Command SQL PLUS to display the size of the data file
How can I know my tables disk space after insertion of dataThank you
Hello
Did you do the space occupied by the tables in the database.
If Yes
select sum(bytes)/1024/1024, segment_name from dba_segments group by segment_name
or
select sum(bytes)/1024/1024 from dba_segments where segment_name = 'Table_name'
Or have you served the space occupied by the data files
select bytes/1024/1024, file_name from dba_data_files;
Concerning
Anurag
Tags: Database
Similar Questions
-
Search a directory of data and display the data that is within the range of dates
Hello
I have a full idrectory of data from overtime, and I think of search in the directory and display the data files for specific dates. I only started this encoding yet but I figure I'll take the brain of some SMEs here labview and start in the right direction. My goal is to go through a comprehensive directory of data taken for a month or MORE csv files and select the data to process and display office files the date of its registration. If I take the data of last week, last month or last minute, it should just treat as an exact or more.
Please help me get started on the right foot
End date will be probably greater than the start date, right? So, end date must connect at the entrance to the upper limit. Then wire in the range? to the conditional terminal of a tunnel of conditional indexation.
Lynn
-
SQL query to display the sum of the values of each June and December
Hello having problems of construction of a query to the list SQL query to display the sum of the values of each June and December each year.
My Table;
TABLE name: MONTH_TERM
Fields with values:
TERM_KEY MONTH_ACTUAL MONTH_DATE 82 500 01/11/2015 0:00 82 450 01/12/2015 0:00 82 405 01/01/2016 0:00 82 400 01/02/2016 0:00 82 450 01/03/2016 0:00 82 425 01/04/2016 0:00 82 435 01/05/2016 0:00 82 410 06/01/2016 0:00 82 409 01/07/2016 0:00 82 415 01/08/2016 0:00 82 420 09/01/2016 0:00 82 422 10/01/2016 0:00 82 436 11/01/2016 0:00 82 556 01/12/2016 0:00 82 568 01/01/2017 0:00 82 624 02/01/2017 0:00 What I would like to see in a query result:
TERM_KEY MONTH_ACTUAL MONTH_DATE Total of 6 months 82 500 01/11/2015 0:00 82 450 01/12/2015 0:00 950 82 405 01/01/2016 0:00 82 400 01/02/2016 0:00 82 450 01/03/2016 0:00 82 425 01/04/2016 0:00 82 435 01/05/2016 0:00 82 410 06/01/2016 0:00 2525 82 409 01/07/2016 0:00 82 415 01/08/2016 0:00 82 420 09/01/2016 0:00 82 422 10/01/2016 0:00 82 436 11/01/2016 0:00 82 556 01/12/2016 0:00 2658 82 568 01/01/2017 0:00 82 624 02/01/2017 0:00 ---
Here's my query:
Select
"TERM_KEY,"
"MONTH_ACTUAL,"
to_char(MONTH_DATE,'MM/YYYY') MONTH_DATE,
DEAL to_char (MONTH_DATE, 'MM')
WHEN '06' THEN (SELECT SUM (MONTH_ACTUAL)
OF MONTH_TERM
WHERE the to_char (MONTH_DATE, 'MM') between 1 and 6
AND term_key = 82)
WHEN '12' THEN (SELECT SUM (MONTH_ACTUAL)
OF MONTH_TERM
WHERE the to_char (MONTH_DATE, 'MM') between 7 and 12
AND term_key = 82)
ELSE null
END as SIX_MO_CUMM,
of MONTH_TERM
where term_key = 82
It's my results:
TERM_KEY MONTH_ACTUAL MONTH_DATE Total of 6 months 82 500 01/11/15 0:00 82 450 01/12/15 0:00 3608 82 405 01/01/16 0:00 82 400 01/02/16 0:00 82 450 01/03/16 0:00 82 425 01/04/16 0:00 82 435 01/05/16 0:00 82 410 01/06/16 0:00 3717 82 409 01/07/16 0:00 82 415 01/08/16 0:00 82 420 01/09/16 0:00 82 422 10/01/16 0:00 82 436 01/11/16 0:00 82 556 01/12/16 0:00 3608 82 568 01/01/17 0:00 82 624 01/02/17 0:00 Any ideas on how to fix would be great
Select term_key,
month_actual,
month_date,
case mod (to_char (month_date, 'mm'), 6)
When 0 then sum (month_actual)
During)
term_key partition
order of month_date
between the previous month '5' interval and the current line
)
end '6 MONTHS in TOTAL'
from tbl
order of term_key,
month_date
/
TERM_KEY MONTH_ACTUAL MONTH_DAT 6 MONTHS TOTAL
---------- ------------ --------- --------------
82 500 NOVEMBER 1ST, 15TH
82 450 1 DECEMBER 15 950
82 405 1 JANUARY 16
82 400 1 FEBRUARY 16
82 450 1ST MARCH 16
82 425 1ST APRIL 16
82 435 1 MAY 16
82 410 2525 1 JUNE 16
82 409 1 JULY 16
82 415 1ST AUGUST 16
82 420 16 - SEP - 01TERM_KEY MONTH_ACTUAL MONTH_DAT 6 MONTHS TOTAL
---------- ------------ --------- --------------
82 422 1 OCTOBER 16
82-436 NOVEMBER 1, 16
82 556 2658 1 DECEMBER 16
82 568 1 JANUARY 17
82 624 1 FEBRUARY 1716 selected lines.
SQL >
SY.
-
SQL: how to display the second string of the function in the Jobs table only if the function has more than one string.
Hello
You can use REGEXP_SUBSTR Oracle/PLSQL: REGEXP_SUBSTR function
Select the function double REGEXP_SUBSTR('PUBLIC RELATION REPRESENTATIVE ','[^]+',1,2);
Do you have any value of the column as no 2nd string?
-
How can I print my photos displaying the date and time stamp
I have pictures in a legal context but do not understand how to print them displaying the date and time stamp. The timbre of the date and time are necessary for me to present my case exactly. Can someone tell me how to print with these marks.
Thank you
The following instructions will prepare photos
with the EXIF Date/time stamp then you can print
them.FastStone Image Viewer freeware can add
EXIF Date/time in the face of your photos in a batch.(FWIW... it's always a good idea to create a system)
Restore point before installing software or updates)FastStone Image Viewer
http://www.FastStone.org/FSViewerDetail.htm
(Windows XP / Vista / 7)I suggest that you create a new folder and add
copies of your photos for experimental purposes.
If you are unhappy with the result your originals
will be intact.After FastStone is downloaded and installed...
Open the program and go...Tools / open the Batch Conversion / tab Batch convert...
Check the box... Use of advanced options...
Advanced Options button / tab text.
Check the box... Add text...(You will need to experiment with the position and the police
size and color to get the desired result.)
(the text size will need to be adjusted according to the)
the size of the photos)Open the window drop... "Insert a Variable."
choose... EXIF Date Time / Date and time...
(in the white field you should see ($H1)
Left click... OkOn the Batch tab convert... in the left field...
Left click the square button "select the Source folder.
Find and select the photos you want to
Add.Left, click on the Add button to move the files to
the right field.Choose an output Format...
Choose an output folder...
Click on the button convert...
It's much easier to do than to explain then
give it a try before say you "Good Grief... it's too
a lot of work. -
How to display the hidden files and folders even if I've already enabled "Show hidden files, folders and drives" to "Advanced settings"?
After I enabled "Show hidden files, folders and drives" in 'Advanced settings', I can't yet see in the folder but I know there is a file in this program of WinRAR folder form as pictured below where I opened the case both at the same time.
Hope you can help in this case...
It would be possible that the file is marked as a system folder (which is just a check box in properties such as the hidden check box). So in your folder options, uncheck the "Hide protected operating system files" and see if it will be visible.
Or another thing to try: remonter back a level, hold down SHIFT while you right-click the complete file and choose "Open command window here", then type DIR to see if the file is listed.
-
display the data in row columns
I looked through the previous posts, but it is impossible to find a solution to my problem.
I want to display the data in row columns.
I have shown in the table below and test data and the sql code that gives me the result desired.
However, you can see that the sql depends of me knowing all the values in the column "rank".
I want a way to produce the output without knowing the values of rank.
CREATE TABLE test1 ( accno NUMBER, holder_type VARCHAR2(10), rank NUMBER) INSERT INTO test1 VALUES (1, 'acr', 0); INSERT INTO test1 VALUES (1, 'bws', 1); INSERT INTO test1 VALUES (1, 'aaa', 2); INSERT INTO test1 VALUES (2, 'cds', 0); INSERT INTO test1 VALUES (2, 'xxx', 1); INSERT INTO test1 VALUES (3, 'fgc', 0); INSERT INTO test1 VALUES (4, 'hgv', 0); INSERT INTO test1 VALUES (4, 'bws', 1); INSERT INTO test1 VALUES (4, 'qas', 2); INSERT INTO test1 VALUES (4, 'aws', 3); Here's the required output:= ACCNO ALLCODES 1 acr bws aaa 2 cds xxx 3 fgc 4 hgv bws qas aws I.E. for each accno display the holder_types in rank sequence. SELECT * FROM (SELECT a0.accno, a0.holder_type || DECODE(a1.holder_type, NULL, NULL, ' ') || a1.holder_type || DECODE(a2.holder_type, NULL, NULL, ' ') || a2.holder_type || DECODE(a3.holder_type, NULL, NULL, ' ') || a3.holder_type || DECODE(a4.holder_type, NULL, NULL, ' ') || a4.holder_type allcodes FROM (SELECT accno, holder_type, rank FROM test1 WHERE rank = 0) a0, (SELECT accno, holder_type, rank FROM test1 WHERE rank = 1) a1, (SELECT accno, holder_type, rank FROM test1 WHERE rank = 2) a2, (SELECT accno, holder_type, rank FROM test1 WHERE rank = 3) a3, (SELECT accno, holder_type, rank FROM test1 WHERE rank = 4) a4 WHERE a0.accno = a1.accno(+) AND a0.accno = a2.accno(+) AND a0.accno = a3.accno(+) AND a0.accno = a4.accno(+)) a ORDER BY accno
So you're after what we call 'Aggregation in the chain.'
Check this link as it highlights several techniques:
Aggregation of string techniques
A Re: Concat ranks of the values in a single column Michael
At Re: multiple lines in a single line in the 'single column Table' followed by reason of Billy on the conduct of a stragg first.
In addition, 11 GR 2 has the LISTAGG function.
-
How display the date of my last update of OSX in my Mac?
How display the date of my last update of OSX in my Mac?
If it was in the last 30 days, the updates will often (not always) show the Mac App store on your page of updates, under the heading "updates installed in the last 30 days.
-
is it possible to display the Date and time in the address bar or a clock window constantly
I need to take screenshots with date stamps and time using the script of iMacros. Everything by taking screenshots iMacro don't add taskbar windows for the date and time. It takes screenshots of browser. Is it possible to display the Date and time in the address bar or a clock within the tab browser constantly to capture the screenshot with time stamp through iMacros
I added the big clock background Add-ons, but it is visible to new tabs.Badly looking for help and it will be really appreciated...
Try this extension:
-
A model of TV Sony KDL-32BX330 has somehow display the date or time? MENU button does not
A model of TV Sony KDL-32BX330 has somehow display the date or time? The button MENU has no option to select or adjust the time or date... maybe a new firmware?
Hello, manual,.
There is no option to display the time and date of the TV Sony KDL 32BX330.
We cannot comment on future firmware updates, nor can respond us if a product will not in the future it does not currently feature.
If my post answered your question, please mark it as an "accepted Solution".
-
Camileo S20 - How to display the date and time
Hi, all. I got as Christmas present the Camileo S20, and I am not able to view the date and time in the video. In the manual is no reference on this subject, only how to set the date and time. But what is the intention to set the date and time in the camera, if it is not possible to display video?
Hello
Have you checked the user manual of your TV cam?
If it of possible to display the data and the time you can find in your user manual how to do this. It always interesting to read ;) s
-
clock in the notifications box no longer displays the date beneith the time
Series HP Pavilion HPE h8 - 1360t running Win 7
When I ran Setup and decided that I needed to install the software, I notice that the date is now displayed in the tray under the era. I was happy that I is no longer my clock application to display the date.
Now that I've installed all the updates and my usual software, the clock in the notification area displays only the time. The date seems to have disappeared.
I don't know what I've done or installed to make it disappear. I can't find a way to recover.
Is there a software switch somewhere that turns on the display of the date of the clock?
Normally, the 'taskbar' are a height of 'one'... the time is displayed. If you unlocked the "taskbar" and stretch up to a height of 'two'... the time, day and date will be displayed. Thereafter, be sure to lock the taskbar to prevent change.
Please send Bravo
-
A drop-down list in Axapta 4.0 box takes longer to display the data.
Hi all
I have a drop-down list box in Axapta 4.0, which takes about 10 seconds to display the data. The area of cobo contain the minimum data to be displayed. However, it takes more time than necessary. How to fix... Help me!
Hello
1. what operating system do you use?
2 did you change on your computer?
I suggest you follow the link and check.
How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
http://support.Microsoft.com/kb/929135
Note: After a repair, be sure to set the computer to start as usual as mentioned in step 7 in the above article.
I also suggest that you send your request from the link and check.
-
Want to access a SOAP service and display the data in the external list
Hello
I could see a WCF Service via the type of external content successfully. Now I want to access a SOAP Service and display the data in an external list in Sharepoint 2010. I am able to create a data source with success with the SOAP service, but how to display the data in the external list as external list uses only as data sources for external content types.
Also with WCF as external content type, it is only on WCF services or any kind of web services can be added as an external content type.
Any help would be appreciated.
Thanks in advance
Hello sunny198218,
The question you have posted is related to Windows Communication Foundation Service and would be better suited in the MSDN forum for category Windows Communication Foundation. I've included a link to the forum where you can ask your question.
http://social.msdn.Microsoft.com/forums/en-us/WCF/threadsSincerely,
Marilyn
-
How to display the date in the taskbar on Windows XP?
What should I do to display the date next to the clock on my taskbar in windows XP?
Where can I get (read) the answer?, by e-mail?, trying to find this Forum?
What should I do to display the date next to the clock on my taskbar in windows XP?
Where can I get (read) the answer?, by e-mail?, trying to find this Forum?
Permanently display the Date in the area of Notification in Windows XP
http://www.XP-tips.com/display-date.htmlJust click on my Threads under your name and avatar and you can quickly find your messages.
Bruce Hagen
MS - MVP October 1, 2004 ~ September 30, 2010
Imperial Beach, CA
Maybe you are looking for
-
I can send emails, but I can't get everything and they do not get copied to my "sent" folder.I have two accounts (using the same installation of Thunderbird and the same IMAP server) and both have the same problem.Thunderbird is more sought my for my
-
Aurora has updated to version 25, and the findbar was borked...
After the Aurora version 25 update, I discovered a whole bunch of user interface changes that I absolutely hated it, as has been the case for most updates post-Firefox 3. I can live with most of them, but changes to the Findbar are just horrible. It
-
Search vi.lib/Utilities of building in a packed library
If I build a VI in a packed library, which contains some elements of the vi.lib/Utilities folder, the version produced the 'Search' dialog box For example a VI containing the 'check if file or folder Exists.vi' produces this symptom (see attached scr
-
Get the Blue error screen: "error of Page in the nonpaged area".
Original title: Page fault I get a blue screen Page fault in non paged area... just above what it lists win32k. I get this error when you create a new contact in Outlook or by using Firefox. I can use IE 8 without any problem. Do not know what is c
-
I restarted my computer and now it will not accept my password to connect.