help with partitions
Hello
I am unable to create hash composite list using DEC partition. get the error message like "missing or invalid option".
could you please guide us to create the partition using DEC
create the table P_LIST_HASH
hash partition (USERID) 4 PARTITIONS
SUBPARTITION BY list (divindicator)
(
partition hp1
(
subPARTITION hp1_p1 VALUES (0).
subPARTITION hp1_p2 VALUES (1),
subPARTITION hp1_p3 VALUES (2)
),
partition hp2
(
subPARTITION hp2_p1 VALUES (0).
subPARTITION hp2_p2 VALUES (1),
subPARTITION hp2_p3 VALUES (2)
),
partition hp3
(
subPARTITION hp3_p1 VALUES (0).
subPARTITION hp3_p2 VALUES (1),
subPARTITION hp3_p3 VALUES (2)
)
)
in select * from GL_USERS;
Thanks in advance
Well, your initial statement failed because you said that it creates four partitions, but listed only three of them. And your statement fails now because you said resulting subpartition of the divindicator the value 0, 1 or 2 and
(no doubt) there are lines in your table where this column has another value.
Tags: Database
Similar Questions
-
Hello, I recently bought a Macbook from a friend and since I got the Mac it's very very slow at doing things like browsing the internet using Safari, it takes forever to load, web pages and all sorts of things that I'd like to get help with this problem maybe a few recommendations and also on how to speed up... If you need to care about Macbook, I can give these thx.
To sell or transfer ownership of a Mac, even to a member of your family, you must follow these instructions. So far, you will have continuous problems.
Refer to what to do before you sell or give away your Mac
- If you have enabled FileVault, disable it in system preferences > Security and privacy.
- "Remove" your iTunes account. Ditto for Audible if you have one.
- System Preferences > iCloud > deselect 'Back to My Mac' and 'find my Mac '.
- Disconnect from iCloud. Select "Delete from Mac" when it appears.
Next: delete all of your personal information by erasing the internal storage of the Mac completely.
- If your Mac comes with a grey system installation DVD, start up your Mac with this disc in the optical drive, all holding the key c to boot from it instead of its internal volume, which must be erased before selling.
- Apple stopped Macs shipment requiring these discs in August 2011.
- If your Mac does not comes with disks, boot OS X Internet Recovery:
- using three fingers press on and hold the following keys: ⌘(command), optionand R.
- With a fourth finger, press the power button to turn on the Mac.
- Keep the other three fingers here where they are until you see the icon "spinning globe.
- This method force the Mac to download BONES initially installed from Apple servers, that won't require not an Apple ID install.
- Remove any password Open Firmware, if you created a: select utility password firmware in the Utilities menu and remove.
- Select disk utility from the utilities menu.
- Delete all partitions that can be created.
- Select the icon for the hard drive to the Mac, and then select the tab "delete".
- Click on the 'Security Options' button and erase the drive.
- More "robustly" you erase the disc, the longer it will.
- The fastest method is sufficient, since all but the techniques more expensive and equipment will be able to recover data deleted safely.
- When he finishes, quit disk utility.
- In the utility menu, select Install Mac OS X .
- An identifier Apple won't be necessary. If a prompt for an Apple ID, return to step 5.
- Do not create user accounts.
- When he finishes, shut down the computer.
- If you want to install the bundled apps that have been included with your Mac, restart using your DVD Applications if it was included and install the bundled apps.
- Apps, delivered with the new Macs sold without disks cannot be transferred. His new owner must buy them from the Mac App Store with its own Apple ID.
If the Mac is sold to someone outside the family, consider the following additional information:
- System provided with your Mac installation DVD must stay with him forever and be included in the sale.
- Consider including your AppleCare certificate if you bought it, documents printed, same box if you have.
- AppleCare remains with the equipment and can be transferred.
- Run an invoice indicating the serial number of the Mac.
- Once is no longer in your possession, remove the Mac of your devices in my support profile.
-
Installation of XP with partitions
I have a Satellite M30 and you want to install Windows XP with partitions. I did before recovery, which is easy - but since it seems that the installation of Windows on this Toshiba laptop is different to other computers my friend told me that he couldn't help me.
What are the steps for installation with partitions?
All of the pitfalls that I should worry about?After purchasing the laptop I've never seen the CD-Rom in Windows XP home. I have it lose or do I just get the restore CD?
Thanks for the help
DanielHi Daniel
Please see this topic
http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=2513
I hope it can help you.
Good luck!
-
[Need help]
Device name: laptop touch screen, Energy Star, 15.
Model number: 15 - f023wm
Device status:
[Grandma] "I broke the internet.
[Me] "No, I have demolished just any chance I had as a computer programmer.
I'll never do it to heaven now... »You want to come: difficulty this laptop!
-Packing plant (Reset/retrieve)
-Retrieve/Re-restore boot loader
Retrieve/recreate/Re-restore all original scores.
-Retrieve / Re - restore all the Original system & hardware drivers.-Retrieve/Re-restore Windows 8.1.
-Possibly find computer Tech/Geek fellow/Pal.
-Learn something new! (Not including the common sense).
Explanation:
-J' was too high as he tried to become the next Bill Gates and create a calculation method in which the processor completely laws of physics bi-passes.Topical issues:
(1) I have little experience, I'm sure compared to most of the users on this forum; However, in the College computer Programmning.
---> Very adept in acquireing newly introduced information & request a great sense of understanding of puzzled, abstract and largely serious concepts. (It will be just a little easier than most to explain a simple fix).
(2) I deleted all partitions, including the system files, System opperating, some methods of starting, all the drivers, and to add to the mess, the existing partitions are not yet check the size or formatting - I'm sure.
---> (Drive C is 400 GB;) Drive D is the main partition with only 20 GB)
(3) any chance of installation/download are only feasible when my boyfriend does everything it does and 'fixed' the laptop.
---> Cell phone MAY start, can use internet and MAY be able to download 5 pictures before the system shuts down and the other requires a few hours to wipe the minimum amount of space on the hard disk before you reinstall Windows.
(4) Windows 7 is the only OS (so far) that we are able to install; We have no other disks, but Windows 8.1, I think, was the original Opperating system and look forward to this return.
(5) I don't know yet how I will receive notification here on these forums. I'm drunk at 05:59, so I'll find out tomorrow.
---> Assuming that I remember I wrote it.
And I think that's all that I need a little help with if you want messages me or live chat to help solve this problem, I think that Skype is aloud; and in all the uncertainties, it is listed on my profile.Thank you, & your best.
Caleb D. Parker
@CiDiParks25What will work restores your computer to its original factory state using HP recovery media. It is a DVD and CD set that will erase the hard drive (removing all data, applications and settings, reinstall the original OS, drivers and utilities for HP. In some cases, you will be able to order a USB instead of discs. You must order at HP; they cannot be downloaded.
The link is on the software page and download drivers for your PC: http://support.hp.com/us-en/drivers/selfservice/HP-15-Notebook-PC-series/7137590/model/7484025Once there, scroll to the bottom of the page and you will see an entry for the command Recovery Media-CD/DVD/USB. Click on the symbol '+' to expand this entty and click on order to press for more details.
Or, if you prefer, you can do the same by contacting HP Customer Service:
If you live in the United States or the Canada, details are on this page: http://www8.hp.com/us/en/contact-hp/phone-assist.html#section1
If you live elsewhere, contact details are on this page: http://www8.hp.com/us/en/contact-hp/ww-contact-us.html
Note that if HP no longer provides a recovery media for your model, a few other sites, you can check are: http://www.computersurgeons.com/ and http://www.restoredisks.com/
Don't forget to read through the material in the linked thread before attempting the recovery: http://support.hp.com/us-en/document/c00707939
Good luck
I'm a volunteer and I do not work for, or represent, HP.
========================================================================
If you feel that my suggestions helped you, please click on the thumbs-up symbol to say thank you!
If they helped to solve your problem, please click 'Accept as Solution' to help others find similar information. -
The system is;
Manufacturer: ASUSTek Computer Inc..
Model: ASUS G50VT Notebook series
System type: 64-bit operating system
I can't get the Vista SP2 to settle... I even tried to do it manually.
Help me please...
A Google search for 10 seconds found...
Use the hidden, reserved for the purpose of recovery, partition in the hard disk to restore your computer to factory settings. Backup your data first.Restart your computer. Press the F9 key immediately when the logo ASUS appears. This will start the recovery procedure, including the installation of all the drivers and utilities. Follow the instructions. Your computer will be restored to factory settings.
Source: (BestBuy) http://vip.asus.com/forum/view.aspx?board_id=3&model=G50Vt & id = 20100112105613468 & page = 1 & SLanguage = en - usIf you need additional help with the new installation, contact ASUS support or start a new thread in this forum: http://social.answers.microsoft.com/Forums/en-US/vistarepair/threads
~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft
-
System Recovery Windows 7 with partition
I really hope someone can help me! I am at my wits end. I'm doing a system restore on my laptop HP Windows 7 with partition. I haved active partition, but when I do a system recovery, either from the desktop or using F11... recovering the system opens, but on the far left, where it says "immediate assistance" system restore is turned on until... the recovery of the system is below it, but not highlighted, so I can't click on it to access it... Please help me!
Hello
As you have your recovery discs, follow the guide on the link below to see if you can use them to reinstall the operating system.
http://support.HP.com/us-en/document/c01895783
Kind regards
DP - K
-
Need help with Windows 7 key.
I have a laptop that I had to change the HARD drive due to a complete failure. I had a Windows 7 key I know has been good and have never used, purchased as part of a package of pc 3. Now the installation tells me that this is not a valid key. I paid almost $150.00 for this set of 3 installs for Windows 7, about 5 years ago.
The old HDD is dead, I tried to connect with a USB key and nothing. The laptop was working fine with WIndows 10, then the portable HARD drive is simply dead. I need help with a new key, or at least the one I have to work. The new drive HARD won't have not all partitions or any attached former windows key. I can't get past the check of Windows screen.
Need help please.
You must use the product key located on the COA sticker (at the bottom of the laptop, sometimes inside the battery cover or access. Once you have located the product key, and then follow the instructions below to change the key of the key from the factory to the key on the sticker.
How to change Windows 7 product key
http://www.windowsvalley.com/how-to-change-product-key-in-Windows-7-and-Windows-Vista/
-
Need help with screen Blus of death (BSOD) on my computer toshiba laptop
Hello all, Ive had a little last week, or problems with my laptop. While playing a game (minecraft), I would randomly have a BSOD error and my laptop will re-start. Initially, I gave it no thought, but when it happened again, I decided to try to do a little research, but I'm not terrible with technology and other then I'm neither the case with my own research.
If someone could point me in the direction of a few possible ways to get this problem.
guys do you propose I make to the store and see if they can check it out, what would I need if I did.
I got a program to read some sort of file "dump" made when occurs a BSOD, I publish what this program here says? the program is BlueScreenView, if yes, what I have post the spectator thing? There are has 2 main screens on it, SDO as Sho different dump files (which is on the top) and on the bottom, it lists the names of different files for each dump file I think that some of them highlighted.
im not this product with tech so I don't know much but I need to post anything on my laptop or any information of the dumpfile and would have this info help in any way to determine the problem? just tell me what I have to post and ill get the information displayed in a response, thank you.
-leoknighted
PS: I don't think that playing minecraft is the cause of the BSOD and crashing, but I only get it when playing minecraft, so I don't know if minecraft is causing accidents and others. I watch videos and this all the time and I never have an accident. I'll try and play a different game and see if this causes my laptop down and the cause is perhaps high usuage to my laptop, as I've said games require a lot of power of a laptop/computer, if they are not the 'best' laptop for games. but yh, if someone thinks they can help me and need some information please tell me so I can get it for you. If you guys think it would be best to get a professional to look just mylaptop say, however im save as a last resort.
Hello
I suggest you to refer to this article to check if this help.
Resolve stop (blue screen) error in Windows 7
http://Windows.Microsoft.com/en-us/Windows7/resolving-stop-blue-screen-errors-in-Windows-7Important: System Restore will return all system files not as documents, email, music, etc., to a previous state. These files of types are completely affected by the restoration of the system. If it was your intention with this tool to recover a deleted file to non-system, try using a file instead of system restore recovery program.
Important: while performing the check disk on the hard disk, if bad sectors can be found, then check disk will try to repair this sector. All the data available in this area may be lost.
Custom installation WARNING: If you format the hard disk during the installation, the data files are saved in a Windows.old folder on the partition you installed Windows 7. However, you should always back up the files. If you have encrypted data files, you may not be able to access them after installing Windows 7. If you have backed up your data files and then restored after Windows 7 is installed, you can delete the Windows.old folder.
Let us know if you need help with this question, we will be happy to offer you our help.
-
Hello
I have a data in table (raj_table) with columns (char11) raj_id, raj_number (varchar2 (15)), raj_format (NUMBER), Primary_ID (identity with the values of the primary key column)
Primary_ID raj_id Raj_number Raj_format
1 raj rajvend 1
2 raj rajvend 1
3 raj rajvendor1 2
4 raj rajvendor1 2
5 raj rajvendor1 2
6 raj rajvendor2 3
I used under SQL to get query output as below, but has not achieved the required result:
Select client_id vendor_number, vendor_format, primary_id, row_number() on sl_no (client_id partition, primary_id, vendor_format order of client_id primary_id, vendor_format, vendor_number, vendor_number)
from raj_table by sl_no asc
SL_NO raj_id raj_number raj_format primary_id
1 1 raj rajvendor 1
1 2 raj rajvendor 1
2 3 raj rajvendor1 2
2 4 raj rajvendor1 2
2 5 raj rajvendor1 2
3 6 raj rajvendor2 3
I need help with a SQL query to get the result as above without using the group by clause. I want to bring together the combination of separate line of the three columns (raj_id, raj_number, raj_format) and add a unique serial number for each online game (SL_NO column below). So, above there are 3 unique set of (raj_id, raj_number, raj_format) I can get in a group by clause, but I can not add prmiary_id, SL_NO values if I group by clause. I used the analytical functions like row_number() but no luck. Need solution for this.
with t as)
Select 'raj' raj_id, 'rajvend' raj_number, 1 raj_format, 1 primary_id Union double all the
Select option 2, 'raj', 'rajvend', 1 double Union all
Select 3, 'raj', 'rajvendor1', 2 double Union all
Select 4, 'raj', 'rajvendor1', 2 double Union all
Select 5, 'raj', 'rajvendor1', 2 double Union all
Select 6, 'raj', 'rajvendor2', 3 double
)
Select dense_rank() over (order of raj_id, raj_number, raj_format) sl_no,
t.*
t
order by primary_id
/
PRIMARY_ID RAJ RAJ_NUMBER RAJ_FORMAT SL_NO
---------- ---------- --- ---------- ----------
1 1 raj rajvend 1
1 2 raj rajvend 1
2 3 raj rajvendor1 2
2 4 raj rajvendor1 2
2 5 raj rajvendor1 2
3 6 raj rajvendor2 36 selected lines.
SQL >
SY.
-
Help with the query to select only one record from the result set in double
Hello
Please help with the query. Version of Oracle database we use is 10g R2.
I have a vision that is duplicated IDS, but they are used across the different functions. See below examples of data. Please help me with a query to select only one record (based on ID regardless of the area) from the bottom of the result set of duplicate records. For what is the point of view is there unique records, given the combination of the fields ID, Org, DF, dry, Sub-Sec
ID Org DF Sec Sub-Sec (163) CQ CPDM CPDM HD (163) PC ENG ENG ENG (163) CQ ASIC ASIC IS 8888 TS TAC TAC TAC (163) TS HE HE SW 6789 CQ INFO INFO FOS 6789 PC SECSYS SECSYS INFO1 6789 TS SECSYS SECSYS INFO2 9009 PC BMS BMS BMS1 My result set must eliminate the duplicate identifiers regardless of whoever we choose of the result set. (I mean without distinction Org, DF, s, Sub-s). My expected result set should be.
ID DSB DF SEC Sub-Sec (163) CQ CPDM CPDM HD 8888 TS TAC TAC TAC 6789 CQ INFO INFO FOS 9009 PC BMS BMS BMS1 Thank you
Orton
Hello
This sounds like a job for ROW_NUMBER:
WITH got_r_num AS
(
SELECT id, DSB, df, s, sub_sec org
ROW_NUMBER () OVER (PARTITION BY ID.
ORDER BY org
) AS r_num
OF view_x
)
SELECT id, DSB, df, sub_sec s,
OF got_r_num
WHERE r_num = 1
;
He is a Top - N query example, where you choose the elements of N (N = 1 in this case) from the top of an ordered list.
I hope that answers your question.
If not, post a small example of data (CREATE TABLE and INSERT, only relevant columns instructions) to your sample data and the results desired from these data. (I know that you said that you were a view selection. Just for this thread, pretending it is a picture and post simple CREATE TABLE and INSERT statements to simulate your point of view).
Point where the above query is to produce erroneous results, and explain, using specific examples, how you get the right results from data provided in these places. (I didn't quite understand the explanation above. I don't know why you want toID ORG DF DRY SUB_SEC
-- --- -- --- -------
1234 CQ DPRK DPRK HD
and is not
1234 IS CQ ASIC, ASIC
or
TS 1234 IT IT SW
or
1234 CQ ASIC ASIC HD
)
If you change the query at all, post your modified version.
Always say what version of Oracle you are using (for example, 11.2.0.2.0).See the FAQ forum: https://forums.oracle.com/message/9362002
-
Need help with the data storage store, local array and network connections
Need help with my ESXi 4.1 installation
My hardware:
I built a server with an Asus P6T whitebox, i7 920, 12 Gig RAM, NIC, Intel Pro1000 PT Quad, 3ware 9650SE-12ML with 8 1.5 TB SATA green in a raid 6 array gives me about 8 + TB with a spare drive all housed within a NORCO RPC-4220 4U Rackmount Server chassis. I also have a 500 GB SATA drive which will hold the ESXi and virtual machines.
The network includes a firewall, Netgear Prosafe FVS336G, GS724Tv of Netgear ProSafe 24 port Gigabit Managed Switch on a dhcp cable modem internet service provider.
I also have 2 old NetGear SC101T NAS disks (4to) I want to connect to the system how some - at a later date have... data on them and want to transfer to the new storage array. I always looking into the question of whether they will work with ESXi 4.1, or I might have to only access it through Windows XP.
My Situation:
I have already installed ESXi 4.1 and vsphere client with no problems and it is connected to a dhcp cable internet service. I've set up host via a dynamic DNS service name give me a static hostname on the internet. I installed three machines to virtual OS successfully at the moment and now want to first start by creating a multimedia storage server which will use some of this new 8 TB array, then separate data storage for use with a web server small overhead storage and a backup. It is a domestic installation.
Help with the data store and network:
I was doing some reading, because I'm new to this, and it looks like I'll probably want to set up my table via ESXi as a nfs disk format. Now, the data store is usually in another physical box from what I understand, but I put my readers and ESXi all in the same box. I'm not sure that the best way to put in place with grouped network cards, but I want to make this work.
I understand that in ESXi 4.1 using iSCSi LUN must be less than 2 TB, but nfs - I should be able to add a bigger partition then 2 TB (for my multimedia) in nfs, right? or should I still add it separately as a separate 2 TB drives and then extend them to get the biggest space.
Any suggestions or direct resources showing examples on how to actually add some parts of the table as data warehouses separate nfs. I know that to go to the configuration tab, and then select Add to storage, and then select nfs. I have not my picture, but it's here that I don't know what to do because ESXi 4.1 system already has an address, should I put the same thing to the new data store array also (will it work?), and what should I use for the name of the folder and the store of data... just do something to the top. I thought to later install Openfiler (for a multimedia storage using this table server) as a virtual machine, use the table with esxi so that I can access the same storage space with widows and linux-based systems.
I also know I have to find a way to better use my quad nic card... put in place of virtual switches, grouping, etc HELP?
Any direction, assistance, similar facilities to sample, suggestions or resources that would help would be great. I did a lot of hunting, but still a little confused on how to best to put in place.
You must think of VMDK files of large databases with records of random size guest go read some data (a DLL or an INI file), maybe write some data back, then go read other data. Some files are tiny, but certain DLLs are several megabytes. It's random i/o all and heavy on the search time. IO Opsys is small random operations that are often sequential (go read data, write data, go read other data,...) so that deadlines are critical to the overall performance. That's why people say OPS are / s of reference and forget the MBs flow. The only time where you bulk transfers are when you read media (ISO files).
Well, now forget all this. Actually the disk activity will depend on the specific applications (database? mail server? machines compiler?), but the above is true for boots, and whenever applications are idle. You should see the profile to know.
RAID 10 is faster (and often more reliable) than RAID 5 or RAID-6 except in certain specific cases. In General RAID 10 is ideal for many random writes, since the calculation of parity for RAID-5 and - 6 adds to the overall latency between command and response - latency is cumulative if a little slow here and a little slow it adds up to a lot of overall slow synchronous especially with e/s on a network. OTOH RAID-5 and -6 can produce faster readings due to the number of heads, so you can use it for virtual machines that transfer bulk. Test. You may find that you need several different types subdashboards for best results.
You said 3ware, they have some good grades on their site, but don't believe it. With my 9650 that I found myself with only a couple of their recommendations-, I put the (simple) table for allocation size 256 k, nr_requests at 2 x the queue_depth and use the planner date limit. I had the habit for the Ext4 file system formatted with stride and stripe-width synced to the table and used the options large_files with fewer inodes (do not use the huge_files option unless you plan to have single VMDK files in the terabyte range). Use a cache of great reading in advance.
Virtual machines use VMDK files in all cases except raw iSCSI LUN that they treat native disks. VMDK is easier to manage - you can make a backup by copying the file, you can move it to a PC and load it into another flavour of VMware, etc. There could be some features iSCSI to your San as a transparent migration but nothing for me. NFS has less chatter of Protocol if latency lower times to complete an operation. NFS is good to read and write a block of data, that's all it boils down to.
UPS is good, but it won't help if something inside the machine explodes (UPS does nothing if the PC power supply goes down). If the RAID card has an option for a battery backup module, so it can contain some writings in memory and may end up the disk i/o after replacing the power supply. 3ware also limits the types of caching available if help is not installed, and you get just the right numbers with the module.
-
Need help with instr/Regexp for the query
Hi people of Oracle
I use Oracle
Oracle Database 11 g Enterprise Edition Release 11.1.0.7.0 - 64 bit Production
With partitioning, OLAP, Data Mining and Real Application Testing options
I have a few responses from students and the valid values are + / / (alphabet) o/p and spaces at the end of the scam only not in the middle.
According to my condition, the registration number 2 3.4 must be in the request but I'm alone (chart 3).
Can we use REG_EXP
Help, please.
Thanks in advance.
Rajesh
with x as)
(
SELECT '+-+-POPPPPPP' STUDENT_RESPONSE, 1 numero_enregistrement FROM DUAL Union all the
SELECT ' + --AOPPPPPP++' STUDENT_RESPONSE, 2 numero_enregistrement FROM DUAL Union all the
SELECT "+-+-OPPPPPP -' STUDENT_RESPONSE, 3 numero_enregistrement FROM DUAL union all
SELECT '+-+-9OPPPPPP' STUDENT_RESPONSE, 4 numero_enregistrement FROM DUAL)
)
(SELECT NUMERO_ENREGISTREMENT,
TRIM (STUDENT_RESPONSE) X
WHERE
((INSTR (UPPER (TRIM (STUDENT_RESPONSE)),'-') = 0))
OR (INSTR (UPPER (TRIM (STUDENT_RESPONSE)), '+') = 0)
OR (INSTR (UPPER (TRIM (STUDENT_RESPONSE)), 'O') = 0)
OR (INSTR (UPPER (TRIM (STUDENT_RESPONSE)), 'P') = 0)
OR (INSTR (UPPER (TRIM (STUDENT_RESPONSE)),' ')! = 0)
)
)Hi, Renon,
Rb2000rb65 wrote:
Hi people of OracleI use Oracle
Oracle Database 11 g Enterprise Edition Release 11.1.0.7.0 - 64 bit Production
With partitioning, OLAP, Data Mining and Real Application Testing optionsThanks for posting this (and the WITH clause for sample data). It is very useful.
I have a few responses from students and the valid values are + / / (alphabet) o/p and spaces at the end of the scam only not in the middle.
You combine several qeustions responses in a single VARCHAR2 column? It would be better to have a separate line for each question.
According to my condition, the registration number 2 3.4 must be in the request but I'm alone (chart 3).
What exactly are your needs? You try to find the rows where the student_response contains one of the forbidden characters, or if it contains a space anywhere, but at the end of the string?
Can we use REG_EXP
Yes, but it's pretty easy and probably more effective, do not use regular expressions in this case:
Here's one way:SELECT record_number , student_response FROM x WHERE TRANSLATE ( UPPER ( RTRIM (student_response, ' ')) , 'X+-OP' , 'X' ) IS NOT NULL ;
In other words, once you remove the spaces and all occurrences of '+', '-', 'o' or 'P', then the forbidden characters are left, and you want to select the line, if there is one of these.
If you really, really want to use a regular expression:
SELECT record_number , student_response FROM x WHERE REGEXP_LIKE ( RTRIM (student_response) , '[^-+OP]' -- or '[^+OP-]', but not '[^+-OP]'. Discuss amongst yourselves , 'i' ) ;
but, again, it will be probably slower than the first solution, using TRANSLATE.
Published by: Frank Kulash, October 17, 2011 13:05
Published by: Frank Kulash, October 17, 2011 13:41
What follows is a bit simpler that TRANSLATE:SELECT record_number , student_response FROM x WHERE RTRIM ( UPPER ( RTRIM (student_response, ' ')) , '+-OP' ) IS NOT NULL ;
-
need help with the query, thx
Hello
I need a little help with the query I have to write;
the table has 4 columns:
what I am asking is the following result: salary according to the latest available yearcol1 col2 col3 col4 emp_name empl_id salary year content of data: col1 col2 col3 col4 smith 12 1200 1999 smith 12 1340 2000 smith 12 1500 2001 jones 13 1550 1999 jones 13 1600 2000 aron 14 1200 2002
i.e.
ID appreciate some guidance on how to achievesmith 12 1500 2001 jones 13 1600 2000 aron 14 1200 2002
Thank you
Rgdsselect *from (select col1, col2,col3, col4,row_number() over(partition by col1 order by col4 desc) rn from
) where rn=1 -
Help with horror? El Capitan Mac
Hello, I have major issues with horror. It interferes with almost all of the process: navigation (Firefox or Chrome), MS Office, Adobe Pro, Finder... I ran a report EtreCheck (see below) and the major problem seems to be Firefox. I was wondering if someone could take a look at this and make other suggestions.
Thank you!
EtreCheck version: 3.0 (300)
Report generated 2016-08-12 12:44:23
Download https://etrecheck.com EtreCheck
Time 06:53
Performance: average
Click the [Support] links to help with non-Apple products.
Click the [details] links for more information on this line.
Problem: Beachballing
Description:
Beach ball with Firefox, Chrome, MS Office, Adobe Pro, Finder
Hardware information: ⓘ
MacBook Pro Intel Core i5, Intel Core i7, 13 "(mid-2012)"
[Technical details] - [User Guide] - [warranty & Service]
MacBook Pro - model: MacBookPro9, 2
1 2.5 GHz Intel Core i5 CPU: 2 strands
8 GB of RAM expandable - [Instructions]
BANK 0/DIMM0
OK 4 GB DDR3 1600 MHz
BANK 1/DIMM0
OK 4 GB DDR3 1600 MHz
Bluetooth: Good - transfer/Airdrop2 taken in charge
Wireless: en1: 802.11 a/b/g/n
Battery: Health = Normal - Cycle count = 38
Video information: ⓘ
Graphics Intel HD 4000
LED Cinema Display 1920 x 1200
System software: ⓘ
OS X El Capitan 10.11.6 15G (31) - since the start time: about 3 days
Disk information: ⓘ
HTS545050A7E362 disk HARD APPLE disk0: (500,11 GB) (rotation)
EFI (disk0s1) < not mounted >: 210 MB
Macintosh HD (disk0s2) /: 499,25 (Go 150,27 free)
Recovery HD (disk0s3) < not mounted > [recovery]: 650 MB
MATSHITADVD-R UJ - 8À8)
USB information: ⓘ
RD Slim BUP Seagate 2 TB
EFI (disk1s1) < not mounted >: 210 MB
SEAGATE External 2 to (disk1s2) Volumes/external Seagate 2 Tb: 2.00 TB free 1.20
Apple Inc. Apple LED Cinema Display
ISight Apple Display Inc.
Apple Inc. Apple's USB audio device
Apple Inc. FaceTime HD camera (built-in)
Apple Inc. Apple keyboard / Trackpad
Computer, Inc. Apple IR receiver.
Apple Inc. BRCM20702 hub.
Apple Inc. Bluetooth USB host controller.
Hub keyboard Apple, Inc.
Logitech USB-PS/2 optical mouse
Apple Inc. Apple Keyboard
Information crush: ⓘ
Apple Inc. Thunderbolt_bus.
Goalkeeper: ⓘ
Mac App Store and identified developers
Kernel Extensions: ⓘ
/ Library/Extensions
[loading] com.sophos.kext.sav (9.4.52 - SDK 10.9 - 2016-08-05) [Support]
[loading] com.sophos.nke.swi (9.4.53 - SDK 10.9 - 2016-08-05) [Support]
Launch system officers: ⓘ
[loaded] 8 tasks Apple
[loading] 152 tasks Apple
[operation] 65 tasks Apple
[killed] 13 tasks Apple
13 killed process lack of RAM
Demons of launch system: ⓘ
[loaded] 46 tasks Apple
[loading] 150 tasks Apple
[operation] 89 tasks Apple
[killed] 6 tasks Apple
6 killed process lack of RAM
Launch officers: ⓘ
[no charge] com.adobe.AAM.Updater - 1.0.plist (2016-05-02) [Support]
[operation] com.brother.LOGINserver.plist (2016-03-10)
[loading] com.gog.galaxy.commservice.plist (2016-04-24) [Support]
[failure] com.maintain.PurgeInactiveMemory.plist (2016-06-09) [Support]
com.maintain.Restart.plist [no charge] (2016-06-09) [Support]
com.maintain.ShutDown.plist [no charge] (2016-06-09) [Support]
[operation] com.maintain.SystemEvents.plist (2016-06-09)
[operation] com.sophos.uiserver.plist (2016-05-12)
Launch of the demons: ⓘ
[performance] BESAgentDaemon.plist (2016-05-16)
[loading] com.adobe.fpsaud.plist (2016-06-28)
[loading] com.gog.galaxy.clientservice.plist (2016-04-24) [Support]
com.maintain.HideSpotlightMenuBarIcon.plist [no charge] (2016-06-09) [Support]
[loading] com.microsoft.office.licensing.helper.plist (2010-08-25)
[operation] com.prey.agent.plist (2016-05-17)
[operation] com.sophos.common.servicemanager.plist (2016-05-12)
Launch User Agents: ⓘ
[loading] com.adobe.ARM. [...]. plist (2016-04-22)
[loading] com.bittorrent.uTorrent.plist (2016-04-19) [Support]
[loading] com.google.keystone.agent.plist (2016-07-11)
[operation] com.spotify.webhelper.plist (2016-08-10) [Support]
[loading] com.valvesoftware.steamclean.plist (2016-07-14)
org.Hola.VPN.plist [no charge] (2016-08-01) [Support]
User login items: ⓘ
iTunesHelper Application (/ Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
ClipMenu application (/ Applications/ClipMenu.app)
Agent application of file transfer Android (~/Library/Application Support/Google/Android File transfer/Android File Transfer Agent.app)
MightyText application (/ Applications/MightyText.app)
Internet Plug-ins: ⓘ
AdobeAAMDetect: AdobeAAMDetect 1.0.0.0 - SDK 10.6 (2016-05-02) [Support]
FlashPlayer - 10.6: 22.0.0.209 - SDK 10.9 (2016-07-13) [Support]
QuickTime Plugin: 7.7.3 (2016-07-29)
AdobePDFViewerNPAPI: 11.0.15 - SDK 10.6 (2016-05-02) [Support]
AdobePDFViewer: 11.0.15 - SDK 10.6 (2016-05-02) [Support]
Flash Player: 22.0.0.209 - SDK 10.9 (2016-07-13) [Support]
Default browser: 601 - SDK 10.11 (2016-07-29)
SharePointBrowserPlugin: 14.6.6 - SDK 10.6 (2016-07-28) [Support]
Silverlight: 5.1.50428.0 - SDK 10.6 (2016-07-29) [Support]
The internet user Plug-ins: ⓘ
Picasa: 1.0 - SDK 10.6 (2015-10-13) [Support]
3rd party preference panes: ⓘ
Flash Player (2016-06-28) [Support]
Time Machine: ⓘ
Automatic backup: YES
Volumes to back up:
Macintosh HD: Disc size: 499,25 GB disc used: 348,98 GB
Destinations:
TB external Seagate 2 [Local]
Total size: 2.00 TB
Total number of backups: 29
An older backup: 15/05/16, 06:27
Last backup: 12/08/16, 11:45
Size of backup drive: Excellent
Size of backup 2.00 TB > (disk size 499,25 GB X 3)
Top of page process CPU: ⓘ
35% firefox
11% kernel_task
7% mdworker (13)
4% WindowServer
2% BESAgent
Top of the process of memory: ⓘ
GB firefox 3.08
Kernel_task 848 MB
180 MB mdworker (13)
90 MB Microsoft Word
Finder 82 MB
Information about virtual memory: ⓘ
24 MB of free RAM
7.98 GB RAM (1.31 GB being cached) used
3.01 GB used Swap
Diagnostic information: ⓘ
August 12, 2016, 12:24:55 PM/Library/Logs/DiagnosticReports/SophosWebIntelligence_2016-08-12-122455_ [redact ed] .crash
/ Library/Sophos Anti-Virus/SophosWebIntelligence.bundle/Contents/MacOS/SophosWebIntelligence
August 12, 2016, 12:00:06 PM/Library/Logs/DiagnosticReports/SophosWebIntelligence_2016-08-12-120006_ [redact ed] .crash
August 11, 2016, 01:40:07 PM/Library/Logs/DiagnosticReports/SophosWebIntelligence_2016-08-11-134007_ [redact ed] .crash
August 11, 2016, 10:17:21 /Library/Logs/DiagnosticReports/tcosrj_2016-08-11-101721_[redacted].hang
/ Volumes/VOLUME / * / Romeo & Juliet.app/Contents/MacOS/tcosrj
August 11, 2016, 06:33:30 /Library/Logs/DiagnosticReports/_2016-08-11-063330_[redacted].crash
???
August 10, 2016, 13:44:38 /Library/Logs/DiagnosticReports/firefox_2016-08-10-134438_[redacted].cpu_resour ce.diag [details]
/Applications/Firefox.app/Contents/MacOS/Firefox
August 10, 2016, 06:43:13 AM/Library/Logs/DiagnosticReports/SophosWebIntelligence_2016-08-10-064313_ [redact ed] .crash
9 August 2016, 15:17:53 self-test - spent
First uninstall Sophos. Anti virus apps are not necessary and may cause problems. Remove the bittorrent as well. It can be a source od malware.
-
How to get help with Add ons and extensions that stop working
I have saved passwords and it has stopped working. It's so hard to get help with Moxilla
rosemarybales said
I still don't know why the extension button passwords saved with the key icon has stopped working.
This button displays the saved passwords in Firefox's built-in password manager, is no separate passwords that record you in Dashlane. Can you save passwords in both places? (Well, I guess you do.)
I have a guess on why it has stopped working. Firefox 40 has some changes to how extensions can work with the user interface, so quite a few extensions that have been more than one year must be updated for Firefox 40. It has been updated on January 10, 2012.
Anyway, the way of 'long' to display the passwords saved in Firefox is through the Options page, the Security Panel, the saved passwords button.
Maybe you are looking for
-
Windows live mail 2012. Impossible to delete some messages from the Inbox.
Have windows live mail 2012. Impossible to delete some messages. Some are in the same domain. Should be spam. The settings have not been changed.
-
I was connected to the internet recently, my brother was cleaning my computer against malware with Avast, and then this problem with apperanse happened. I run "services.msc" and saw that themes were arrested, I started it and Windows XP apperance tur
-
Pavilion 20-b010 downgrade from Windows 7 support-side USB
I downgraded the Pavilion 20-b010 Windows 8 for Windows 7 64 bit pro and can not find the drivers for the USB 3.0 side ports. It seems that these only have drivers for Windows 8. Is it possible to get them to work, even in a level of USB 2.0 on Win
-
I had a few difficulties to comb my app on BB10. Whenever I do something with Divs the application will not work. Any ideas?
-
What is the url connection string hive in BDD 1.1?
In my project, I need get data from the server to the hive. Test the jdbc connection to the hive by using the hive good username and password, but it fails and shows "cannot establish a connection."my connection url string is as jdbc:hive: / /myserve