find the word in the query
Hello
I want to print the word before _ @.
request as first of all find the underscore if line _ is printing before _.
Example:
released as:-vinoth
If not find before underscores @ as
Released as:-Marie Laure
WITH t AS
(SELECT "[email protected]" as NAME
OF THE DOUBLE
UNION ALL
SELECT "[email protected]" AS NAME
THE DOUBLE)
SELECT THE CHECK BOX
WHEN INSTR (NAME, '_') = 0
THEN REPLACE ((SUBSTR (NOM, 1, (INSTR (NOM, ' @'))-1)),)
'_',
''
)
WHEN INSTR (NAME, '_') > 0
THEN SUBSTR (NAME, 1, (INSTR (NAME, '_') - 1))
END
T
Kind regards
friend
Post edited by: mostwanted!
Post edited by: mostwanted!
Tags: Database
Similar Questions
-
Hello
As part of the optimization of performance,
I want to find the query using pid is there any display.
And the level of the os I received SUPERIOR command, using OS level pid can we find the query? HELLP me...
Thank you
Srini...Srini says:
HelloAs part of the optimization of performance,
I want to find the query using pid is there any display.
And the level of the os I received SUPERIOR command, using OS level pid can we find the query? HELLP me...
Thank you
Srini...As
SQL>select s.sql_id,ss.sql_text from v$session s,v$process p,v$sqlarea ss where s.PADDR=p.ADDR and s.sql_id=ss.sql_id and p.SPID=18985;
Where
p.SPID = 18985 is your process id of the operating system. -
How to find the query select bind variables
How to extract the variable name to bind to AS suite of sql queries
' SELECT NAME IN: NAME OF THE DOUBLE '
or
"SELECT * FROM WHERE DOUBLE (: NAME = NAME)".
or
"SELECT * FROM WHERE DOUBLE: NAME IS NULL'."
or
"SELECT * FROM WHERE DOUBLE: NAME | NAME = LAST_NAME'
or
' SELECT * FROM DUAL WHERE: a = 10'
or
"SELECT * from where DOUBLE: A > = 10'.
or
"SELECT * from where DOUBLE: A < = 10 '.
Give a solution using SUBSTR, REGEXP_SUBSTR, please answer quickly
best answer will be marked correct/good...Search: and then search for the following word breaker then have the substr for them: and the separator.
You can build an own function to find the same. -
I can't find the query option to scroll on the window of the effect
Hi, I would like to use the motion of scrolling, but I can't find this option on the windows of the effect (see my screenshot). Can someone help me?
The version of Muse is "Updated", I use a MacbookPro 13 the retina, with the Mavericks. Italian version of Muse
Thank you
Luca
Hello Luca,
You can find the "Scrolling Effects" option, as shown in this screenshot: http://screencast.com/t/kLI07niXE
I hope this helps.
See you soon
Parikshit
-
Find the query executed in webcenter content triggered from portal...
HelloI want to see what query executed in webcenter content of the portal. How to see in the newspaper?
1. connect to the administration Webcenter content Administrator console, navigate to Administration - "Audit Information System.
2 'Sections Tracing Information' section, make a backup of the Sections "active."
3. in the 'Active' chapters, add the new criteria:
systemdatabase, search *, requestaudit
4. Select 'Full Verbose', 'Save', then 'Refresh '.
5. in the upper right corner, click on "View Server output" it will show the SQLs as below below.
-
Dear all,
I have a request from 10g to oracle HRMS attendance table.
My requirement is that I need to get the latest information used without reducing the number of employees.
A B C D E
683162 67 0.5 27/04/2015 27/04/2015 691322 61 20 08/12/2015 31/08/2015 691323 61 3 09/01/2015 09/03/2015 700286 61 1 09/04/2015 09/04/2015 Here's my query:
Select min (date_start) leave_from, max (date_end) leave_to, to_number (sum (absence_days)) days
of per_absence_attendances paba
where paba.person_id =
select (separate ppf.person_id
of ppf, paf per_assignments_f per_people_f
where ppf.person_id = paf.person_id
and ppf.employee_number = '11190'
)
and date_end > = all (select date_start-1 in per_absence_attendances where person_id = paba.person_id)
Output for the above query:
09/01/2015 09/04/2015 4 Here, I'm able to get the last 2 records, but my requirement is like a continuous vacation, I'm supposed to get the last 3 records.
08/12/2015 09/04/2015 24 Please can someone help me get this.
Thank you
with
as example
(select date ' 2014-12-01' date_from, date ' 2014-12-10' date_to of all the double union)
Select date "2015-06-01,'date ' 2015 - 06 - 10 minutes of union double all the"
Select date "2015-08-15', date ' 2015-08-31 the Union double all the"
Select date "2015-09-01,'date ' 2015 - 09 - 10 minutes of union double all the"
Select date "2015-09-11,'date '' 2015-09-11 of the double"
)
Select min (date_from) leave_from, max (date_to) leave_to, sum (days) days
(select date_from, date_to, days,
Sum (SOG) during grp (date_to order),
Sum (SOG) on last_grp (order by date_to lines between unbounded preceding and following unbounded)
from (select date_from, date_to, date_to - date_from + 1 days,
-case when lag(date_to,1,date_from) (date_to layout order)! = date_from - 1
then 1
end from sog
example
)
)
where PRV = last_grp
LEAVE_FROM LEAVE_TO DAYS 15/08/2015 11/09/2015 28 Concerning
Etbin
-
Hi Expert,
I use under query mentioned I join two table but in the second table cclean.vm_cellc_postal_address b I must add one more on condition that
If con b.street code is 3 digit as 123 and then add the prefix 0 (AND TRIM (a.post_code) = TRIM (b.street_code) ;)
SELECT a.address_id AS address_id,
a.Line_1 AS line_1
a.City CITY,
b.Town CITY,
a.State AS State,
SUBSTR (b.province, 0, LENGTH (b.province) - 1) AS a province.
a.clean_status as clean_status,
b.street_code
FROM (SELECT ah.address_id, ah.suburb, ah.line_1, ah.city,
Ah.post_code, ah.state, ah.country, ah.clean_status
OF cclean.vm_processed_address_history ah
WHERE ah.suburb IS NOT NULL
AND ah.post_code IS NOT NULL
AND SYSDATE BETWEEN ah.effective_start_date
AND ah.effective_end_date
AND ah.suburb IS NOT NULL
AND ah.post_code IS NOT NULL
AND NVL (UPPER (ah.clean_status), 'NONE') <>'
AND (UPSTAIRS (line_1) NOT AS 'PRIVATE BAG % %')
AND SUPERIOR (line_1) NOT LIKE '%p % % BOX.
)) a,
cclean.vm_cellc_postal_address b
WHERE TRIM (UPPER (a.suburb)) = TRIM (UPPER (b.suburb))
AND (TRIM (UPPER (NVL (a.city, 'dummy_value'))) <>
TRIM (UPPER (b.town))
OR GARNISH <>(UPPER (NVL (a.state, 'dummy_value')))
TRIM (UPPER (SUBSTR (b.province, 0, LENGTH (b.province) - 1)))
)
AND TRIM (a.post_code) = TRIM (b.street_code);You can use the logic in where condition but not sure about the performance. In any case find the query below with logic
SELECT a.address_id AS address_id,
a.Line_1 AS line_1
a.City CITY,
b.Town CITY,
a.State AS State,
SUBSTR (b.province, 0, LENGTH (b.province) - 1) AS a province.
a.clean_status as clean_status,
b.street_code
FROM (SELECT ah.address_id, ah.suburb, ah.line_1, ah.city,
Ah.post_code, ah.state, ah.country, ah.clean_status
OF cclean.vm_processed_address_history ah
WHERE ah.suburb IS NOT NULL
AND ah.post_code IS NOT NULL
AND SYSDATE BETWEEN ah.effective_start_date
AND ah.effective_end_date
AND ah.suburb IS NOT NULL
AND ah.post_code IS NOT NULL
AND NVL (UPPER (ah.clean_status), 'NONE') '
AND (UPSTAIRS (line_1) NOT AS 'PRIVATE BAG % %')
AND SUPERIOR (line_1) NOT LIKE '%p % % BOX.
)) a,
cclean.vm_cellc_postal_address b
WHERE TRIM (UPPER (a.suburb)) = TRIM (UPPER (b.suburb))
AND (TRIM (UPPER (NVL (a.city, 'dummy_value')))
TRIM (UPPER (b.town))
OR CUT (UPPER (NVL (a.state, 'dummy_value')))
TRIM (UPPER (SUBSTR (b.province, 0, LENGTH (b.province) - 1)))
)
AND decode (length (TRIM (a.post_code)), 3, '0' |) TRIM (a.post_code), TRIM (a.post_code)) = TRIM (b.street_code); -
Query to find the name of the partition
Hi all
I'm a little surprised to see that it is not a column I can use to query the name of the partition for a table, in the case of partition of Internval per day...
I'm looking for a simple query find the name of the partition for the word partition of today ' today... Am I missing something?
Ask something like...
Select nom_partition from dba_Tab_partitions where table_name = 'XYZ' and TO_DATE(HIGH_VALUE,'DD-MON-YYYY') = April 2, 2014"
High value being a long column, lets you convert CHAR or DATE?
Thanks in advance
Then, you create a copy of dba_tab_partitions, since you can only convert the LONG data during an insertion type or create the table.
From Dan article: «just...» If you have a LONG, and you want to appear more than it, you must use TO_LOB to convert it during either an INSERT INTO
or a CREATE TABLE As
. Everything else is just wasting time. " -
Half of my Word document disappeared while I was working on it. I tried to use the back arrow to recover, but Word is closed. How can I find the history of the document so I can revert to a saved version the earlier?
I hope that you have a Time Machine backup that you can use to revert to a previous version. If it is then maybe you shared the document with someone else by e-mail and get get an old copy of your sent e-mail.
-
Find seems to have changed in Firefox. Before, when making a (CTRL + F) to find, research was not specific or non-specific to the caps CAPS. "In other words, if I typed in"firefox"(without ceiling), it will find the words"firefox,"Firefox", or "FIREFOX", regardless of capitalization. Now, however, the function finds will only match exact same capitalization. Totally, this undermines the usefulness of the service and is a major concern. Please fix.
This has happened
A few times a week
== I noticed in during the two or two weeks.
Make sure that the "match case" box in the find (Ctrl + F) bar is not activated.
Start Firefox in Firefox to solve the issues in Safe Mode to check if one of your modules is causing your problem (switch to the DEFAULT theme: Tools > Modules > themes).
See the extensions, themes and problems of hardware acceleration to resolve common troubleshooting Firefox problems and troubleshooting questions with plugins like Flash or Java to solve common Firefox problems -
I tried to tap three fingers on the trackpad to find the definition of a word in an article. It did not work. How can I put a definition of the word in an article published in El Capitan? I googled this question and he said to three fingers on the trackpad, of the band which is what I tried without success.
carolfromknoxville wrote:
I tried to tap three fingers on the trackpad to find the definition of a word in an article. It did not work. How can I put a definition of the word in an article published in El Capitan? I googled this question and he said to three fingers on the trackpad, of the band which is what I tried without success.
Highlight the word, right-click on it and select "search... "with the white line that represents all that is the word. It will pull up from the definition in the dictionary.
-
Windows 95, saying that it cannot find the Source Word 95 path
Cannot find the Source Word 95 path
In what context you get this error, and what is the exact wording of the error message?
-
I have the book of James Joyce Ulysses saved to a file and the chapters saving serpated in other files. When I search a few words is displayed the results of the chapters yet, i.e. to show the full file of novel and chapters. Anyone know why this might be. Thank you.
Hello
- The question appears with the specific document type?
- Research work earlier? If so, remember to make changes to the computer before the question?
You can try to change advanced indexing option:
http://Windows.Microsoft.com/en-us/Windows7/change-advanced-indexing-options
Improve Windows searches using the index: frequently asked questions
You do not find the files when you are looking for a Windows Vista-based computer, even if the files exist on the computer
-
Excel (and PDF) cannot find the printer installed from Windows update - Word may however
Since the installation of an update for Windows Vista (as requested) last week, I lost some features in a number of programs. I was able to restore. Excel Help, when I try to print the printer installed is not found; the same happens when I try to print PDF files, but Word documents seem to find the printer.
http://www.bleepingcomputer.com/tutorials/tutorial140.html
Understanding Windows Update and Extras in Windows Vista at the link above.
Remove the Vista updates; two ways to do this:
1. a System Restore to before the updates:
Click Start > programs > Accessories > system tools > System Restore > restore time/choose your own date > next
If you use Norton, disable it before using the system restore.
If it is impossible to enter the Normal Mode, do a Safe Mode system restore:
Press F8 at the startup/power and the list of startup options, use THE ARROW key to select Safe mode > and then press ENTER.
System restore steps according to the info above.
Also:
2. click on start > right click on computer > properties > Windows updates down the lower left corner > updates installed in the lower left corner in the next window
> then click the one that you don't want > uninstall will appear at the top > uninstall it.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In addition, on the page where you clicked "Installed updates", click on change settings at the top left corner it
> Change update settings in the next page of AutoUpdate to "check for updates but let me choose etc" > OK ".
When you take a look at pending updates, you can either download/install them one at the time, namely the update causing you problems.
> or if you do not need an individual > right-click on > UAC prompt > hide it
See you soon.
Mick Murphy - Microsoft partner
-
How do you find the "Windows Word" on Windows 7?
Original title: I don't know how to 'find' Windows Word on my Windows 7 program. I'm used to the windows XP with microsoft word. Help
I now have windows 7. But the lack of skills with computers, I do not know how to find the windows on this one word.
I still have my disk for windows XP, but someone told me that they are not compatable. ???
I want to take the paintings, etc. in the documents. I have something on my computer that says OpenOffice but he does not seem to "word".
Now my trash can tells me he's corrupt!
Saturday, July 3, 2010 17:06 + 0000, kindergarten teacher wrote:
I now have windows 7. But the lack of skills with computers, I do not know how to find the windows on this one word.
You don't think, if she isn't here.
Windows 7, nor any other version of Windows has never included
Excel, Word, PowerPoint, Access, or any other important application
software. These programs must be purchased, either by themselves, or as
part of Microsoft Office.If your old computer running an earlier version of Windows, came
with Word, it is because the seller who sold it he delivered in the context of
the package that he has sold, no not because this version of Windows came with
it. sellers of some, but not all, do the same with Windows 7 computers (but if they do, it is very likely that a trial version).I still have my disk for windows XP, but someone told me that they are not compatable. ???
Sorry? What Windows XP disc? Do you mean Office XP? If so, it's
least in part right. It is not completely compatible with Windows 7.
You may be able to use it, but some things will not work, or do not work
correctly.I want to take the paintings, etc. in the documents. I have something on my computer that says OpenOffice but he does not seem to "word".
OpenOffice is a free office suite which is quite similar to Microsoft
Office (which is far from free). You won't find one word, but you
try to use its processor, which looks a lot like Word.Now my trash can tells me he's corrupt!
Sorry, I don't understand that. Please clarify what you mean, and
provide the text verbatim correct any error message.Ken Blake
Maybe you are looking for
-
I do not see my devices on itunes
I've recently updated to the latest version of ITunes and now I can't see my devices to change the content.
-
Can't associate my Apple for my Apple Watch pay credit card
I just added my credit card in my Wallet to pay for the first time 6 Apple iPhone. He asked if I wanted to pair it with my Apple Watch, I said yes. It was about 20 minutes ago. It is frozen on the screen 'Add now' since then, no change. Apple Watch i
-
What kind of antivirus is good for use with Windows xp
I have Windows xp on my pc but I need to know what antivirus is good to use with this kind of window?
-
Update of Internet Explorer 9 and crash to get instant dumping errors blue screen for nvidia
Cannot run any hardware nvidia screen when starting explore 9 or by a service pak, without a computer by launching a "crashdump" blue towards the top and windows not start correctly and trying to 'settle' which may not
-
Keyboard layout has changed. Symbol and the number of keys do not work properly.
my friend borrowed my computer and then I came home and tried to send someone. When I type I can't get the shift to capitalize the letters or the numeric keys to make an exclamtion, or the sign or dollar etc... can you help me.