good SEO of the elements being passed to the procedure.
I'm moving the values of the following page: P3_LAST_NAME and: P3_BUSINESS_UNIT in a procedure, but they are not saved in the database. I can hardcode a value and it works. Is it good SEO as shown below?DECLARE
v_return_string VARCHAR2 (500);
BEGIN
v_return_string: = ddb_utils_pkg.f_cs_box_assign(:P3_LAST_NAME,2,:P3_BUSINESS_UNIT);
end;
Thank you
Chris
How are you points P3_LAST_NAME and P3_BUSINESS_UNIT defined?
In my last example, P297_BUDGET_HEADER_SEQ, display text (State record)
Source used - always, replacing all existing...
Source - type static assignment...
Tags: Database
Similar Questions
-
I work with a third-party provider that adds agricultural markets that will update every 10 minutes on my site of muse. I'm a designer by trade, and they are the html code. They have problems with my original design elements being pushed around when they add the js include. They recommend at this time that I use another program like Wordpress, but I won't do that, because a large part of the site is designed and just add the markets. Here is the link to the site. At this point, the home page is the question. I can also provide a screen shot of how markets are supposed to look like
This part does not seem too difficult.
I bet they are now trying to "knit" their share of data right in your Muse- generated page, and they tell you that your code is terrible (and their smells like daisies). The usual clash...
But it might be easier for you (and many others) if they offer their content as a separate page of small, so you can incorporate it as an iframe tag in an HTML object in Muse. No matter what code for permission to host the iframe, could be inserted as a simple script in Panel of Options of Page of Muse.
-
No problem with SEO and the Muse
Hello, I have a general question about SEO, I have a client who wants to build a sensitive site, which will replace the current. It is very good except that the existing one has biological research excellent results on google, even the time to first page. The new muse site will keep it or google see it as a new site and drop it is the ranking?
You should have no problem if it is done well. Of course some links page will change if you add 303 redirects. You can google how to do that.
But if it is configured correctly, you should have no problem.
-
How to assign values to the nested table and passes as a parameter for the procedure?
How to assign values to the nested table and passes as a parameter for the procedure?
Here are the object and its type
create or replace type test_object1 as an object
(
val1 varchar2 (50).
val2 varchar2 (50).
VARCHAR2 (50) val3
);
create or replace type test_type1 is table of the test_object1;
create or replace type test_object2 as an object
(
val1 varchar2 (50).
val2 varchar2 (50).
VARCHAR2 (50) val3
);
create or replace type test_type2 is table of the test_object2;
GRANT ALL ON test_object1 to PUBLIC;
GRANT ALL ON test_type1 to PUBLIC;
GRANT ALL ON test_object2 to PUBLIC;
GRANT ALL ON test_type2 to PUBLIC;
Here is the table object type:
create the table test_object_tpe
(
sl_num NUMBER,
Description VARCHAR2 (100),
main_val1 test_type1,
main_val2 test_type2
)
NESTED TABLE main_val1 STORE AS tot1
NESTED TABLE main_val2 STORE AS earlier2;
-----------------------------------------------------------------------------------------------------------
Here is the procedure that inserts values into the nested table:
PROCEDURE INSERT_TEST_DATA (sl_num in NUMBER,
Description in VARCHAR2,
p_main_val1 IN test_type1,
p_main_val2 IN test_type2
)
IS
BEGIN
FOR rec in p_main_val1.first... p_main_val1. Last
LOOP
INSERT INTO xxdl.test_object_tpe
(
sl_num,
Description,
main_val1,
main_val2
)
VALUES
(
sl_num
description
test_type1 (test_object1)
p_main_val1 .val1 (CRE),
p_main_val1 .val2 (CRE),
p_main_val1 .val3 (rec)
)
)
test_type2 (test_object2 (p_main_val2 .val1 (CRE),
p_main_val2 .val2 (CRE),
p_main_val2 .val3 (rec)
)
)
);
END LOOP;
commit;
END INSERT_TEST_DATA;
-------------------------------------------------------------------------------------------
Here are the block anonymoys what values attributed to the object type and pass values in the procedure:
Set serveroutput on;
declare
p_sl_num NUMBER: = 1001;
p_description VARCHAR2 (50): = 'Test Val1;
inval1 test_type1: = test_type1();
inval2 test_type2: = test_type2();
Start
inval1 (1) .val1: = "testx1";
inval1 (1) .val2: = "testx2";
inval1 (1) .val3: = "testx3";
inval2 (1) .val1: = "testy1";
inval2 (1) .val2: = "testy2";
inval2 (1) .val3: = "testy3";
CSI_PKG. INSERT_TEST_DATA (sl_num = > p_sl_num,)
Description = > p_description,
p_main_val1 = > inval1,
p_main_val2 = > inval2
);
end;
/
Someone can correct me.
Thank you
LavanThanks for posting the DOF and the sample code but whenever you post provide your Oracle version 4-digit (result of SELECT * FROM V$ VERSION).
>
How to assign values to the nested table and passes as a parameter for the procedure?
>
Well you do almost everything bad that could be hurt.Here is the code that works to insert data into your table (the procedure is not even necessary).
declare p_sl_num NUMBER := 1001; p_description VARCHAR2(50) := 'Testing Val1'; inval1 test_type1 := test_type1(); inval2 test_type2 := test_type2(); begin inval1.extend(); inval1(1) := test_object1('testx1', 'testx2', 'testx3'); inval2.extend(); inval2(1) := test_object2('testy1', 'testy2', 'testy3'); INSERT INTO test_object_tpe ( sl_num, description, main_val1, main_val2 ) VALUES (p_sl_num, p_description, inval1, inval2); commit; end; /
See example 5-15 making reference to an element of nested Table Chapter 5 using PL/SQL collections and records in the PL/SQL doc
http://docs.Oracle.com/CD/B28359_01/AppDev.111/b28370/Collections.htm#CJABEBEA1. you don't even have the procedure because it is a simple INSERTION in the table you can do directly (see my above code)
inval1(1).val1 := 'testx1';
Since you have not yet created all the elements, there is no element 1 "inval1". You need EXTEND the collection to add an element
inval1.extend();
And then, there is an empty element, but "inval1" is a container for objects of type 'test_object1' not for scalars as "val1", "val2", and "val3".
If you can not doinval1(1).val1 := 'testx1';
You must create an instance of 'test_object1 '.
inval1(1) := test_object1('testx1', 'testx2', 'testx3');
And so on for the other collection
You don't need the procedure (as my code example shows), but once you fill in the variables correctly it will work.
-
Which book is good to learn the fundamentals of SQL?
Hello world
I am preparing for the exam-1Z0-051 (Oracle Database 11g: SQL Fundamentals I).
I want to know which of the two works is best for the preparation and covers each topic in great depth.
1 oracle Database 11 g SQL by Jason Price
2 oracle Database 11 g the complete reference by Kevin Loney
I have no prior experience in SQL. Your advice will be appreciated.
Thank you
Deepika
Published by: user12054553 on July 26, 2010 09:21Hello
Here is a book that got good reviews:
Oracle SQL By Example (4th Edition) Alice Rischert, 2009 Publisher is Prentice-Hall. ISBN-10: 0137142838 ISBN-13: 978-0137142835
Unfortunately, I don't have a copy, so this 'recommendation' is hearsay. It is very well regarded. Personally, I like to learn by example.
The remaining books I mentioned are not specific Oracle (which, depending on your point of view, could be a good thing)
I use the following book to learn SQL:
SQL Cookbook By Anthony Molinaro Publisher: O'Reilly Pub Date: December 2005 Print ISBN-10: 0-596-00976-3 Print ISBN-13: 978-0-59-600976-2
I recommend this book with some reservations. In most of the solutions he gives he relies on totally artificial relationships in the data (relying on anything other than forced relationships in the data is a very bad thing to do!). If you study the way I do then, these bad solutions are actually a good thing, reworking poor solutions into something that is worthy of the production is a great exercise. Finally, if you have decided to learn by using this book, you will need to read the Oracle manuals for complete information (good thing to do anyway.)
I also used
The Practical SQL Handbook By Judy S. Bowman, Sandra L. Emerson and Marcy Darnovsky Publisher: Addison Wesley Publishing ISBN: 0-201-62623-3
I consider this book a very good book. Chapter 2 is probably the best short, concise and lucid explanation I've read about how design and normalize a database, why index, no index on a column and other basic concepts of database design. (I want that most DBAs had read this chapter :(). Information on these topics are presented in a single chapter, however, they do a better job at what other books do hundreds, if not thousand + pages. Their explanation of the SQL language is good, but slow the pace for my taste. However, Chapter 2 alone is worth the price of the book.
Finally, is something I recommend, do not learn only what the test requires. You want to KNOW your stuff. The test is a mere formality, being aware of what they ask, but do not limit your knowledge development in the area defined by the test.
HTH and good luck,
John.
-
I'm looking for a good book on the fuse box.
Hello
I'm looking for a good book on the fuse box.
Anyone know what is the latest version and what is a good book for beginners?
Thank you
As far as I KNOW, it's the 'latest and greatest' fusebox book, (which covers 4.1).
http://www.techspedition.com/store/moreinfo.cfm?product_id=10
FB 5 was recently released... recently enough that there is no book for her. I'm not sure that the 4.1 (above) book sales will be justified it being ever a book on 5.
There are many examples of applications on the site of the fuse box, and John Beynon has a great series of tutorials on FB 4 on his blog at http://john.beynon.org.uk/index.cfm?mode=cat&catid=8C3B9E31-802D-00D5-73ADB5D764E60C74
I know that the $85 price tag may seem a bit steep for the book of FB 4.1... but this is a good book and is one of the few (if- not - only) complete book on a relatively recent version of FB.
Which, in addition to the sample applications on the fusebox site should be a lot of documentation.
-
Text is broken when scanning to the TOP of the page; but good scan to the bottom of the page. The text looks like a shotgun was fired through it. It has been good both ways until the last update. This isn't a problem in other programs, including Internet Explorer. I have a picture to show you, but there is no link here to attach.
After you click Allow, I had... The add-on could not be downloaded due to an error on the support site.
Try to create a new Boolean pref on the subject: config page via the context menu with the name layout.paint_rects_separately and set to true and leave hardware acceleration enabled.
See the 414 comment in bug 812695:
If this help then try to disable hardware acceleration in Firefox (you will need to close and restart Firefox).
- Tools > Options > advanced > General > Browsing: "use hardware acceleration when available.
-
Firefox 8 ads make it look good with all the possibilities. But when installed it's like the old Firefox and the news is simply not there. Why bother to install the most recent?
Right-click the menu bar and uncheck the option menu bar.
-
I'm reading a file mpeg and Windows Media Player C00D1199 error. How to get good download of the missing codec? I have windows 7 x 64 os.
All is not lost.
Download and install a pack of codecs, such as K-Lite (Google for it). You can find THAT WMP can then read the file.OrDownload and install a small program called Gspot (Google it)! Drag and drop in its window one of the files, you can't plzy. It will tell you which codecs are used. You can then download and install the only after doing a search on the web for it.See you soon,.Jerry -
What should I do to have a foreign key that is displayed in the SEO of the entities on the DIAGRAM LOGIC...
I am trying to set options for this logical diagram will be displayed with the attributes of foreign keys referring to entities (target).
I've implemented all show options (found on the forums of DM suggestions) for schema settings and all the attributes of entity entities.on level. But still no change, while in the entity of all major aattributes are seen.
I use the version 4.0.2.840 Data Modeler (logical diagram).
Thanks for the reply,
Hello
FK attributes do not appear in the Barker notation, then you have to change the rating.
Philippe
-
How to pass the value of the cursor in the procedure to use as dblink
Hello
I have a cursor in the procedure. I am inserting some values into the destination table by querying the source table using dblink. And I'm collecting this db link in the cursor. So, my question is how I will pass on the value of dblink values read from the cursor in each iteration? This is my procedure.
CREATE OR REPLACE PROCEDURE desktop_proc AS v_name VARCHAR2(10); v_dblink VARCHAR2(10); CURSOR db_cur IS SELECT PNAME,OLTP_DBLINK FROM PDATA WHERE pname in ('RMA','RNA') ORDER BY PNAME; BEGIN OPEN db_cur; LOOP FETCH db_cur INTO v_name,v_dblink; EXIT WHEN db_cur%NOTFOUND; INSERT INTO desktop_lite ( Datestamp, pname, Db_name, Company_name ) SELECT Date_Range, v_name, -- local variable dbname, Company_name FROM (SELECT bu.datestamp Date_Range, (SELECT name FROM v$database@v_dblink) dbname, bu.name Company_name FROM dboltp.s_org_ext@v_dblink bu INNER JOIN com_unique uusers ON (uusers.bu_id = bu.row_id) ); END LOOP; CLOSE db_cur; END desktop_proc;
Thank you
Maybe this can work for you:
CREATE OR REPLACE PROCEDURE desktop_proc AS v_name VARCHAR2(10); v_dblink VARCHAR2(10); v_statement varchar2(2000); CURSOR db_cur IS SELECT 'test_name' dual_name, 'test_dbl' dual_link FROM dual; BEGIN OPEN db_cur; LOOP FETCH db_cur INTO v_name,v_dblink; EXIT WHEN db_cur%NOTFOUND; v_statement := ' INSERT INTO desktop_lite ( Datestamp, pname, Db_name, Company_name ) SELECT Date_Range, '''|| v_name || ''', dbname, Company_name FROM (SELECT bu.datestamp Date_Range, (SELECT name FROM v$database@' || v_dblink || ') dbname, bu.name Company_name FROM dboltp.s_org_ext@' || v_dblink || ' bu INNER JOIN com_unique uusers ON (uusers.bu_id = bu.row_id) )'; dbms_output.put_line (v_statement); -- execute immediate v_statement; -- first look at the statments you produce, then uncomment and test it END LOOP; CLOSE db_cur; END desktop_proc; / show err exec desktop_proc
This is my result, it seems that this can work:
INSERT INTO desktop_lite
(
Timestamp,
PName,
Db_name,
Company_name
)
SELECT Date_Range,
"test_name."
dbname,
Company_name
Of
(SELECT bu.datestamp Date_Range,
Dbname (SELECT name FROM v$database@test_dbl).
Bu.Name Company_name
Dboltp.s_org_ext@test_dbl drunk
INNER JOIN com_unique uusers ON (uusers.bu_id = bu.row_id)
)
-
Hello 11/18/2015 I bought Illustrator photo and ask the Adobe site plan for individuals with credit cards, but to date I have not received the confirmation email. How can I contact for more information on the good end of the order?
Your subscription to cloud shows correctly on your account page?
If you have more than one email, you will be sure that you use the right Adobe ID?
https://www.adobe.com/account.html for subscriptions on your page from Adobe
.
If Yes
Some general information for a subscription of cloud
Cloud programs don't use serial... numbers you, connect you to your cloud account paying to download & install & activate... you may need to sign out of the cloud and restart your computer and log into the cloud for things to work
Sign out of your account of cloud... Restart your computer... Connect to your paid account of cloud
-Connect using http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html
-http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html
-http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html
-http://helpx.adobe.com/creative-suite/kb/trial--1-launch.html
-ID help https://helpx.adobe.com/contact.html?step=ZNA_id-signing_stillNeedHelp
-http://helpx.adobe.com/creative-cloud/kb/license-this-software.html
.
If no
This is an open forum, Adobe support... you need Adobe personnel to help
Adobe contact information - http://helpx.adobe.com/contact.html
Chat/phone: Mon - Fri 05:00-19:00 (US Pacific Time)<=== note="" days="" and="">===>
-Select your product and what you need help with
-Click on the blue box "still need help? Contact us. "
-
Can anyone suggest a good diet for the HP p6214y
I get upgraded my HP P6214y with a new GTX 460 graphics card and I need to know a good diet for the card.
Can anyone suggest any good? I'm looking for 550w and more. Money is not a problem.
Karen,
The Corsair VX 550 will work as the Corsair HX 650. I have the Corsair HX 650 and the NVIDIA GTX 460.
How to replace a power supply.
These "how-to" HP articles should be useful.
-
The execution of a function in the procedure, passed as parameter string
Hello
He must create a function, pass the name of the function to a procedure, and then run this function in the procedure.
For example:
Hello from the FUNCTION to CREATE or REPLACE
RETURN NUMBER
IS
BEGIN
RETURN 23;
END;
/
CREATE OR REPLACE PROCEDURE pro_fun (v_fun VARCHAR2, v_cal OUT NUMBER)
IS
BEGIN
v_cal: = exec v_fun; <-error on this line
END;
/
Now my plsql block annonymous where I'm passing function as sting of procedure:
DECLARE
VARCHAR2 (30) v1.
NUMBER of v2;
BEGIN
v1: = "Hello";
pro_fun (v1, v2);
DBMS_OUTPUT. Put_line ('VALUE IS' | v2);
END;
/
pro_fun (v1, v2);
*
ERROR on line 6:
ORA-06550: line 6, column 1:
PLS-00905: object SCOTT.PRO_FUN is not valid
ORA-06550: line 6, column 1:
PL/SQL: Statement ignored
How below line of procedure must be written to perform this function.
v_cal: = exec v_fun;
Try something like this:
create or replace function forum_hello return number
is
Start
Back to 123;
end forum_hello;
/
create or replace procedure forum_call_function (function_name_in in varchar2)
is
number of l_returnvalue;
Start
run immediately "begin: l: = ' |" function_name_in |'; end;' using l_returnvalue;
dbms_output.put_line (l_returnvalue);
end;
/
exec forum_call_function ('forum_hello')
Sincere greetings,
Patrick Barel
-
Hello
I wanted to know "how to do something to confirm the physical ESX servers have 2 good trails in the SAN script" via power Cli script.
Kindly help me for the script
Thank you
KR
Try the following lines
Get-VMHost | Get-ScsiLun | Select @{N="Hostname";E={$_.VMHost.Name}}, CanonicalName, @{N="Active Paths";E={($_ | Get-ScsiLunPath | where {$_.State -ne "dead"}).Count}}
It will show the number of deaths per LUN non-chemins
Maybe you are looking for
-
Get rid of the app I don't want my children to use
Hello I left my children download an application (Roblox) that I would prefer that they use no more. I remove the app from my screen, but when I go back to the app store, it allows immediately to me (or my child) download/install again without a pass
-
But I used iPod Classic to niece to AZ. I will be able to activate it on my behalf
Knowing that I had trouble with my now discontinued iPod classic my niece to AZ sent me one that is no longer using his family. He always has his name on it and a song. I'll be able to activate in my name here in New York?
-
Satellite A-P70-11R - drive Blu - Ray from Toshiba does not work after windows 10
Hello Please can someone help with my Satellite P70-A-11R I have upgraded to Windows 10My Blu - Ray player would not work but the DVD worked,All drivers OK I tried to update and it said to remove old version first.I uninstalled it, then says cannot i
-
Apple. Ive updated my ipad and activate it, that ive never been asked before, I need the apple id and password that were used when I put in place. It was 8 years ago and Ive long since forgotten. Then how the * either override the need to activate de
-
Hello I have occasional problems when combining audio regions. Here are my steps: 1. join the parts of two tracks: Edit > join > regions Image 1 2. audio regions are combined successfully in stereo (picture 2). Image 2 I have repeat step 1 for the ot