SQL Reference - HTML Format offline
Hello
I'm searching the SQL Reference 11.2. I'll download the HTML-Edition, that I can use this version without internet. I've already the PDF-Version, but I'll integrate the HTML-Edition into our Intranet.
Thanks for the support.
Best regards...
roger
Download the zip file(~800Mb) and unzip(~1.8GB)
http://www.oracle.com/technetwork/database/enterprise-edition/documentation/database-093888.html
Edited by: krramnik on May 11, 2012 5:35 PM
Similar Messages
-
Capture cursor output in HTML format in PL/SQL
Hi,
I want to capture Cursor's output in html format.
following is the current query which is giving me output as mentioned below it
Query:-
declare
v_msgtext varchar(4000);
cursor c_query IS
select emp_no,emp_name,salary
from employees
where dept_id = 100;
begin
for v_query in c_query LOOP
v_msgtext = v_msgtext ||
'empno:'|| v_query.emp_no||','||
'emp_name:'||v_query.emp_name||'.'||
'emp_salary:'||'v_query.salary'||
char(13)||char(10);
END LOOP;
utl_mail.send(v_sender, v_recipient, NULL, NULL, v_subject, v_msgText, 'text/html; charset=windows-1250', NULL);
end;
o/p:-
empno: 123,emp_name:sagar,emp_salary:10,000
empno: 124,emp_name:neeraj,emp_salary:20.000
empno: 125,emp_name:ashish,emp_salary:18.000
empno: 126,emp_name:ramesh,emp_salary:5.000
empno: 127,emp_name:suresh,emp_salary:30.000
I want to generate the output as HTML report in tabular format with the below columns
(empno,emp_name,salary) and send this html file via email to user.
Can anybody please suggest a solution ASAP.
Thanks in advance.Hi,
You can do in this way ...
CALL FUNCTION 'WWW_ITAB_TO_HTML'
TABLES
HTML = F_HTML
FIELDS = FLDS
ITABLE = ITAB.
IF SY-SUBRC NE 0.
WRITE: / 'Error in generating the html format'.
EXIT.
ENDIF.
CALL FUNCTION 'WS_DOWNLOAD'
EXPORTING
FILENAME = 'c:test.html'
MODE = 'BIN'
TABLES
DATA_TAB = F_HTML
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_WRITE_ERROR = 2
OTHERS = 9.
call these 2 Fucntion modules for every page. so each page it wil downlaod a HTML page
Regards
Sudheer -
Cfreport ("HTML format") missing columns for a query
Using Linux Fedora, ColdFusion 8 Developer Edition.
Problem:
The command:
<cfreport
format="HTML"
template="ReportTemplateHtml.cfr"
filename="Report.html"
overwrite="yes"
query=#structReport.query#
>
With Format equal to PDF or RTF, which is correct output:
"item" "Description" "Qty" "Unit Price" "Extension"
The HTML output writes the following columns:
"item" "" "" "Unit Price" "Extension"
The "Description" and "Qty" are missing.
Any ideas as to why data is missing from HTML report?
The html output for the table is as follows:
<tr valign="top">
<td style="width: 18px; height: 18px;"></td>
<td colspan="3" style="background-color: #EDE9C6;
border-top-style: solid; border-top-width: 1px; border-top-color:
#000000; padding-top: 1px; border-left-style: solid;
border-left-width: 1px; border-left-color: #000000; padding-left:
3px; border-bottom-style: solid; border-bottom-width: 1px;
border-bottom-color: #000000; padding-bottom: 1px;
border-right-style: solid; border-right-width: 1px;
border-right-color: #000000; padding-right: 3px; "><span
style="font-family: Helvetica; background-color: #EDE9C6;
font-size: 10.0pt; font-weight:
bold;">Item</span></td>
<td colspan="6" style="width: 273px; height:
18px;"></td>
<td colspan="3" style="background-color: #EDE9C6;
border-top-style: solid; border-top-width: 1px; border-top-color:
#000000; padding-top: 1px; border-left-style: solid;
border-left-width: 1px; border-left-color: #000000; padding-left:
3px; border-bottom-style: solid; border-bottom-width: 1px;
border-bottom-color: #000000; padding-bottom: 1px;
border-right-style: solid; border-right-width: 1px;
border-right-color: #000000; padding-right: 3px; "><span
style="font-family: Helvetica; background-color: #EDE9C6;
font-size: 10.0pt; font-weight: bold;">Unit
Price</span></td>
<td colspan="3" style="background-color: #EDE9C6;
border-top-style: solid; border-top-width: 1px; border-top-color:
#000000; padding-top: 1px; border-left-style: solid;
border-left-width: 1px; border-left-color: #000000; padding-left:
3px; border-bottom-style: solid; border-bottom-width: 1px;
border-bottom-color: #000000; padding-bottom: 1px;
border-right-style: solid; border-right-width: 1px;
border-right-color: #000000; padding-right: 3px; "><span
style="font-family: Helvetica; background-color: #EDE9C6;
font-size: 10.0pt; font-weight:
bold;">Extension</span></td>
<td style="width: 19px; height: 18px;"></td>
</tr>Query Builder is a crutch tool. Small, lightweight, but limited. It does not have every inline function you see in the SQL reference guide. If you need more, then you have to do more on your own.
-
Hi
When I try to open the jasper report on browser ,It displays
the report but not clear.The image does not display on the client.
below is my code ,please help me......
MY Code:
/*3 Preview in HTML format */
File imagedir=null;
JRHtmlExporter exp = new JRHtmlExporter();
StringBuffer sbuf = new StringBuffer();
exp.setParameter(JRHtmlExporterParameter.JASPER_PRINT, print);
exp.setParameter(JRHtmlExporterParameter.OUTPUT_STRING_BUFFER, sbuf);
exp.setParameter(JRHtmlExporterParameter.IMAGES_DIR,imagedir);
exp.exportReport();
out.print(sbuf.toString());
Thanks
By satheshAlright there is a dedicated ImageServlet(provided in jasper reporting framework) which is used to Link Static image content along with your HTML report content.
and here is how you have to do it is ??
is by setting few parameters for JRExporter Object and making use of image servlet provided under jasper libraries.
ImageServlet configurations in web.xml:
<servlet>
<servlet-name>ImageServlet</servlet-name>
<servlet-class>
net.sf.jasperreports.j2ee.servlets.ImageServlet
</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ImageServlet</servlet-name>
<url-pattern>/imageServlet</url-pattern>
</servlet-mapping>Html Exporter code..
JRExporter exporter = null;
JasperPrint jasperPrint = null;
Connection conn = null;
String sourceFile = ReportService.getReportSourceFile(request);
Map map = ReportService.getParameterMap(sourceFile,request);
String contentType = ReportService.getContentType(sourceFile,request);
if(contentType.startsWith("text/html")){
PrintWriter printWriter = response.getWriter();
try{
/* Fetching Connection from a Connection Pool VIA a service*/
conn = DbUtils.getConnection();
/* Creating a JasperPrint Object*/
jasperPrint = JasperFillManager.fillReport(sourceFile,map,conn);
exporter = new JRHtmlExporter();
request.getSession().setAttribute(ImageServlet.DEFAULT_JASPER_PRINT_SESSION_ATTRIBUTE, jasperPrint);
/* printWriter here is a reference for response.getWriter() */
exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);
exporter.setParameter(JRExporterParameter.OUTPUT_WRITER,printWriter);
// gonna set url pattern given for Image servlet with a reponse parameter <url-pattern>/imageServlet</url-pattern>
exporter.setParameter(JRHtmlExporterParameter.IMAGES_URI,"imageServlet?image=");
response.setContentType(contentType);
/* Would write the HTML content to ServletStream Provided */
exporter.exportReport();
}catch(Exception exp){
exp.printStackTrace();
}finally{
try{
if(conn != null && !conn.isClosed())
conn.close();
}catch(Exception ep){
ep.printStackTrace();
}finally{
conn = null;
sourceFile = null;
map = null;
}For any other issues with report format and others try to go through my post.However, you might have to edit your customized settings in terms of image rendering problems or to some customized implementations.
http://forum.java.sun.com/thread.jspa?threadID=5203324&messageID=9811077
Hope that might help :)
REGARDS,
RaHuL -
Report from SQL Query -Excel format only show the first page
Hi,
I have some Reports from SQL Query. In the display options, I choose Excel as default format. The Excel documents only show the first page. If I choose HTML as default format, it shows every rows.
Please advise on how to have a complete Excel document as HTML format does.
Thanks a lot.
Lina HanI beleive when you export Oracle reports to Excel it is the Data that is transferred along with Column Names.
You cannot export the variables defined on the report.
Hence you will not be able to export the Footer to excel. (Still looking into it will let you know if i find anything interesting)
Regards,
Bhushan Salgar -
Capturing cursor output in HTML format
Hi,
I want to capture Cursor's output in html format.
following is the current query which is giving me output as mentioned below it
Query:-
declare
v_msgtext varchar(4000);
cursor c_query IS
select emp_no,emp_name,salary
from employees
where dept_id = 100;
begin
for v_query in c_query LOOP
v_msgtext = v_msgtext ||
'empno:'|| v_query.emp_no||','||
'emp_name:'||v_query.emp_name||'.'||
'emp_salary:'||'v_query.salary'||
char(13)||char(10);
END LOOP;
utl_mail.send(v_sender, v_recipient, NULL, NULL, v_subject, v_msgText, 'text/html; charset=windows-1250', NULL);
end;
o/p:-
empno: 123,emp_name:sagar,emp_salary:10,000
empno: 124,emp_name:neeraj,emp_salary:20.000
empno: 125,emp_name:ashish,emp_salary:18.000
empno: 126,emp_name:ramesh,emp_salary:5.000
empno: 127,emp_name:suresh,emp_salary:30.000
I want to generate the output as HTML report in tabular format with the below columns
(empno,emp_name,salary) and send this html file via email to user.
Can anybody please suggest a solution ASAP.
Thanks in advance.Hi ,
Please follow the below link may it will be useful for you.It shows how to generate a HTML format output through the query.
oracle - Within a PL/SQL procedure, wrap a query or refcursor in HTML table - Stack Overflow -
HTML formatted Email notification with embedded images
I am using Oracle BPM 6.5 (Studio) and been spending my wheels on trying to send out an email from a process with formatting. I am able to send emails in plain text. I get a parseexception whenever I try to set the content type property of MAil object. Not sure what might be going on. Here is the sample code.
reminderEmail as Mail
reminderEmail = Mail()
reminderEmail.from="[email protected]"
reminderEmail.recipient="[email protected]"
reminderEmail.subject="Review xx Information"
reminderEmail.contentType = "Content-Type: text/html; charset=utf-8" (IT WORKS WITHOUT THIS LINE)
reminderEmail.message = "<HTML><h2>Please check and resend the message</h2></HTML>"
send reminderEmail
It would be great if I can get a sample to send out HTML formatted emails. I know it should work because the automatic notification mail that is sent out by the engine is HTML. This is the one where it says "The instance can be accessed "here""
Thanks so muchIf you want to send the html page and have it
reference the images and css files on your web
site, that's pretty easy. Just create a message
with text/html content that is your html page.
If you want to include all the images and css files
in your message along with the html page, you'll
need to create a multipart/related message and
you'll need to change all the html to reference the
images and css files using "cid:" references. -
Send Email with HTML format in Outlook Macro
I can use the following to send email with HTML format in VBA. I also have created an HTML file. Is there a way to load the file into .HTMLBody to send it as HTML format message?
Set OutlookApp = CreateObject("Outlook.Application")
Set objMail = OutlookApp.CreateItem(olMailItem)
With objMail
.BodyFormat = olFormatHTML
.HTMLBody = "<HTML><BODY>Enter the message text here. </BODY></HTML>"
.Display
End WithTry:
Dim fso As Scripting.FileSystemObject
Dim htmlFile As Scripting.TextStream
Set fso = New Scripting.FileSystemObject
Set htmlFile = fso.OpenTextFile("C:\path\to\my-html-file.htm")
strInsert = htmlFile.ReadAll
then change:
.htmlbody = strInsert
oh, and you need to set a reference to the Scripting runtime in Tools, References.
Diane Poremsky [MVP - Outlook]
Outlook & Exchange Solutions Center
Outlook Tips
Subscribe to Exchange Messaging Outlook weekly newsletter -
when I get an email in HTML format on my phone , the message comes in whiteand occasionally get the html code unencrypted. i use Iphone 6 and my email server its Exchange server 2010 on premise.
I hope you can help me.Try:
Dim fso As Scripting.FileSystemObject
Dim htmlFile As Scripting.TextStream
Set fso = New Scripting.FileSystemObject
Set htmlFile = fso.OpenTextFile("C:\path\to\my-html-file.htm")
strInsert = htmlFile.ReadAll
then change:
.htmlbody = strInsert
oh, and you need to set a reference to the Scripting runtime in Tools, References.
Diane Poremsky [MVP - Outlook]
Outlook & Exchange Solutions Center
Outlook Tips
Subscribe to Exchange Messaging Outlook weekly newsletter -
I am not able to find this SQL Reference. I have followed your instructions and looked at the following without luck:
http://otn.oracle.com/docs/tech/sql_plus/index.html
http://otn.oracle.com/documentation/index.html#previousHi Debbie,
Apologies for the delay in resonding to you.
I'm not sure which version of the Reference you are seeking. However, if you are looking for the 8.1.7 release, then this is the path you can use on the Documentation pages.
Go to the Previous releases section on the OTN Documentation home page: http://otn.oracle.com/documentation/index.html#previous
Then click on: "Oracle8i Database Release 8.1.7".
This returns the Release 8.1.7 Documetation page. On this page you will find Documentation libraries, e.g. A87860_01. Click on the "View library" link.
Then click on the "Oracle8i Server and SQL*Plus" link. The Reference is then listed.
You can try this with any of the "view library" links on any of the Release 8i doc pages.
Regards,
Les -
Hello,
I had a really nice page from oracle 8i about SQL Reference. There, you could find any SQL-command explain. Now is it down and I cannot find a similar one for 9i.
Can you give me a hint where to find a SQL Reference (Oracle should have a new one...)
ReferenceThe SQL reference guide is one of the books available at the documentations site (mentioned as a weblink in an earlier reply).
It is also possible to download this library at this page:
http://otn.oracle.com/documentation/oracle9i.html
It is quite big (210MB) but it is essential, for us that are not able to memorize everything... -
I am trying to create a rdlc report.
One of the fields in the report contains HTML formatted information. e.g. (It's a text field which is populated from a Rich Text Editor similar to one we have here).
When I put the content of this, in a text box of RDLC file, it shows HTML instead of formatted output.
I have been doing this in Crystal Reports using Text Format tag in there.
Is there some similar option available for RDLC text box too? I could not find any.This is not supported in the RDL 2005 schema structure that is used by the Report Viewer controls of VS 2005 and VS 2008 in local mode (RDLC).
As you may have seen in other postings on this forum, significantly updated and improved report viewer controls are in the works for the VS 2010 release, which include the engine that runs inside SQL Server Reporting Services 2008 and provide many new features such as "RichText" formatting within textboxes, tablix data and report layout flexibility, HTML formatting automatically converting into all supported rendering formats, new Word rendering, etc.
You can also use most of these features in server mode already today, but for local mode support you will need VS 2010.
HTH,
RobertRobert Bruckner http://blogs.msdn.com/robertbruckner
This posting is provided "AS IS" with no warranties, and confers no rights. -
Encounter error when sending HTML format email
please reference below codes, when the lt_html has more than one line, the email could not been displayed properly in my inbox.
did you encounter this kind of problem? Pls help, thank you.
document = cl_document_bcs=>create_document(
i_type = 'HTM'
i_text = lt_html
i_length = conlengths
i_subject = 'HTML format email' ).Hi,
please show the 3-line html-code that does not work:
in lt_html, also value and/or method to fill for conlengths
Save email as text and show whats there.
This is required for the answer.
Regards,
Clemens -
Text format + attached image files or Html format + displayed images ?
Hi, I have this kind of probleme and I need some help.
(Code : see below)
I want to send a mail with some attached image files.
For the message part, I create a MimeBodyPart and add two kinds of message (text or html) and this part is multipart/alternative.
For the attachment part, I create another MimeBodyPart and I set the Header like this : xxx.setHeader("Content-ID", "<image>").
When I use outlook (html format) , I receive a mail with the picture displayed at the bottom, it's perfect.
However the problem is for the mailbox which is in text mode, I receive a mail with message + attachment files, but I also have some image frames generated by xxx.setHeader("Content-ID", "<image>") I guess.
Who can give me a hand to implement something that able to make difference according to text format or html format.
I post my code here, thanks a lot :
//set Message
msg.setText(pMsgText, DEFAULT_CHARSET);
// Partie Texte brut
MimeBodyPart textPart = new MimeBodyPart();
String header = "";
textPart.setText(header + pMsgText, DEFAULT_CHARSET);
textPart.setHeader(
"Content-Type",
"text/plain;charset=\"iso-8859-1\"");
textPart.setHeader("Content-Transfert-Encoding", "8bit");
// Partie HTML
MimeBodyPart htmlPart = new MimeBodyPart();
String images = BTSBackUtil.generateImgSrc(pictureContainers.length);
String endPart = "</div>\n</body>\n</html>";
htmlPart.setText(pMsgTextHTML+images+endPart);
htmlPart.setHeader("Content-Type", "text/html");
// create the mail root multipart
// Multipartie
Multipart multipart = new MimeMultipart("mixed");
// create the content miltipart (for text and HTML)
MimeMultipart mpContent = new MimeMultipart("alternative");
// create a body part to house the multipart/alternative Part
MimeBodyPart contentPartRoot = new MimeBodyPart();
contentPartRoot.setContent(mpContent);
// add the root body part to the root multipart
multipart.addBodyPart(contentPartRoot);
// add text
mpContent.addBodyPart(textPart);
// add html
mpContent.addBodyPart(htmlPart);
// this part treates attachment
if (pictureContainers != null){
PictureContainer pictureContainer = new PictureContainer();
String fileName = "";
for(int i = 0; i < pictureContainers.length; i++) {
pictureContainer = pictureContainers;
byte[] bs = pictureContainer.getImgData();
fileName = "image" + i +".jpg";
DataSource dataSource = new ByteArrayDataSource(fileName, "image/jpeg", bs);
DataHandler dataHandler = new DataHandler(dataSource);
MimeBodyPart mbp = new MimeBodyPart();
mbp.setDataHandler(dataHandler);
mbp.setHeader("Content-ID", "<image"+i+">");
mbp.setFileName(fileName);
multipart.addBodyPart(mbp);
// end attachment
msg.setContent(multipart);Hi All!!! I have created this code , i hope this w'll solve u'r problem , this code display u'r html text and display the images below on it, no need to attach the image...... byee.
package Temp;
import javax.activation.DataHandler;
import javax.activation.DataSource;
import javax.activation.FileDataSource;
import javax.activation.URLDataSource;
import javax.mail.Authenticator;
import javax.mail.BodyPart;
import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.PasswordAuthentication;
import javax.mail.Session;
import javax.mail.Transport;
import javax.mail.internet.AddressException;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeBodyPart;
import javax.mail.internet.MimeMessage;
import javax.mail.internet.MimeMultipart;
public class HtmlImageExample {
public static void main (String args[]) throws Exception {
String host = "smtp.techpepstechnology.com";;
String from = "[email protected]";
String to = "[email protected]";
//String to = "[email protected]";
String dir=null;
//String file = "C://NRJ/EmailApp/src/java/MailDao//clouds.jpg"];
//File file = new File("C:\\NRJ\\EmailApp\\src\\java\\Temp
Sunset.jpg");
// Get system properties
//Properties props = System.getProperties();
HtmlImageExample html1 = new HtmlImageExample();
html1.postImage(to,from);
// Setup mail server
String SMTP_HOST_NAME = "smtp.techpepstechnology.com";//smtp.genuinepagesonline.com"; //techpepstechnology.com";
String SMTP_AUTH_USER = "[email protected]"; //[email protected]"; //techpeps";
String SMTP_AUTH_PWD = "demo"; //techpeps2007";
//my code
public void postImage(String to, String from) throws MessagingException, FileNotFoundException, IOException
Properties props = System.getProperties();
props.put("mail.transport.protocol", "smtp");
props.put("mail.smtp.host", SMTP_HOST_NAME);
props.put("mail.smtp.auth", "true");
// props.load(new FileInputStream(file));
Authenticator auth = new SMTPAuthenticator();
Session session = Session.getInstance(props, auth);
// Create the message
Message message = new MimeMessage(session);
// Fill its headers
message.setSubject("Embedded Image");
message.setFrom(new InternetAddress(from));
message.addRecipient(Message.RecipientType.TO, new InternetAddress(to));
message.setContent
h1. This is a test
+ "<img src=\"http://www.rgagnon.com/images/jht.gif\">",
"image/jpeg");
// Create your new message part
//BodyPart messageBodyPart = new MimeBodyPart();
//mycode
MimeMultipart multipart = new MimeMultipart("related");
MimeBodyPart mbp1 = new MimeBodyPart();
// Set the HTML content, be sure it references the attachment
String htmlText = "<html>"+
"<head><title></title></head>"+
"<body>"+
" see the following jpg : it is a car!
"+
h1. hello
"+
//"<IMG SRC=\"CID:Sunset\" width=100% height=80%>
"+
"<img src=\"http://www.yahoo.com//70x50iltA.gif\">"+
" end of jpg"+
"</body>"+
"</html>";
mbp1.setContent("h1. Hi! From HtmlJavaMail
<img src=\"cid:Sunset\">","text/html");
MimeBodyPart mbp2 = new MimeBodyPart();
mbp2.setText("This is a Second Part ","html");
// Fetch the image and associate to part
//DataSource fds=new URLDataSource(new URL("C://NRJ//MyWeb//logo.gif"));
FileDataSource fds = new FileDataSource("C://NRJ//MyWeb//Sunset.jpg");
mbp2.setFileName(fds.getName());
mbp2.setText("A Wonderful Sunset");
mbp2.setDataHandler(new DataHandler(fds));
mbp2.setHeader("Content-ID","<Sunset>");
// Add part to multi-part
multipart.addBodyPart(mbp1);
multipart.addBodyPart(mbp2);
message.setContent(multipart);
// Send message
Transport.send(message);
//mycode
private class SMTPAuthenticator extends javax.mail.Authenticator
public PasswordAuthentication getPasswordAuthentication() {
String username = SMTP_AUTH_USER;
String password = SMTP_AUTH_PWD;
return new PasswordAuthentication(username, password); -
Idoc-xi-file scenario. how to display file in html format
I am not sure whether this is a valid question.........but want to confirm as it was asked by somebody
In idoc-xi-file scenario....... how to display file in html format ??
Thanks in advance
KumarHi Vijayakumar,
Thanks for your reply !! You mean to say I got to use XSLT mapping and also .htm and .html extension together to produce the html file ?? or it is sufficient to use any one of them to produce the html file ??
Regards
Kumar
Maybe you are looking for
-
Help, how to open and display blobs from tables
Dear all, I am trying to store ms-word files on a table using a blob column. Does anyone how to open the files and display them from a form using 9iAS? Thank you. Carlos.
-
Always get a -9808 error when trying to authorize may machine or to sign-in fro iTunes
I followed every advice I could find in the knowledge base, including time verification, removing *** firewall and security software, re-installing iTunes, running from another network - nothing helps. When I touch the sign-in button in iTunes, the s
-
Login and Content Management Portlets in 8.1 SP2 Portal app
Hi all, 1. Create a portal domain in 8.1 SP2. 2. Create a portal app , web , import the portlets ( Login and content management ) and relevant files and start the server. No exceptions. 3. Page 1 - >Login portlet Login into the portal with success me
-
Horzontal and Vertical Lines won't get thinner then 1pt
I've been working with illustrator for years and never came across this problem. If I make perfectly horizontal or vertical line I can't get line weight lower then 1pt. If I rotate the line just by 0.1 degrees then I can make the like less then 1pt.
-
Getting OPMN error while installing Oracle SOA Suite
I am getting errror while installing Oracle SOA suit. Configuration assistant "Oracle Process Management and Notification Configuration Assistant" failed Please help