Save SQL select output as html page on another box.
How can I save a simple sql select output on another server as a html page?
Hi,
You can use the Oracle product WebDB (Oracle Portal) to create reports in HTML over the DB (simplest way).
Instead You can use SQL*Plus on the remote server (where You want to spool), enable the spool to file (using SPOOL) and create the select as
SELECT 'html tags' | | field/s | | 'html tags'
FROM your_table;Using this solution You have to manually "draw" the report.
Hope this helps.
Bye Max
null
Similar Messages
-
Insert one html page into another html page
Hi there,
I wonder if sombody can help. I am trying to insert one short
html page into another page. I could not find any option or feature
in Dreamweaver that allow me to insert the page at all. The page I
want to insert has the links and it is a short page, just like a
banner. When I update the links on that page it will update all
other pages in the website. I do not have to open many pages to
update. I have been using FrontPage and I am now converting to
Dreamweaver. Some codes from FrontPage does not work in
Dreamweaver. I would very much appreciate if somebody can help with
the codes.
This is my website so that you can understand what I mean. At
the top of the screen there are many links that are from one page I
inserted into index.html. I use FrontPage. But, Dearmweaver does
not work that way.
Thank you. KevinBe aware that IFrames carry all the disadvantages that frames
do, for both
you and your client's visitors.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"polarl light" <[email protected]> wrote in message
news:g06ad0$2rm$[email protected]..
>
>> I wonder if sombody can help. I am trying to insert
one short html page
>> into
>> another page. I could not find any option or feature
in Dreamweaver that
>> allow
>> me to insert the page at all. The page I want to
insert has the links
>> and it
>> is a short page, just like a banner. When I update
the links on that
>> page it
>> will update all other pages in the website. I do not
have to open many
>> pages
>> to update. I have been using FrontPage and I am now
converting to
>> Dreamweaver.
>> Some codes from FrontPage does not work in
Dreamweaver. I would very
>> much
>> appreciate if somebody can help with the codes.
>
> Depending on what you want to do you can use SSIs or an
Iframe. SSIs are
> good for things such as headers, menus and nav bars that
you want to stay
> the same across a range of pages. Iframes let you load
an external HTML
> file into a predefined area of your page so you can
display different
> content while staying on the same page.
> -
Include a html page in another html page
How do I include a html page in another html page? I have 7
separate page making up a website. I made a separate page for the
bottom navigation which I want to include for each page. Instead of
making up a separate nav bar for each page.
Thanks for your time.
Todd DignanJust remember that the file being included CANNOT be a
stand-alone HTML
page - it must not contain <html>, <head>, or
<body> tags if you want to
continue working within DW.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"nX07" <[email protected]> wrote in message
news:fm9pvr$rn6$[email protected]..
> Hey Todd,
>
> Depending on your web site's server environment, you can
do it a few ways.
>
> First, and most convenient is if the server you are on
has PHP, the simple
> php
> include function will do the trick.
>
> Just place this in where the HTML would actually go for
the footer
>
> <?php include("fileofthebottom.html"); ?>
>
> If you don't have PHP, you should be able to use SSI
(Server Side
> Includes).
> same principle applies as above, and is simple to
understand:
>
> <!--#include file="fileofthebottom.html" -->
>
> If for some reason you can't do SSI, the other option
would to be using a
> frame or iframe, which is not recommended for several
reasons; mainly
> accessibility.
>
> The simple code is:
> <iframe src ="fileofthebottom.html"width="whatever"
> height="whatever"></iframe>
>
> Hope this helps :)
>
>
> -
Trouble with OUT parameter when creating a PL/SQL process on a HTML page
I would like to call a stored procedure when creating process on a HTML page.
I do know how to call the proc with the IN parameters,
its the OUT parameter that I am having a problem with.
..basically getting "wrong number of arguments"
..the procedure parameters
DELETECONFIG(p_configname IN,
p_configtype IN,
p_successmsg OUT)
I have two items on the page for the
configtype and configname..so my call when creating the process looks like this
DELETECONFIG(P_CONFIGNAME => :CONFIGNAME_LIST,
P_CONFIGTYPE => :CONFIGTYPE_LIST,
not sure how to handle p_successmsg..
thank you.thank you.
This worked for me, where :P122_XDISPLAY is a display only text area withou a label.
BEGIN
DELETECONFIG(:P122_XCONFIGUSERID,
:P122_XCONFIG_TYPE,
:P122_XCONFIG_NAME,
:P122_XDISPLAY);
END; -
SQL select a concatination of entries from another table
I am trying to select a few columns from one table and then add another column that is a concatination or names from another table that referances it as below. Is this possible to do in one select statement?
table x1
ID NAME
1 Bob
1 Tom
2 Bill
table x2
ID NAMES
1 Bob, Tom
2 Bill
3You mean string aggregation?
If yes, then it is possible like this, if you are on 10g.
SQL> create table x1 (id,name)
2 as
3 select 1, 'Bob' from dual union all
4 select 1, 'Tom' from dual union all
5 select 2, 'Bill' from dual
6 /
Tabel is aangemaakt.
SQL> select id
2 , rtrim(n,', ') names
3 from ( select id
4 , n
5 , rn
6 from x1
7 model
8 partition by (id)
9 dimension by (row_number() over (partition by id order by null) rn)
10 measures (cast(name as varchar2(20)) n)
11 rules
12 ( n[any] order by rn desc = n[cv()] || ', ' || n[cv()+1]
13 )
14 )
15 where rn = 1
16 /
ID NAMES
1 Bob, Tom
2 Bill
2 rijen zijn geselecteerd.There are several other (slower) techniques possible as well. You can find them by using the search function on this forum.
Regards,
Rob. -
Servlets in one machine and static html pages in another machine
We have one technical problem concerning WebLogic Server 5.1. Our customer
wants to install two WLS servers in two machines. Let's call these machines
and WLS instances A, which is a front end machine, and B, which is a back
end machine. WLS A has all the static html pages and is open to public. WLS
B has all servlets and business logic (EJB components...) and is open only
to machine A. We are wondering if it is possible to configure WLS A so that
when the client's browser requests a static html page and there is a link to
a servlet in WLS B, the http requests goes from the client's browser first
to WLS A, which sends the same request to WLS B, which runs the request in a
servlet and sends the response to WLS A, which sends the response back to
the client's browser. In that way the client allways thinks that it is
communucating with WLS A and is unaware of the existance of the WLS B. We
are wondering if this is possible with WLS configuration and if it is, how
this can be done.
Sami Elomaa
Use ProxyServlet:
http://www.weblogic.com/docs51/admindocs/http.html#proxy
btw, why don't you let WLS A serve html and servlets, and let WLS B serve
EJBs... it's more logical that way. Well, I'm kinda biased because that's
how we do it... ;-)
Gene Chuang
Teach the world. Join Kiko!
http://www.kiko.com/profile/join.jsp?refcode=TAF-gchuang
"Sami Elomaa" <[email protected]> wrote in message
news:[email protected]...
> We have one technical problem concerning WebLogic Server 5.1. Our customer
> wants to install two WLS servers in two machines. Let's call these
machines
> and WLS instances A, which is a front end machine, and B, which is a back
> end machine. WLS A has all the static html pages and is open to public.
WLS
> B has all servlets and business logic (EJB components...) and is open only
> to machine A. We are wondering if it is possible to configure WLS A so
that
> when the client's browser requests a static html page and there is a link
to
> a servlet in WLS B, the http requests goes from the client's browser first
> to WLS A, which sends the same request to WLS B, which runs the request in
a
> servlet and sends the response to WLS A, which sends the response back to
> the client's browser. In that way the client allways thinks that it is
> communucating with WLS A and is unaware of the existance of the WLS B. We
> are wondering if this is possible with WLS configuration and if it is, how
> this can be done.
>
> Sami Elomaa
>
>
-
Display PL/SQL funtion output in HTML Region dynamically
I have a form/report with just 2 items (one is hidden). When I click on the displayed field, I would like the output of a function/procedure (with the form/report field as argument) to display in a region on the same form. I already have a function with varchar2 as return value and also a procedure that prints out html output through htp.p package.
But couldn't figure out how to connect the form and the region and be in sync.
I have a chemical structure data stored as CLOB in the DB with an ID. Basically, clicking on the ID should pass the CLOB to the procedure that outputs the <embed and so on tags for a plugin to display my chemical structure.
Any help/guidance is appreciated.Hi Carl,
Thanks for the post. I tried the static value and it works (structure displays). My problem is for it to pickup on the value of my field.
I could give you my login credentials on htmldb but I am not sure if that would help as you would need the plugin installed on your browser (frre version may be available at www.mdl.com and search for "chime").
I have something along these lines in procedure.
htp.p('Hello World, I am ' || :APP_USER);
htp.p('<table border=1 cellpadding=1 cellspacing=0 width=550><tr><td align=middle valign=top><font face=arial size=2>');
htp.p('<input type=hidden name="queryrxn" value = "'|| :MOLCHIME ||'">');
htp.p('<embed type=chemical/x-mdl-molfile width=300 height=100 queryformbox="document.query.queryrxn" structure='''||:MOLCHIME||'''></td></font>');
htp.p('</tr></table>');
Thanks for any input.
Sridhar -
How to automatically maximize report output on HTML page
Hi,
I am using Oracle Database 10g and Oracle Developer Suite 10.1.2
on Windows XP.
I am using Run_Report_Object() and Web.Show_Document() respectively to call the Report from Oracle Form.
Well, it showed normally.
However, the Window is not maximized automatically when showed.
I had to maximize it manually.
I would like to know, how can I maximize the report output which is showed in new Window on HTML format automatically?
Is there anyway to do so?
BTW, I also use the Report to call another Report by providing the hyperlink using SRW.Set_Hyperlink
Can I do the same, maximize the Window?
Many thanks,
Buntorohi,
u'll have to set the second argument in your function to '_blank'
i.e, web.show_document(url,'_blank'); -
How to write a PL/SQL select list with submit page?
Let's we need some select list that are related with each other. I wrote such a code.
declare
gn_start_id number := 0;
glabel1 VARCHAR2(100) := 'Group ';
glabel2 VARCHAR2(100) := 'Property';
begin
htmldb_application.g_f01(1) := 100;
htp.p('<BR>');
htp.p
( glabel1 || ' : ' ||
htmldb_item.select_list_from_query
p_idx => 1,
p_value => '--Select a value--',
p_query => 'SELECT m.vproperty, m.NMAP_PK_ID
FROM table m
WHERE m.ngroupid = ' || to_char(gn_start_id),
p_show_null => 'NO',
p_null_value => 0)
htp.p('<BR>');
htp.p
( glabel2 || ' : ' ||
htmldb_item.select_list_from_query
p_idx => 2,
p_value => '--Select a value--',
p_query => 'SELECT m.vproperty, m.NMAP_PK_ID
FROM table m
WHERE m.ngroupid = ' || to_char(htmldb_application.g_f01(1)),
p_show_null => 'NO',
p_null_value => 0)
end;
However, I am not able to submit page automaticly, when user select a value from the select list?
How can I do this? ThankzI found such a solution.. thanks
htp.p('</TD><TD>');
htp.formselectopen(cname => 'v_status', cattributes => 'class="ddl" onChange="javascript:update_status(this.value)"');
FOR rec IN cur_status LOOP
IF rec.status_id = v_status THEN
htp.formselectoption(cvalue => rec.status_name, cattributes => 'value="' ||
rec.status_id || '"', cselected => 'TRUE');
ELSE
htp.formselectoption(cvalue => rec.status_name, cattributes => 'value="' ||
rec.status_id || '"');
END IF;
END LOOP;
htp.formselectclose; -
Hi,
I am trying to make a website for my Flash games. On the bottom of each page there is footer. I want to put the footer in an external file and call it in from each of my pages. This would mean I only have to update one file to have the footer updated in all of them. Thanks for the help.
Thanks,
qazsdThanks bendesign. I will look into the technologies you mentioned.
qazsd -
File-Save window(saving the html page by clicking a button)
Hi,
when I click a button, a window should open which is same as the one which appears when we click File-save.
This should happen to save the data that is displayed on the internetExplorer, when the user clicks the submit button on his page.(ie,Saving the html page in his desired location).
Thanks in advance.Refer FileDownload and FileUpload tutorial.
If the idea is just to save the html page, I am not sure if it is possible.
If the idea is to save the data in the html page then you can save it as xml format or csv format. Refer to the following tutorials:
a) FileUpload and FileDownload
b) Web Dynpro Binary cache
Regards,
Subramanian V. -
Hi
I have tried to output an html page based on a resulset of jdbc query , my database of sql server 2005,
But my code gives me an html page containing table of one row contain null value as the following source
<html> <body> <table border=1> <caption>Report title</caption><table border=1><tr><td>null
this my trial
private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con = DriverManager.getConnection("jdbc:odbc:MerchandiseCon","sa","sql123#");
st = con.createStatement( );
ResultSet rset=st.executeQuery("Select Item_code,Item_Name,item_cost,item_quantity from Inventory");
ResultSetMetaData md = rset.getMetaData();
while(rset.next())
int count = md.getColumnCount();
for (int i=1; i<=count; i++) {
try
FileOutputStream fs =null;
try {
fs = new FileOutputStream("D:\\Report\\myeport.html");
catch (FileNotFoundException ex) {
Logger.getLogger(NewJFrame.class.getName()).log(Level.SEVERE, null, ex);
String s = "<html> <body> <table border=1> <caption>Report title</caption>";
s +="<table border=1>";
s+= "<tr>" ;
s += "<td>";
s +=rset.getString(i);
fs.write(s.getBytes());
s += ("</tr>");
s +=("</table>");
s +=("</body>");
s +=("</html>");
catch (IOException ex) {
Logger.getLogger(NewJFrame.class.getName()).log(Level.SEVERE, null, ex);
}catch(NullPointerException e)
st.close();
con.close();
catch(ClassNotFoundException ex)
ex.printStackTrace();
catch(SQLException ex)
ex.printStackTrace();
}The problem lies here in your code
fs = new FileOutputStream("D:\\Report\\myeport.html");
you are calling this for every increment of "i" in the for loop. -
i wrote html code for entering username and password.
then i got output in html page as
SAP LOGON SCREEN
USER NAME
PASSWORD
ENTER
when the user press enter button both username and password has to check with data in ztable in sap.
validation has to done.
if input not match with sap ztable it should produce error message when user press enter buuton in html
please give me some steps to do rfcHi,
It is not possible to intract backend system from html alone, even we are not able to write java scripts too. So try to SAPNW to develope your application.
If you decide to create application via SAPNW then you can go with following steps,
1. Create application (Application, component, window and view)
2. Import model (it needs JCo details)
3. In controller create an object for function module which one you imported, bind it to model node, assign user name and password and use "exec" function to execute and get return values from backend system through another model node and display result as you wish.
4. Build, Deploy and Run your application
Good Luck! -
Lightroom Web Gallery in HTML page?
Hello,
I want to export a web gallery from LR 1.3 and insert this gallery into an html web page in Dreamweaver 8. This would be huge! I have researched it and found that it just may not work.
1 of the errors: the first gallery I made in LR and published online, is the gallery that shows up in the html page.
Another error: the gallery only shows that its loading (inside html page).
Attempts:
1: drop the flash file into the html page and resize it to fit
2: put the bin in the resources folder and drop the flash file in the html page
Primary resource:
http://blog.bluefire.tv/?p=18
Any help would be outstanding!
Thank you,
Tyler Fraser
www.fraserimagery.comWell,
It's not an Adobe issue, it's a hosting issue. I have GoDaddy, and, after four or five phone calls, I got someone who really knew what they are doing. He said they host Unix for Linnus users, and a Windows based for Windows users, so that's not it. It was a simple matter of moving files. I was creating a subdomain this time, so perhaps that made it a little more difficult. Anyway, you name the gallery with the same name as the destination folder. Then, if the index.html page isn't in the right place, you move it to a place in the tree where it is right. Call your hosting company if you can't get it right. Persistence and patience will pay off.
Kate -
Displaying HTML page within Flash
Hello!
We need to display an HTML page within a Flash executable file. We request the members of this forum to kindly guide us on how to go about it.
Looking forward to your reply.
Thanks and Regards,
Hayagriva Softwareflash textfield's have limited html tags they can parse so your best bet is opening an html page in another window using getURL() (as2) or navigateToURL() (as3).
Maybe you are looking for
-
Hi, I need to a special day type rule assigned in period work schedule to a group of expatriate employees since they will not be using the standard public holiday calendar. The days need include 23Nov, 25,26, Dec, 14 April. How do I create this and h
-
Office documents does not open in the default office application from Search Results
1 WFE + 1 App Server + 1 server for OWA + 1 separate DB server make up our DEV SharePoint 2013 environment. We migrated many web applications from our SP 2010 environment to SP 2013 environment. Client integration is enabled and "Open Documents in Cl
-
Web Doesn't Work on My Contract WAP/3G?!
Hello all and thank you for taking the time to read my query. I'm having these problems using my contract WAP/3G; these problems DO NOT exist when I connect using WiFi. Whenever I try to go on 'Web', it displays the notification 'Connecting GPRS' in
-
I have had a network printer hooked up for a couple years. I don't even remember installing it. I'm trying to put a newer model (hp 4000 TN) on the network. I'm simply taking away the old one and plugging the ethernet cable into the newer model. Not
-
Sync with OVI !! how to make it work with a new ac...
Hello !! My phone is e72. Yesterday : I used to synch contacts with ovi synch using my old ovi account : working, ok ; Yesterday later : I deleted/closed that old ovi account (needed other name), deletion ok ; Yesterday more later : I created a new o