From and to view columns
Hi Master,I wrote a query to display (from line to line). Like this
Select rownum,ename,sal from emp where rowid in
(select rowid from emp where rownum<&upto
minus
select rowid from emp where rownum<=&start);
But now I got a new requirement. I have a table with 50 columns. I wanted to show column 10 to 25 data in the column.I don't want to see data in column 1 to 9 and 26 to 50. Y at - it a solutiion as top query.
Plese advise...!
Concerning
SA
I don't have any Oracle 11 g on hand to test the solution I provided above.
Here is a consistent version of 10g of it: just replace the Select statement with the below and go look for it in the V_SQL variable.
create table test_table
(
col1 number,
col2 number,
col3 number,
col4 number,
col5 number,
col6 number,
col7 number,
col8 number
);
select 'select ' ||
ltrim(max(sys_connect_by_path(column_name, ', ')) keep( dense_rank last order by rn - 1), ', ') ||
' from test_table' sel
from (
select table_name, column_name,
row_number() over (order by column_id) rn
from user_tab_columns
where table_name = 'TEST_TABLE' --- give ur tablenamme
and column_id between 2 and 6
)
group by table_name
connect by rn - 1 = prior rn
and table_name = prior table_name
start with rn = 1;
SEL
--------------------------------------------------------------------------
select COL2, COL3, COL4, COL5, COL6 from test_table
Tags: Database
Similar Questions
-
How can I remove the Windows, "Windows Picture and Fax Viewer" program from my computer
I use another software Photo and picture Windows and Fax Viewer interferes with my work with the other program. Therefore, I would like to remove the Windows, "Windows picture and Fax Viewer" program from my computer.
Info for WIndows XP - Windows Picture and Fax Viewer
------------------------------------------------------------------------
OK... but be careful... you'll lose thumbnails of photos in Windows Explorer...
your 'My pictures' folder... for example... does not display photos.And... FWIW... WP & F Viewer is not a program... it's just a .dll file. Disabling
the .dll file is basically identical to uninstall. (in this way... If you do not
as the result... you can reactivate).But if "gone forever", that's what you prefer... just delete the shimgvw.dll file.
Attention last... your thumbnails in the Explorer will be gone.
How... Disable WP & F Viewer
Click Start / run and enter the following command:
Type or copy/paste...
regsvr32 /u shimgvw.dll
(Yes, the space after the 2 and you is necessary)Press on... Come in...
(You should see a dialog box indicating:)
DllUnregisterServer in successful shimgvw.dll)How... Reactivate the WP & F Viewer
Click Start / run and enter the following command:
Type or copy/paste...
regsvr32 /i shimgvw.dll
(Yes, the space after the 2 and space after that the i is necessary)Press on... Come in...
You should see a dialog box stating:
DllRegisterServer and DllInstall in successful shimgvw.dllTo remove shimgvw.dll go to the following folder and do a right click Delete shimgvw.dll.
C:\WINDOWS\system32\shimgvw.dll
If you can't find the path, you must go to...
Button start / Control Panel / folder Options.
See tab /... to check "Show hidden files and folders"... -
How can Windows Picture and Fax Viewer - I specify the editing program?
I set things up so that Windows Picture and Fax Viewer is the default program when I opened a variety of types of image files, which allowed me to get a quick overview without waiting for a program to load full image editing. What I need to be able to do is to specify which program is then launched by WP & FV when I click on the bottom right of the screen edit button - one with text that says "closes this program and opens the image in edit (Ctrl + E).
If I click with the right mouse button and select 'Open with' and then I can select in the usual list of possible programs, but what I want is to set a default value for each file type so that a left click of the button automatically opens the appropriate program. I tried the "program to choose...". "and"Always use the selected program to open this type of file"route after a right-click on the button, but what is happening is that the selected program then becomes the global default and circumvents WP & FV altogether.
Any ideas?
I set things up so that Windows Picture and Fax Viewer is the default program when I opened a variety of types of image files, which allowed me to get a quick overview without waiting for a program to load full image editing. What I need to be able to do is to specify which program is then launched by WP & FV when I click on the bottom right of the screen edit button - one with text that says "closes this program and opens the image in edit (Ctrl + E).
If I click with the right mouse button and select 'Open with' and then I can select in the usual list of possible programs, but what I want is to set a default value for each file type so that a left click of the button automatically opens the appropriate program. I tried the "program to choose...". "and"Always use the selected program to open this type of file"route after a right-click on the button, but what is happening is that the selected program then becomes the global default and circumvents WP & FV altogether.
Any ideas?
====================================
See the following article:Change the default image editor
application, called from Windows
Picture and Fax Viewer
http://WindowsXP.MVPs.org/imgeditor.htm
(download the free utility - Imgeditor.zip)More information:
How to open your choice of image editors when
by clicking on the button Edit in the Windows image
and Fax Viewer screen.Proceed with caution and at your own risk *.
(FWIW... it's always a good idea to create a system)
Restore point before editing the registry)OK... go to... Start / run and type... "' regedit ' without
the quotes. Then click on... OK... or press... Come in.In the registry... Editor drill down to:
HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\edit\command
In the data column, you should see:
"% systemroot%\system32\mspaint.exe" "%1".
(where you see * mspaint * in the example... you'll be)
See your current default)Replace the key with the path to the program that will be
being your default image editor. I tried to Picture It! 7 sort
Here's what I changed to."C:\Program Files\Microsoft Picture It! 7\pip.exe"'%1 '.
Now, my images still open in the picture and Fax Viewer
But if I left, click on the button Edit... Picture It! 7 opens.To replace the string...
'Default' to select, left click.
Reach... Edit / change...
In the "Edit String" field...
Copy / paste the path to your program choice:
"C:\Program Files\? \???. "exe" '%1'
Left click... Ok.
Now, your images will always open in the picture and Fax
Viewer, but if you left click on Edit button... your image
editing program opens...Good luck.
Volunteer - MS - MVP - Digital Media Experience J - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.
-
Add FK between a table and a view?
Is this possible in 4.1 to add a FK between a table and a view (off of course)?
If I'm in a view, it seems that I can define a FK to another view or a table, but if I start with a table, some views appear in the list. The view already has a defined PK.
Is it normal?
Use case: I have a table of generic code, so I'm set up views on the code for each type of code table. Then, I want at least diagram CF from specific code view of the code typed column on a table for the sub.
Hello Kent,
Is this possible in 4.1 to add a FK between a table and a view (off of course)?
Yes. You can do this by clicking on the icon of the new foreign key above the diagram, then by selecting the view first, then the table.
I connected an enhancement request to allow a foreign key to a view to be added using the table properties dialog box.
Thanks for pointing it.
David
-
How do I know how much the number of materialized view columns
How do I know how much the number of materialized view columns
Thank you
Gopal
Best to include the owner too if you use all_tab_columns
Select count (*)
from all_tab_columns
where owner = "
." and table_name = "
." -
apex_workspace_activity_log view column ip_address
Hello
When I ask apex_workspace_activity_log, why there are a few lines with two ip addresses separated by commas?
Here's the example query I ran on apex.oracle.com
Also why ip address and user agent column is not populated for all the lines in the view of apex_workspace_activity_log?select ip_address from apex_workspace_activity_log where ip_address LIKE '%,%' ;
Kind regards
Jari
-----
My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
Twitter: http://www.twitter.com/jariolaiHi Jari
When I ask apex_workspace_activity_log, why there are a few lines with two ip addresses separated by commas?
I have not all entries like this on my local implemented using SST. On apex.oracle.com that the first address is coming from everywhere (including my ISP and search bots), then it seems to be the true origin of the request. The second address is always either 141.146.114.41 or 141.146.114.42, which resolves to acsmv0121.oracle.com and acsmv0131.oracle.com respectively. Run () owa_util.print_cgi_env on apex.oracle.com says:
X-Forwarded-For = 82.46.239.216 // cpc9-sgyl29-2-0-cust215.sgyl.cable.virginmedia.com (my ISP) REMOTE_ADDR = 141.146.114.41 // acsmv0121.oracle.com
This indicates to me that the APEX to connect both of these addresses when they differ, or it is a result of the use of an architecture of web server in particular (i.e. not SST on the DB server).
Also why ip address and user agent column is not populated for all the lines in the view of apex_workspace_activity_log?
I read somewhere that it's for performance reasons because they will be the same for all entries for a session. If you look at the log, they are recorded for the first two entries in the session (usually deep link request and forwarding connection involved).
-
How to make "Windows Picture and Fax Viewer" the default viewer?
"Picasa" to look at someones photos on the web, and now when dbl click on image, Picasa comes back as the image viewer.
Is possible, with a permanent framework for XP, do "Windows Picture and Fax Viewer" the default viewer? Thanks again for your help. akmbd166 (XPpro, SP-2, 7 - IE, Office2003)"Picasa" to look at someones photos on the web, and now when dbl click on image, Picasa comes back as the image viewer.
Is possible, with a permanent framework for XP, do "Windows Picture and Fax Viewer" the default viewer? Thanks again for your help. akmbd166 (XPpro, SP-2, 7 - IE, Office2003)=================================
The display of images by default XP's Windows Picture and
Fax Viewer... so all you have to do is to reset the default values:See the following link:
Utility to repair image file associations
http://WindowsXP.MVPs.org/imgassofix.htmmore information:
(307859) how to change or select which program
starts when you double-click a file in Windows XP
http://support.Microsoft.com/?kbid=307859Try this... open a folder of images and right-click
your file image... from the menu, select... Open
With / choose program.Make your choice from the list, or click Browse for the
correct program if it is not in the list.If you want the default value... to choose... "Windows".
Picture and Fax viewer '.Once you make your choice... don't forget to check
the box that says: "always use the selected program."
to open this type of file. (you will need to do
for each format, jpg, .tif, .gif... etc.)Also... you can click with the right button on an image and choose
Properties / change button... Choose the program
you want to use, and then click on... OK / apply / OK.Also, in Windows XP, you can go to... My computer.
Tools / Folder Options / File Types tab...Volunteer - MS - MVP - Digital Media Experience J - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.
-
Windows Picture and Fax Viewer is missing on my computer
I am trying to download pictures from my digital camera and it goes to a CD box, (as I want to put it on a cd) not normal one who rises to put images in a file. I searched 'Windows Picture and Fax Viewer' and can't find it on my computer anywhere. I don't know where he was going. Please help me get it back. I did a restore of the system when he was there, and again, it is not there.
I am trying to download pictures from my digital camera and it goes to a CD box, (as I want to put it on a cd) not normal one who rises to put images in a file. I searched 'Windows Picture and Fax Viewer' and can't find it on my computer anywhere. I don't know where he was going. Please help me get it back. I did a restore of the system when he was there, and again, it is not there.
=====================================
Just to check... you must run Win XP (not Vista)
have WP & FV...The following command should force a reinstall of the WP & FV...
Reach... Start / run and type
(or copy and paste):regsvr32 /i shimgvw.dll
(Yes, the space after the 2 and the)
After the i is necessary)Press on... Come in...
You should see a dialog box stating:
DllRegisterServer and DllInstall in successful shimgvw.dllJohn Inzer - MS - MVP - digital media experience
-
Hello. I use Windows XP service pack 3
When I reformatted the computer earlier (before I updated my service packs and all), I could go in my windows Explorer, I could see all my photos by file name, updated and the date of creation (both increasing and decreasing) with windows fax and picture viewer.
Now (after installing the latest service packs), when I find my pictures with Windows Explorer, I can sort the photos by what I mentioned above, but windows fax and picture viewer will only see in photos by file name (ascending or descending order), it will not display the photos in order by size, date of creation or update. Even if the order has changed viewably on explore, I can't see the pictures created or modified or size of the order (order asc & desc).
I clicked on the update column, with the arrow going down on the selected column, and also once again, if the arrow is pointing upward. Then I went to double click on the first picture in the amended order, and after I saw the first picture, I clicked on WP & F viewer (or use the arrow keys on my keyboard) the arrow to view the next photo in the changed order and the next picture that appears is in order of file name!
Now, I want to be able to switch between the use of all columns or sorting:
~ file name (order asc & desc)
as well as
~ modification/creation date (also in order asc & desc)
or
Size (order asc & desc)
is there a way to fix this without having to download new programs to view my photos? Or having to rename one of the file names?
I don't think that it has nothing to do with the dates of my photos. They have all of the appropriate dates stamped on. And rename one of them to a single specific command won't help.
I really enjoy using windows greatly fax and photo viewer. I don't want to replace it. I just want to see my photos in order, I want to see them with windows fax and picture viewer. And I would be very happy to help on fixing this problem.
I thank you for your time, and hope you're answers coming soon.
I restored my computer twice, and I don't know when it started to happen to me, but today I started thinking, ' it did not use to jump around like that. " I am looking for an answer now.
Edit: Hey, I think I've found a fix for this problem!
First of all, I tried this http://www.windowskb.com/Uwe/Forum.aspx/windowsxp/162211/Picture-and-Fax-Viewer-displays-images-out-of-ordersite, but the solution did not work for me. Then I found this site http://www.compu-help.us/157.htm, and the first suggestion seems to have solved the problem. My images now show in the order. (Summary: a patch for the computer messed up Windows and Fax Viewer.) To correct, click Start and then run. In the run box, type: regsvr32 shimgvw.dll)
-
Windows Picture and Fax Viewer File Extensions
A few moments ago, I finished a session of 3 hours with Techs two, MS on a problem where MSN BING replaced my Google home page and nothing less than a miracle would help. In addition, I just started to get a Google page that asked me to prove that I was a human and a robot entering symbols into a box of CAPTCHCA. Technicians found that my office had acquired a serious virus, unknown name, and finally a level 2 Tech was able to restore Google as my home page. Hooray!
There are some bonus winnings, but now I have a problem I ask your help to deal with the Windows Picture and Fax Viewer.
Until the technicians tried to solve the problem of Google, I was able to put the captions of the photos that I downloaded via a memory card. Then I got the card in the reader and before and after moving them to the folders on my dekstop I could type captions under the photos to replace what was there as IMG_0019.JPG. After I typed everything which, in this case BOLA SETE RED VINYL, I now get a popup that says:
[Rename
If you change a filename extension, the filw may become unusable. Are you sure you want to change it? Yes No]
Feeling cocky and sure that nothing will change in fact I clicked Yes and the photo has disappeared replaced by an icon that I describe. A lost photo.
After moving safely from the photos in different folders, I tried again to see if I could add a caption but I kept getting the dreaded above popup. Then I did the photos via Picasa 3 and when I put pictures in the appropriate folders, I found that I could, and safely, add a caption.
Can someone help me with this situation? I want my old Picture and Fax Viewer because I don't always treat my photos with Picasa and I want to place them in appropriate folders, with good captions under the photos. Can I pick up my old Picture and Fax Viewer or I'm screwed?
Looks like you need to change the following setting.
Open any folder and go... Tools / Folder Options / View tab on...
Clear (clear) the box "Hide extensions of known file types" / apply / OK.Now... When you rename a photo... be absolutely sure that you do not delete the file
extension... JPG for example.For photos that seem to corrupt now... If you rename them again and Add .jpg
extension, they should return to normal. -
Windows Picture and Fax Viewer corrupt file but signals the file is not.
I have many discs of 1.44 MB with pictures. When I tried to open that I received a message that QuickTime has not been installed correctly. I uninstalled and reinstalled Quick Time by following the instructions. Then I got a message from this Windows image and Fax Viewer was missing, which I corrected and image, now get a message that the files are corrupt. But if I use the program that is on the disk, the images appear fine. Any thoughts on what is happening?
Thanks for the comments.
-
How to set Windows Picture and Fax Viewer to open all my documents automatically
Turn off Windows Office photo?
How can I get Windows Picture and Fax Viewer to open and run automatically on all my documents, disable Windows Office Picture Manager?
You can change your file associations...
See the following information:Utility to repair image file associations
http://WindowsXP.MVPs.org/imgassofix.htmTry this... open a folder of images and right-click
your file image... from the menu, select... Open
With / choose program.Make your choice from the list, or click Browse for the
correct program if it is not in the list. If you want
the Windows XP default... choose "Windows".
Picture and Fax Viewer'.Once you make your choice... don't forget to check
the box that says: "always use the selected program."
to open this type of file. (you will need to do
for each format, jpg, .tif, .gif... etc.)Also... you can right click an image and the
menu... Choose... Properties / change button...
Choose the program you want to use, then click on...
OK / apply / OK.Also, in Windows XP, you can go to... My computer.
Tools / Folder Options / File Types tab... -
What is microsoft xps document writer and xps Viewer and how to use it?
What is microsoft xps document writer and xps Viewer and how to use it?
Original title: xps document writer and Viewer
Hi arunin,.
An XPS document is a file that is saved in the XML Paper Specification, or .xps, file format. You can create documents XPS (.xps files) by using any program that you can print from Windows; However, you can only view XPS documents by using an XPS Viewer, such as the one included in this version of Windows.
See: http://windows.microsoft.com/en-in/windows/what-is-xps-viewer#what-is-xps-viewer=windows-7
http://Windows.Microsoft.com/en-in/Windows-Vista/print-to-the-Microsoft-XPS-document-writer
-
Table with fixed header and the left column
I created a table in my application with the fixed left column (left most column is fixed and remaining columns are scrolling from left to right). is it possible to create a table with fixed position and fixed left column?
Suppose there are 50 rows and 10 columns in my paintings, and only 3 columns and 15 rows are visiable on the screen
(1) when the user scroll left to right left only most of the columns must be fixed. Remaining cap of the table and column scroll left to right and vice versa. also
(2) when user scroll high high bottems single topic most must be fixed and remaining all lines (with to the left most column) should be scrollable.
I am able to put in place a point at the top, but not both. Please suggest
"If I repopulate the value in the cell when user scrolling, shell, I get scrolling effect correctly as it only shows half cell when the user highlight half of the cell."
Approach using TablelayoutManager display single cells and scrolling would be cell at a time. And Yes, you will need to override navigationMovement and n of methods appropriate TouchEvent your TableLayoutManager so that he knows when to fill the cells.
Another alternative is to have four managers, we don't the the upper left corner (the dead angle), one to make the top row (column headings), one to make the left column (row headings), and the other to do the rest (data). Place all these in a delicate header and line manager. Only allow the user to scroll the data part. Have the difficult Manager to listen the scroll events. Then have the wily Manager add and remove the dummy column and header line managers as appropriate. Note that these topic fields would not good passes, they would be either there or they would not be displayed. That would give you your 1/2 a scroll of the cell. And you wouldn't have to substitute anything to detect movement, you would have left the listener do scrolling for you.
-
Problem with PanelCollection view->; columns
I have a table inside PanelCollection.
The table columns are dynamic tires using managed data bean.
< af:forEach items = "#{viewScope.FinderBean.searchResultColumnMetaDataList}" = "colMetaData" var "
varStatus = "ind" >
< af:column sortable = "true" sortProperty = "searchResultColumns. "#{ind.index}" = "no style" rowHeader
"headerText =" #{colMetaData.label} "id =" c# {ind.index} "width =" #{colMetaData.width} ' "
rendering = "#{not colMetaData.adfHidden}" >
< af:activeOutputText value = "#{row.searchResultColumns [colMetaData]}" id = "aot1" / > "
< / af:column >
< / af:forEach >
When the page is rendered, I don't see my names of columns listed under view-> columns.
What should I do to make it show? Thank you.
The problem is when the page is being rendered for the first time, there was no data to display. And searchResultColumnMetaDataList is an empty list.
Is what I did to make it work:
Have a method to retrieve the names of columns in search results when the page is rendered first. In my af: for each loop, I have given in searchResultColumnMetaDataList.
Even when I have no result returned yet, I have the names of columns to display.
Thanks to all the suggestions. They helped.
Maybe you are looking for
-
Sigh, wish that I had never updated. FF7 was complicated due to the constant crashes and unexpected downturns on many websites (I have a decent computer, intel i5, 8 GB of ram, but I have also 1-2 dozen tabs open most of the time). I think maybe a ne
-
The only tools button that I can see is Google, and it does not help.
-
Scripts (connect a Terminal to a flat sequence Structure)
(script) Is it possible to connect a terminal to a flat Structure of the sequence? (in my case, with a single frame) (with the "Connect Wire" method)
-
I get this error when you run the sims 2.
-
uninstall the easy access the on-screen keyboard and the Narrator
How to stop the keyboard on the screen and the Narrator to load at startup?