need help in decoding
HelloCan someone write me help to decode for conditional and not in the event
If substr (branch,-2, 2) = '00'
= 'N'
ELSE IF BW_SRC_TBL = 'Ease' AND the branch is present in the PS_UNDRAWN_GL_EXCEPTION table, then = ' don't
On the other
« Y »
Hello
A good example of why do you use CASE:
NVL ( DECODE ( SUBSTR (branch, -2)
, 'N' , DECODE ( bw_src_tbl
, 'Facility', DECODE ( SIGN (( SELECT COUNT (*)
FROM ps_undrawn_gl_exception
WHERE branch = m.branch -- m refers to main query
))
, 1 , 'N'
)
)
)
, 'Y'
)
Tags: Database
Similar Questions
-
Need help to decode javascript tag for the release of HTML5.
Hi all
I'm working on a project in Adobe captivate 7 64 bit which consists of approximately 500 slides with most of the slides in text and image. The problem that I face is very unusual that I guess I'm the first to discover (according to my searches on google and the forums). So, after I publish my project the output works very well in html (local and online) BUT when I run index.html (i.e., out of HTML5) the course is not running and the screen is blank.
After spending a week on the search online and using the strategy of trail and error, I was able to know that it was the text of the URL "F:\usrnew\purchase" placed in the middle of the course which caused damage of all. However, the url has been removed and the project has been submitted.
After extra time, I discovered that the "\u" letter which is a JavaScript tag was causing the problem for the release of HTML5. I don't really know much to script, but discovered that the tag can be decoded using a programming strategy. Now, this is where my knowledge comes from a standby and needs a lift from you guys.
Any ideas, help, sharing of knowledge would be very useful to me and all who could deal with this problem in the future.
Looking forward for your point of view.
Kind regards
Mirza
Voila! The problem is resolved.
Solution: Change the single slash "------" to a double slash "\".
See you soon,.
Mirza
-
Oracle Version: 11.2.0.2.0
I need assistance with the output of the query. Here is the table.
With Tbl_Nm as
(
Select 'ABC1' SYSTEM_ID, REGION 'US', 'CHI' SUB_REGION 4000 BALANCE, to_date('1-JUN-2012 10:45:00 am', 'dd-mon-yyyy hh:mi:ss am') LAST_UPD_TIME, 'A' FLAG of union double all the
Select 'PQR2', 'UK', 'LN', 2000, To_Date('1-JUL-2012 10:46:00 am', 'dd-mon-yyyy hh:mi:ss am'), has ' starting from dual Union All
Select 'ABC1', 'IND","MAMA", 3500, To_Date('1-AUG-2012 11:47:00 am', 'dd-mon-yyyy hh:mi:ss am'), 'A' from dual Union All
Select "LMN3", "US", "NJ", 2500, To_Date('1-SEP-2012 09:49:00 am', 'dd-mon-yyyy hh:mi:ss am'), 'A' from dual Union All
Select "PQR2", "UK", "MC", 2600, To_Date('1-OCT-2012 04:45:00 am', 'dd-mon-yyyy hh:mi:ss am'), 'A' from dual Union All
Select 'ABC1', 'US', 'NY', 3200, To_Date('1-OCT-2012 06:45:00 am', 'dd-mon-yyyy hh:mi:ss am'), has ' starting from dual Union All
Select "LMN3", "UK", "BT", 2400, To_Date('1-NOV-2012 07:45:00 am', 'dd-mon-yyyy hh:mi:ss am'), has ' From Dual
)
Select * from tbl_nm
I need the output below.
PQR2 UK MC 2600 1 OCTOBER 2012 04:45
ABC1 US NY 3500 October 1, 2012 06:45
LMN3 UK BT 2500 November 1, 2012 07:45
The need the disc according to this system_id flagged as "A". But if the last disc of 'd' then it must show that the amount, but the file should be displayed in 'A '.
I've tried a few and got stuck. Help, please. Not able to get a balance '.
This question is a bit similar to needing help with a query result
With Tbl_Nm as
(
Select 'ABC1' System_Id, region 'US', 'CHI' Sub_Region, 4000 balance, To_Date('1-JUN-2012 10:45:00 am', 'dd-mon-yyyy hh:mi:ss am') Last_Upd_Time, 'A' flag of double Union All
Select 'PQR2', 'UK', 'LN', 2000, To_Date('1-JUL-2012 10:46:00 am', 'dd-mon-yyyy hh:mi:ss am'), has ' starting from dual Union All
Select 'ABC1', 'IND","MAMA", 3500, To_Date('1-AUG-2012 11:47:00 am', 'dd-mon-yyyy hh:mi:ss am'), 'A' from dual Union All
Select "LMN3", "US", "NJ", 2500, To_Date('1-SEP-2012 09:49:00 am', 'dd-mon-yyyy hh:mi:ss am'), 'A' from dual Union All
Select "PQR2", "UK", "MC", 2600, To_Date('1-OCT-2012 04:45:00 am', 'dd-mon-yyyy hh:mi:ss am'), 'A' from dual Union All
Select 'ABC1', 'US', 'NY', 3200, To_Date('1-OCT-2012 06:45:00 am', 'dd-mon-yyyy hh:mi:ss am'), has ' starting from dual Union All
Select "LMN3", "UK", "BT", 2400, To_Date('1-NOV-2012 07:45:00 am', 'dd-mon-yyyy hh:mi:ss am'), has ' From Dual
)
Select System_Id, region, Sub_Region, Balance, Last_Upd_Time of Tbl_Nm T1
where t1. Last_Upd_Time = (select max (Last_Upd_Time) in the Tbl_Nm T2 where T1.) SYSTEM_ID = T2. SYSTEM_ID)
So maybe you'd then
ORDER BY DECODE(flag,'D',9,1) ASC...
to get the Ds at the end of the list.
or
ORDER BY CASE WHAT flag = has ' (your other filters) AND then 9 or 1 end CSA,...
HTH
-
Need help to write a sub query
Our environment - Oracle 10 g
Hi all
Need help to write a sub query to reach him here are examples of data using which iam trying to replace the value column in the table based on two other columns in the same table
Examples of data
ClaimNo flag LineNo Procedurecode
100 01 N MN4567
100 02 Y 7863
100 03 N MN8976
100 04 Y 9000
101 01 Y 8954
101 02 N MN6754
101 03 N MN7654
101 04 Y 8976
102 01 Y 1234
102 02 Y 2345
102 03 Y 3456
102 03 Y 4567
Each column of ClaimNo has several rows of data. But if column procedurecode for a claimNo starts with MN then all values associated with the claimno for the flag column should replace N
If the data must become like below
ClaimNo flag LineNo Procedurecode
100 01 N MN4567
100 02 N 7863
100 03 N MN8976
100 04 N 9000
101 01 N 8954
101 02 N MN6754
101 03 N MN7654
101 04 N 8976
102 01 Y 1234
102 02 Y 2345
102 03 Y 3456
102 03 Y 4567
Thank youSee the example:
with t as ( select 100 ClaimNo, '01' LineNo, 'N' Flag, 'MN4567' Procedurecode from dual union all select 100, '02', 'Y', '7863' from dual union all select 100, '03', 'N', 'MN8976' from dual union all select 100, '04', 'Y', '9000' from dual union all select 101, '01', 'Y', '8954' from dual union all select 101, '02', 'N', 'MN6754' from dual union all select 101, '03', 'N', 'MN7654' from dual union all select 101, '04', 'Y', '8976' from dual union all select 102, '01', 'Y', '1234' from dual union all select 102, '02', 'Y', '2345' from dual union all select 102, '03', 'Y', '3456' from dual union all select 102, '03', 'Y', '4567' from dual ) select claimno, lineno, flag, case when count(decode(substr(procedurecode,1,2),'MN',1)) over(partition by claimno)>0 then 'N' else flag end new_flag, procedurecode from t
Kind regards
Sayan M. -
Hi all
I have the following code:
and the example of dataset is as below:SELECT t1.firm_id, COUNT (t1.item_req_seq_num), DECODE (t2.selection_code, '1', COUNT (t2.selection_code)) selected, DECODE (t2.selection_code, '2', COUNT (t2.selection_code) ) alternate, t3.firm_name FROM prime_firm_item_submit t1, results_select_committee t2, firm_information t3 WHERE t1.prime_firm_submittal_id = t2.prime_firm_submittal_id AND t1.firm_id = t3.firm_id AND t2.selection_code IN ('1', '2') GROUP BY t1.firm_id, t2.selection_code, t3.firm_name
FIRM_NAME FIRM_ID COUNTY (T1. ITEM_REQ_SEQ_NUM) SELECTED ALTERNATE
ABC Inc. 1 26 26
ABC Inc. 1 1 1
Thomas LLC 3 1 1
2257 1 1 ARON
94 16 16 Carrie tech
Tech 94 1 1 Carrie
Keiths 9 10 10
Z & Z 1 1 454
What I want to achieve is, FOR example the ABC Company has 26 + 1 total record, I want to see them as a line 27, 1 26 selected and another... just like a line is possible possible? need help please.
Published by: thinkingeye on May 11, 2010 13:02
-
my iphone need help doesent work!
my iphone need help doesent work! 5 minutes ago my iphone 4S felt on the ground and now it doesent start but I can still hear the sound of loading until I can do?
PS: Sorry for my bad English, I'm from the Germany
Try restarting it by maintaining deep-set buttons home and power together. It may take up to 20 seconds. If she does not return to life, better make an appointment at the genius bar to your Apple store.
-
Recently had to withdraw Windows 10 votes against 7, on doing so, iTunes didn't work. I tried to remove iTunes, but get an error not found the path iTunes6464.msi. So I can't uninstall. I tried to download the latest version, but when it comes to uninstall the old version it fails because it cannot find this file. Need help to remove and reinstall so it can connect again my devices.
See this user of ASC. See the section on deleting and reinstalling iTunes. Troubleshooting problems with iTunes for Windows updates
-
NEED HELP Please im having a problem to forget my password and when I plug it it says its locked with a password he tried to put the itunes thing but it says enter password I put in what I rember, then said lokced for five minutes help me pls
Without knowing the password for your iPhone, there is no way to unlock it, bring even you to the Genius Bar. If you continue to enter the wrong password, you will be locked out of your iPhone, and your data will be unaccessable.
-
I need help to recover my iphone
I got my iphone 6 for more than two years know I default to set up factory reset me gives error tha my sim card is not supported, but I've been with you even with the phone sim card before I reset it please need help.the phone imei-* please help me.
< personal information under the direction of the host >
It sounds as if your iPhone may have been hacked for use with the carrier that you used, and now that you have updated, it is locked to the original carrier.
-
Need help to install iTunes v12.4.3.1 Windows 10
I've tried everything to make it work:
1. I tried to disable my antivirus before installing
2. I tried to install as administrator
3. I have tried to uninstall all relevant applications of apple.inc, restart my pc and then install again
4. I tried to update my Windows
I had iTunes installed before on my Pc with Windows 10, but two days ago, I restored my pc and now I can't install it.
Please I need help
The message "an error occurred during the installation of assembly ' Microsoft.VC80.CRT, type ="win32", version ="8.0.50727.6195", publicKeyToken ="1fc8b3b9a1e18e3b", processorArchitecture is...» "may occur because a particular library file is not included in the supplied with iTunes distribution package or will not be installed because some unspecified reason. Install Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package MFC security update before you attempt to reinstall iTunes can help.
There are three files to choose from if you need choose the one that matches the processor architecture of your system, which must be indicated in the error message.
- Vcredist_x86. EXE - 32 bit systems
- vcredist_IA64. EXE - Itanium processors
- VCRedist_x64. EXE - other 64-bit systems
When to reinstall iTunes, right-click on the Setup and run as administrator.
See troubleshoot problems with iTunes for Windows updates for more information if necessary.
TT2
-
photos were deleted from my phone? !!! need help urgent pls
So I'll start from the beginning.
So at the beginning I had 5200 pictures and everything was fine, except that I couldn't take any pictures on Snapchat. So I decided to delete some pictures. Except sometimes just deleted photos would return as 2 seconds. And sometimes I would say 5 photos selected, but I couldn't see anything selected? Or I have to press SELECT again and again.
at least one forward a few hours and I received on my phone, except that now it says I have only 3600 pictures! I lost a few photos, especially those previously on my phone, then some of the pictures I deleted months ago as last year are back. And I have pictures on my recently removed, but not the ones I lost!
I feel that my phone is somehow back in time or something.
And I lost a few photos of a wedding and I regret totally stayed so much (((pls est de toute façon??))
also, I need help using http://www.ipad-converters.org/recover-photos-from-iphone/ this type also.
Hello
When you recharge an iPhone / iPad, it will be saved up to iCloud on wifi you
Restore the original configuration.
When configuring back it will ask you if you want to use iCloud backup say yes
Use the backup of a time where you had all your photos.
See you soon
Brian
-
After I updated my iPod wants a lock to activate I need help ASAP
After I updated my iPod lack of activation I need help ASAP
Help here > If you do not activate your iPad, iPhone or iPod touch after installing iOS 9.3 - Apple Support
-
Hey, need help. I get this in my iPhone that 'there is a problem of billing with a previous purchase. Please update your payment method"anyway I can remove my visa card from iTunes?
You must pay your debt first.
-
I need help I want to retrieve my mac pro book
I need help I want to retrieve my mac pro book and now I can not bcz Yosimoto os is not avilabe what can do?
< object edited by host >
If you have installed Yosemite by downloading it from the App Store, it will be in your App Store purchases tab. If Yosemite is currently installed, when you start in the recovery Partition (command - R on a restart), you can reinstall Yosemite. In the recovery Partition, you can also restore Time machine and disk utility is available.
-
My iPhone's screen is loose and it's almost fall! I need help!
I need help! How can I do? I need help! How can I do? I need help! How can I do? I need help! The screen was pressed by my body, so the screen is loose. And the screen becomes softer and more flexible. But the screen can be used normally, the screen is loose and it's almost fall.
Take your iPhone to an Apple Store or Service Center authorized Apple for an assessment and advice how to proceed.
Maybe you are looking for
-
Here, we are now in 2016 with reports to Apple software business model DVD cruelly lacking since 2006, never watch those discussions? I find strange ways in which very few companies supply of DVD models, either for just a one disc until disc DVD box
-
Problem with the buttons 'Internet' and ' CD/DVD"on the Satellite X 200 - 22U
Hello I use a laptop Toshiba Satellite X 200 - 22U with Windows Vista Home Premium.My problem is: I want to create an application to start with multimedia keys ('Internet', 'Disc'). I registered it with TOSHIBA, but the buttons ' CD/DVD' and 'Interne
-
NB100 - Recovery vs iso from usb DVD
Hello! I bought Toshiba NB100 with pre-installed XP Home Edition and now I want to reinstall it using Toshiba Recovery DVD I got with the netbook.The problem is that I have no DVD player in this laptop and I don't want to buy a scanner of the Clerksh
-
HP Envy 5660: Redefine the time on the screen HP Envy 5660
The time displayed on the screen of my printer HP Envy 5660 is false. How can I adjust it to the correct time?
-
Cannot remove viruses because I'm not an administrator
Original title: I had a virus on my computer & AVG finishes analysis, so I went to the file it keeps stopping at & it won't let me remove it. How can I delete? It is said that I must be an administrator. I had a virus on my computer & AVG finishes an