With regard to the decode function
Hi allI want to know abt decode function in sql-oracle
I... e passing parameters to decode using decode using the ': ' bind the parameter
Select the WORK, decode(:j,'CLERK','MANAGER','ANALYST','EXEC',JOB) of EMP;
I declared the variable j in sql environment
VARCHAR2 (20) OF THE VARIABLE J;
I have the query exec
and had the clerk as an input parameter
but the o/p as iam
JOB DECODE(:J)
--------- ---------
MANAGER
MANAGER
MANAGER
SELLER SELLER
SELLER SELLER
SELLER SELLER
CLERK CLERK
SELLER SELLER
THE ANALYST ANALYST
CLERK CLERK
THE ANALYST ANALYST
JOB DECODE(:J)
--------- ---------
CLERK CLERK
12 selected lines.
SQL > PRINT J;
J
--------------------------------------------------------------------------------
im not getting o/p
so please hlelp me only: should be used not &
This is my first thread.
execuse me if no errors
tons of thanks in advance to all
Hello
We can try like this...
Begin
: j: = 'CLERK ';
end;
/
then, we execute your SQL query as below...
Select the WORK, decode(:j,'CLERK','MANAGER','ANALYST','EXEC',JOB) OF the EMP
where JOB =: j;
I think that this will solve your problem
Kind regards
Soak the Sevin rana
Tags: Database
Similar Questions
-
With regard to the update of the locations of cards-oracle
HII everyone,
In my application, we using mapviewer, which was installed locally on our server, for map rendering and showing the locations of a client like pinball machines.
Suppose that some places (address, City) is updated map... How mapviewer (which has been installed on our server locally) will update this site all in rendering...
Thank you
learner
It depends on how you got the map features. Mapfeatures are usually stored in the cache. If a change in database may not appear in the card immediately. If, however, given the characteristics of the map as a vectorlayer, then simple vector update updates map. You should consider two options with regard to the update database process. You can store the geometry as a function that is updated on the fly as change attributes of database, or you may use a database trigger to update the geometry when the attributes change. Thus, using a combination of correct space architecture and mapviewer correct functions.
-
With regard to the application of Nook on the Surface RT. Is there a way to change the way that newspapers appear? Like corners, they give a better way to navigate and get the overview for the different sections.
Probably not "such what." Next time you launch the application, make sure that the menu bar to it and see if there is a feedback icon. You may be able to comment on what features you want and they can do just that.
-
I had Photoshop CS for a while. I use it for one purpose, which is to standardize my bronze products photos, all photos are identical with regard to the composition, lighting, backgrownd, actually, I always place the pillar of satisfaction even scale and then only switch products bronze... a simple task of worm. For this reason I have is no need to upgrade my old version of Photoshop. My problem is that it doesn't work anymore since Windows 10 recently installed in my PC. IO have tried to install it several times but can't. Is anyone out there help me please!
Activation for CS is closed. Adobe provides you with a free replacement of CS2.
Uninstall CS
Go here: Download Adobe Acrobat 7 and Adobe Creative Suite 2 products
Click English, download Photoshop CS2 and also copy the serial number that comes with it.
Install CS2 and use this serial number CS2. There no need activation.
Take your copy of the CS, it is no longer usable.
-
With regard to the previous discussion on the recent settings of the workspace page
With regard to the post without any control in the preferences and that my custom workspace save as I wanted. Here is how I had to define it.
, when I went back to answer, there is no way to reply to the post. After trying the settings using the provided screenshots, page of recent files always came every time. So the answers you have provided are not correct for my particular case. Finally, I triedThank you.
It is doubly strange. I just check and that the other thread is not locked and can be answered. Someone else has a problem, you reply to this thread.
Secondly, I turn off the settings described works for me and Photoshop opens without MRU and start work space.
You did _uncheck_ these settings? I like the new workspaces, so mine are checked, but it clearly says _Show_ at the beginning of each line.
-
Hi, I'm developing a simple mobile app in DW CC 2015 using JQuery Mobile. LIKE I need the list view with description of the product, functionality and image, I would like to connect with database instead of "writing" all the tables in the bearings inside the Jquery page. In the future I would also be able to add, to remove the DB records. Any help, tutorial... Thanks TG
I would like to connect with the database instead of "writing" all the tables in the bearings inside the Jquery page
This is usually done with a CMS (content management system). There are commercial products CMS like WordPress, Joomla and perch. You create one or several layouts and then create pages of these page layouts using the CMS. In this way, it is possible to have hundreds of pages, each with unique content, but a page layout that can be managed in a place of sharing.
CMSs on shelf don't require programming skills. Otherwise, some of us write our own CMS with custom functions, but this requires back-end, as with PHP programming.
-
With regard to the management of exceptions in coherence
Hello
I use c ++ connection of consistency
try {}
String::handle gridHandleCache = GridCacheName;
if(hCommCache == null) {}
hCommCache = CacheFactory::getCache (gridHandleCache);
}
else {}
"cost < <" Info: "< < GridCacheName < <" Cache already in a State of assets "< < endl;"
}
}
{catch (exception::handle Vex)}
"' cost < < ' consistency exe;
}
{} catch (std::exception (e)
cost < < e.what ();
}
catch (...) {
cost < < 'unknown exception ';
}
When the error occurred (duration or other errors), I still get an exception unname. It will never enter the Exception::Handle part of vex.
When he calls on Wrestling (Exception::Handle vex) {.} I want to separate the duration and connection error ecpetion sepeartyely.
Can I know what would cause / or how to handle it separately.
What are the mistakes is possible to connect / put/get/invoke (touchprocessor). serializable cast?
-Thank you
Edited by: 882600 August 31, 2011 05:51There are several ways to achieve this. Perhaps the simplest is to simply catch Exception as std::exception const &, or one of its derivatives, then call what(). However, if you want to use the specific exception hierarchy richer consistency, you can get the equivalent of the what() result by calling getDescription()-> getCString(). With regard to the rankings largely what types of exceptions are "fatal", which would be RuntimeException and its derivatives, but the scope which it was caught in general is going to be more telling.
Mark
The Oracle coherence -
Need help with the DECODE function
Hello
I try to use by default within the decode service and whenever I get a missing expression. I searched everywhere and can not know what I am doing wrong. Thank you
Select decode (request_id, 0, "no file found", by DEFAULT)select decode (request_id,0,'No files found', request_id)...
-
With regard to the function of hyperlink of Indesign
Recently, I find a surprising case of indesign about hyperlink function. I use the hyperlink function to make a URL like "www.t-mobile.com" to make sure that the URL can be skipped correctly in Acrobat 6 or a lower version. Then I opened the PDF file and put the tool on the URL. I wonder that the URL is not correct (appeared as the screenshot below). I try to find out why it happens. I remove the "hyphen" between the 't' and 'mobile' and re - create a PDF file for a quick glance. Then, everything's fine. If someone please advise? Thanks in advance.
The way in which a hyperlink is provided and the name referenced in the hyperlink Panel, you can use a half-quadratín in the address. But the way he entered the URL of the Panel option: http://www.t-mobile.com, you must use a regular dashboard for the hyperlink to work.
-
Hello world
The requirement is to filter a LOV based on a date entered by the user and a condition that uses DECODE. If : update or : pSystemLinkageFunctionDate Exchange then the LOV should be updated. So, I created a VO of read-only by using SQL. But I can't create a view of criteria that uses the DECODING. What approach would be the best method to meet this requirement?
Select
PET.expenditure_type
pet.start_date_active
pet.end_date_active
petsl.start_date_active
petsl.end_date_active
petsl.system_linkage_function
Of
pa_lookups pl
pa_expend_typ_sys_links petsl
pa_expenditure_types pet
pa_system_linkages psl
where 1 = 1
and pet.unit_of_measure = pl.lookup_code
and pet.expenditure_type = petsl.expenditure_type
and petsl.system_linkage_function = psl.function
and pl.lookup_type = 'UNIT '.
and: pDate between nvl(pet.start_date_active,:pDate)
and nvl(pet.end_date_active,:pDate)
and: pDate between nvl(petsl.start_date_active,:pDate)
and nvl(petsl.end_date_active,:pDate)
and petsl.system_linkage_function = decode(:pSystemLinkageFunction,'L','S','E')
James
Hi Timo,
ADF business components: 11.1.1.62.29
Platform Java (TM): 1.6.0_24
Oracle IDE: 11.1.1.6.38.62.29
Support for version control: 11.1.1.6.38.62.29
Thanks for the link... I'll take a look. However, the DECODING work now; I wasn't quite deep in the stack trace to find the error that turned out be related to one of the dregs.
James
-
With regard to the release of view
Hello
The code below is of the view, it refer to output such as planned at the end of the code
The output of the view is as follows:create or replace view c2v_borr_secu_rpt as select bank_cust_id --1 , bank_company_id --2 , client_id --3 , cust_name --4 , segment_id --5 , seg_name --6 , sector_id --7 , sector_name --8 , industry_id --9 , industry_name --10 , client_group_id --11 , group_name --12 , npa_status --13 , restructured --14 , acl_id --15 , asset_class --16 , sub_acl_id --17 , sub_asset_class --18 , b_retail --19 , sum(advances_outstanding) advances_outstanding --20 , sum(investments_outstanding) investments_outstanding --21 , sum(Tot_FB_Outstanding) Tot_FB_Outstanding --22 (20+21) , sum(nfb_nmr_outstanding) nfb_nmr_outstanding --23 , sum(nfb_mr_outstanding) nfb_mr_outstanding --24 , sum(Tot_NFB_Outstanding) Tot_NFB_Outstanding--25 (23+24) , sum(advances_undisbursed) advances_undisbursed --26 , sum(investments_undisbursed) investments_undisbursed --27 , sum(Tot_FB_Undisbursed) Tot_FB_Undisbursed --28 (26+27) , sum(nfb_nmr_undisbursed) nfb_nmr_undisbursed --29 , sum(nfb_mr_undisbursed) nfb_mr_undisbursed --30 , sum(Tot_NFB_Undisbursed) Tot_NFB_Undisbursed --31 (29+30) , sum(Total_Outstanding) Total_Outstanding --32 , sum(Total_Undisbursed) Total_Undisbursed --33 , sum(Total_Exposure) Total_Exposure --34 , sum(own_bank_td) own_bank_td --35 , sum(own_bank_current_a_cs) own_bank_current_a_cs --36 , sum(own_bank_saving_a_cs) own_bank_saving_a_cs --37 , sum(own_bank_rd) own_bank_rd --38 , sum(Fund_Based_Security) Fund_Based_Security --39 (35+36+37+38) , sum(security_code_lc) security_code_lc --40 , sum(security_code_bg) security_code_bg --41 , sum(other_secu) other_secu , sum(Non_Fund_Based_Security) Non_Fund_Based_Security --42 (40+41) , sum(Total_Liquid_Security) Total_Liquid_Security --43 (39+42) , sum(Tot_Exposure_after_Tot_Secu) Tot_Exposure_after_Tot_Secu -- 44 (34-43) , sum(Tot_FBC_before_Tot_secu) Tot_FBC_before_Tot_secu -- 45 (22+28) , sum(Tot_FBC_after_Tot_FB_secu) Tot_FBC_after_Tot_FB_secu --46 (45-39) , sum(Tot_NFBC_before_Tot_secu) Tot_NFBC_before_Tot_secu --47 (25+31) , sum(Tot_NFBC_after_Tot_NFB_secu) Tot_NFBC_after_Tot_NFB_secu --48 (47-42) -------------------------------------------------------------------------------- , sum(provisions) provisions --49 , sum(sec_alloc_after_srf) sec_alloc_after_srf --50 , trading_book_outstanding --51 from ( select bank_cust_id --1 , bank_company_id --2 , client_id --3 , cust_name --4 , segment_id --5 , seg_name --6 , sector_id --7 , sector_name --8 , industry_id --9 , industry_name --10 , client_group_id --11 , group_name --12 , npa_status --13 , restructured --14 , acl_id --15 , asset_class --16 , sub_acl_id --17 , sub_asset_class --18 , b_retail --19 , advances_outstanding --20 , investments_outstanding --21 , (advances_outstanding+investments_outstanding) as Tot_FB_Outstanding --22 (20+21) , nfb_nmr_outstanding --23 , nfb_mr_outstanding --24 , (nfb_nmr_outstanding+nfb_mr_outstanding) as Tot_NFB_Outstanding --25 (23+24) , advances_undisbursed --26 , investments_undisbursed --27 , (advances_undisbursed+investments_undisbursed) as Tot_FB_Undisbursed --28 (26+27) , nfb_nmr_undisbursed --29 , nfb_mr_undisbursed --30 , (nfb_nmr_undisbursed+nfb_mr_undisbursed) as Tot_NFB_Undisbursed --31 (29+30) , (advances_outstanding+investments_outstanding) + (nfb_nmr_outstanding+nfb_mr_outstanding) as Total_Outstanding --32 , (advances_undisbursed+investments_undisbursed) + (nfb_nmr_undisbursed+nfb_mr_undisbursed) as Total_Undisbursed --33 , (advances_outstanding+investments_outstanding) + (nfb_nmr_outstanding+nfb_mr_outstanding) + (advances_undisbursed+investments_undisbursed) + (nfb_nmr_undisbursed+nfb_mr_undisbursed) as Total_Exposure --34 , own_bank_td --35 , own_bank_current_a_cs --36 , own_bank_saving_a_cs --37 , own_bank_rd --38 , other_secu , (own_bank_td + own_bank_current_a_cs + own_bank_saving_a_cs + own_bank_rd + other_secu) Fund_Based_Security --39 (35+36+37+38) , security_code_lc --40 , security_code_bg --41 , (security_code_lc + security_code_bg) as Non_Fund_Based_Security --42 (40+41) , (own_bank_td + own_bank_current_a_cs + own_bank_saving_a_cs + own_bank_rd) + (security_code_lc + security_code_bg) as Total_Liquid_Security --43 (39+42) -------------------------------------------------------------------------------- , (case when ((advances_outstanding+investments_outstanding + nfb_nmr_outstanding+nfb_mr_outstanding + advances_undisbursed+investments_undisbursed + nfb_nmr_undisbursed+nfb_mr_undisbursed) - (security_code_lc + security_code_bg)) < 0 then 0 else ((advances_outstanding+investments_outstanding + nfb_nmr_outstanding+nfb_mr_outstanding + advances_undisbursed+investments_undisbursed + nfb_nmr_undisbursed+nfb_mr_undisbursed) - (security_code_lc + security_code_bg)) end) as Tot_Exposure_after_Tot_Secu -- 44 (34-43) , (advances_outstanding+investments_outstanding + advances_undisbursed+investments_undisbursed) as Tot_FBC_before_Tot_secu -- 45 (22+28) , (case when ((advances_outstanding+investments_outstanding + advances_undisbursed+investments_undisbursed) - (own_bank_td + own_bank_current_a_cs + own_bank_saving_a_cs + own_bank_rd)) < 0 then 0 else (advances_outstanding+investments_outstanding + advances_undisbursed+investments_undisbursed) - (own_bank_td + own_bank_current_a_cs + own_bank_saving_a_cs + own_bank_rd) end) as Tot_FBC_after_Tot_FB_secu --46 (45-39) , (nfb_nmr_outstanding+nfb_mr_outstanding + nfb_nmr_undisbursed+nfb_mr_undisbursed) as Tot_NFBC_before_Tot_secu --47 (25+31) , (case when ((nfb_nmr_outstanding+nfb_mr_outstanding + nfb_nmr_undisbursed+nfb_mr_undisbursed) - (security_code_lc + security_code_bg)) < 0 then 0 else ((nfb_nmr_outstanding+nfb_mr_outstanding + nfb_nmr_undisbursed+nfb_mr_undisbursed) - (security_code_lc + security_code_bg)) end) as Tot_NFBC_after_Tot_NFB_secu --48 (47-42) -------------------------------------------------------------------------------- , provisions --49 , sec_alloc_after_srf --50 , trading_book_outstanding--51 from ( -------------------------------------------------------------------------------- select nvl((select e.bank_cust_id from c2u_exposure e, c2m_exposure me where t.limit_id = me.limit_id and e.exposure_id = me.exposure_id and t.limit_exp_id = 3), (select u.bank_cust_id from c2u_limit u where u.limit_id = t.p_limit_id)) bank_cust_id , (select c.bank_company_id from c2u_client c where c.client_id = d.client_id) bank_company_id , t.client_id ---------------------Client Details , (select c.cust_name from c2m_client c where c.client_id=t.client_id) as cust_name , (select m.bankcode from mst_mktsegment m where m.seg_code= d.segment_id) as segment_id , (select m.seg_name from mst_mktsegment m where m.seg_code= d.segment_id) as seg_name , (select m.sector_bankcode from mst_sector m where m.sector_code= d.sector_id) as sector_id , (select m.sector_name from mst_sector m where m.sector_code= d.sector_id) as sector_name , (select m.industry_bankcode from mst_industry m where m.industry_id = d.industry_id) as industry_id , (select m.industry_name from mst_industry m where m.industry_id = d.industry_id) as industry_name , d.client_group_id , (select g.client_group from c2c_client_group g where g.client_group_id = d.client_group_id) as group_name , (case when t.b_npa=1 then 'Yes' else 'No' end) as NPA_Status , (case when t.b_restructured=1 then 'Yes' else 'No' end) as Restructured , t.acl_id , (select c.acl from c2c_acl c where c.acl_id =t.acl_id) as asset_class , t.sub_acl_id , (select c.acl from c2c_acl c where c.acl_id =t.sub_acl_id) as sub_asset_class , (case t.b_retail when 1 then 'Retail' when 0 then 'Non-Retail' end) as b_retail ----------------------Outstanding , (case when f.class_id = 1 and t.b_funded =1 then t.outstanding else 0 end) as Advances_Outstanding , (case when f.class_id = 4 and t.b_funded =1 then t.outstanding else 0 end) as Investments_Outstanding , (case when f.class_id = 3 and t.b_funded =0 then t.outstanding else 0 end) as NFB_NMR_Outstanding , (case when f.class_id = 2 and t.b_funded =0 then t.outstanding else 0 end) as NFB_MR_Outstanding ----------------------Undisbursed , (case when f.class_id = 1 and t.b_funded = 1 then nvl((t.ua_limit_ccy*t.ccy_cf),0) else 0 end) as Advances_Undisbursed , (case when f.class_id = 4 and t.b_funded = 1 then nvl((t.ua_limit_ccy*t.ccy_cf),0) else 0 end) as Investments_Undisbursed , (case when f.class_id = 3 and t.b_funded = 0 then nvl((t.ua_limit_ccy*t.ccy_cf),0) else 0 end) as NFB_NMR_Undisbursed , (case when (f.class_id = 2 and t.b_funded = 0) then nvl((t.ua_limit_ccy*t.ccy_cf),0) else 0 end) as NFB_MR_Undisbursed -----------------------Fund Based Security Value , nvl((select sum(s.security_value) from c2m_ls s, c2c_bk_secu b where t.limit_id=s.limit_id and b.bk_secu_id=s.bk_secu_id and b.ref_secu_id in ('D001','D007','D008','D009','D010')),0) as OWN_BANK_TD , nvl((select sum(s.security_value) from c2m_ls s, c2c_bk_secu b where t.limit_id=s.limit_id and b.bk_secu_id=s.bk_secu_id and b.ref_secu_id in ('D003')),0) as OWN_BANK_CURRENT_A_CS , nvl((select sum(s.security_value) from c2m_ls s, c2c_bk_secu b where t.limit_id=s.limit_id and b.bk_secu_id=s.bk_secu_id and b.ref_secu_id in ('D004')),0) as OWN_BANK_SAVING_A_CS , nvl((select sum(s.security_value) from c2m_ls s, c2c_bk_secu b where t.limit_id=s.limit_id and b.bk_secu_id=s.bk_secu_id and b.ref_secu_id in ('D002')),0) as OWN_BANK_RD , nvl((select sum(s.security_value) from c2m_ls s, c2c_bk_secu b where t.limit_id=s.limit_id and b.bk_secu_id=s.bk_secu_id and b.ref_secu_id not in ('D001','D007','D008','D009','D010','LC','BG')),0) as OTHER_SECU -----------------------Non Fund Based Security Value , nvl((select sum(s.security_value) from c2m_ls s, c2c_bk_secu b where t.limit_id=s.limit_id and b.bk_secu_id=s.bk_secu_id and b.ref_secu_id in ('LC')),0) as Security_code_LC , nvl((select sum(s.security_value) from c2m_ls s, c2c_bk_secu b where t.limit_id=s.limit_id and b.bk_secu_id=s.bk_secu_id and b.ref_secu_id in ('BG')),0) as Security_code_BG -------------------------------------------------------------------------------- , t.provisions , nvl((select sum(s.net_security_value) from c2m_ls s where s.limit_id=t.limit_id and t.b_crm = 0),0) as sec_alloc_after_srf , nvl((select sum(e.outstanding) from c2m_tb e where e.client_id=t.client_id),0) as trading_book_outstanding from c2m_limit t, c2m_client d, c2c_bk_facility f where d.client_id = t.client_id and t.bk_facility_id = f.bk_facility_id )t2 ) group by bank_cust_id --1 , bank_company_id --2 , client_id --3 , cust_name --4 , segment_id --5 , seg_name --6 , sector_id --7 , sector_name --8 , industry_id --9 , industry_name --10 , client_group_id --11 , group_name --12 , npa_status --13 , restructured --14 , acl_id --15 , asset_class --16 , sub_acl_id --17 , sub_asset_class --18 , b_retail, trading_book_outstanding;
Client_ID cust_name... bank_company_id Bank_cust_id total_outstanding... trading_book_outstanding
999009735 1002 ADITYA 10329249.93 RETS1 100000
999009735 1002 ADITYA 10329249.93 RETS2 100000
999009224 1000 500000 5074566764 MANPPURAM RETS3
1000 999009224 MANPPURAM 1573753.67 CBS1 5074566764
the desired output, I need is: the bank_conmpany_ID must be unique, even if there is a different Bank_cust_id, production is expected to be only 2 rows - one with 999009735 and 999009224
How can I change the view?Please also read the manual on the aggregate functions and the GROUP BY clause.
K.
-
Hello
I need to retrieve data from the table corresponding to the purchase date after oct1...
So I have the query like this:
PURCHASE_DATE > = (LAST_DAY (ADD_MONTHS (SYSDATE,-3))) + 1
but that query gives me the purchase goes back to oct2... oct 1 sales is not recovered...
What is wrong with the request... help me
Thanks in advancetrunc(purchase_date) >= to_date('01-OCT-2009','dd-mon-yyyy')
or if you prefer your code adds the truncate function.
trunc(PURCHASE_DATE) >= trunc(LAST_DAY(ADD_MONTHS(SYSDATE,-3)))+1)
without the truncate function you are also including time to your state. and it is possible that your data of purchase_date could have October 1, 2009 which has the time beyond the current system date time. for example
purchase_date = 01-OCT-2009 05:30:00 PM LAST_DAY(ADD_MONTHS(SYSDATE,-3)))+1 = 01-Oct-2009 11:59:23 AM
If you wrap the 'purchase_date' and ' LAST_DAY (ADD_MONTHS (SYSDATE,-3))) + 1 "with the TRUNC function excludes the time."
purchase_date = 01-OCT-2009 LAST_DAY(ADD_MONTHS(SYSDATE,-3)))+1 = 01-Oct-2009
-
With regard to the total of a line
Hi Experts,
I have a report that the HS as a scheme where there is declaration of prod and date and the amount sold is there. Now my problem is if I want to display the sum of the total amount before a specific date to say(8/31/2009) for the year 2009 in a steamer.
My reprot should show me the overall sum of the quantity sold before that particular date chosen for this year in a single line. the date that is selected is dynamic.
can I reach through the MSUM functionality.
Can someone help me...First of all, I agree with the previous poster: If you want to help your specific problem, describe it accurately (and briefly). Second, award points if it is useful. This shows the label forum. There are enough posts in this forum to explain what it means that I won't go into it save to say look at the high post by Justin Kesterly, one of the moderators of the RTO. Now about your problem...
Yes, you will need guests and presentation variables dashboard for your (now more complicated than your question first, but still doable) goal.
The first question is building correctly your report. Once this is done, you can basically follow the same procedure I gave above to get your total great line.
What you need is a column that displays your measure for the "two months" and another column to view your measure "for the rest of the months of the year.
Look at this link:
http://oraclebizint.WordPress.com/2008/03/11/Oracle-BI-EE-101332-rolling-yearMonth-and-date-filters-moving-window-filters/
Modify this to get the number of months (the blog is about years). (This blog gives the flexibility to the user to limit the report to the "current year" and "return of two months".) You can, of course restrict the scope of your report if required).
Using the information collected from your guests, you can now calculate your two measure columns using the column filter (see filters on columns for details) and the PVs and TIMESTAMPADD function.
This should give you enough to help you get started.
Now, click in the top right of my two posts where you see 'useful' before you forget! ;)
-
Stop(); with regard to the strange
I work in CS4 and uses a movieClip in a movieClip.
I call the stop function, and it stops the two MCs, I did never happen before, and I'm rather confused.
I made sure that I am in AS2 (as I use other ingredients that have been made using AS2). The only other thing I can think of that I do differently is that he is in a MC which is mixture is set to layer and cached as a bitmap.
I am quite puzzled. How to fix this?
Use the movie Explorer and
1. find the actionscript only: stop().
then check the list of the movieclips that you don't want to stop. If it is listed, remove any stop (de).
2. then look for in actionscript only to: (.gotoAndStop)
3. then look for in actionscript only to:
. stop() -
Hi all
When I execute this function and runing I get a null value.please let me know why he makes the error value.
Thanks in advance...
Kind regards
Ajay.
function HR_VAL_LAST_NAME_FNC (last_Name_Emp in varchar) return varchar is
lv_Emp_Name varchar (50);
BEGIN
IF(last_Name_Emp is null) THEN
RETURNS A NULL VALUE.
ON THE OTHER
RETURN lv_Emp_Name;
END IF;
/
execution of the function:
Declare
test_value varchar (100);
BEGIN
test_value: = HRC_EMP_VALIDATION_PKG.hr_val_last_name_fnc ('ajay');
dbms_output.put_line (' name :'|| test_value);
END;lv_last_Name: = HRC_EMP_VALIDATION_PKG.HR_VAL_LAST_NAME_FNC (CRE. Last_name);
function HR_VAL_LAST_NAME_FNC (last_Name_Emp in varchar) return varchar is
lv_Emp_Name varchar (50);
BEGINdbms_output.put_line ("'f1 for the name");
IF(last_Name_Emp is null) THEN
RETURNS A NULL VALUE.
ON THE OTHER
RETURN lv_Emp_Name;
END IF;
END HR_VAL_LAST_NAME_FNC;(1) default and function or procedure declared values will be set to null.
lv_Emp_Name 2), you have declared this variable in your function that is default null, and you try to return the same variable which will obviously be null when you return.
what you can do now is
Add this code before the if condition.lv_Emp_Name: = last_Name_Emp;
Kind regards
Maury
Maybe you are looking for
-
How to type accents in Spanish on my mac keyboard - what is options?
-
My Satellite C855-10Z wouldn't turn on
Hello I came to the work and my knees don't turn upward. I had left the charger plugged into the wall, but not plugged into the laptop. The laptop ran out of battery during the day because it was not supported. As expected, it won't turn and so I plu
-
Tecra M2: vertical stripes on the screen!
I have a laptop Tecra M2, which (to this day) starts with a display of colorful vertical stripes that gradually change color and width over time - trippy!The laptop is password protected, and I can always connect (although can't see what I'm doing).
-
I install the officejet 4630. I can't select my home network but my passsword router offers and I'm unable to understand how to put spaces in the password at the keyboard. I've thought about changing the router password but I have no idea how to do
-
How read .cvs web server?
Hello I assumed it would be easy, but I'm not having any luck here... I would create a VI to read each of the .cvs file located on a local web server (see imagesfor more details). Any suggections? Thank you Pete