Unexpected results from IF statement
Can you please tell me why I am not dropping inside this IF statement as I would expect?
Snippet from PL/SQL script...
dbms_output.put_line('------------- TEMP DEBUG : About to enter for loop for existing licencees');
-- DELETE EXISTING LICENSEES THAT SHOULDN'T BE THERE
for r_existing_licensees in c_existing_licensees(r_licences.licenceid) loop
dbms_output.put_line('------------- TEMP DEBUG : Inside for loop for existing licencees where r_existing_licensees.customerid = [' || r_existing_licensees.customerid || ']');
dbms_output.put_line('------------- TEMP DEBUG : ................................r_licences.newcust1 = [' || r_licences.newcust1 || ']');
dbms_output.put_line('------------- TEMP DEBUG : ................................r_licences.newcust2 = [' || r_licences.newcust2 || ']');
dbms_output.put_line('------------- TEMP DEBUG : ................................r_licences.newcust3 = [' || r_licences.newcust3 || ']');
dbms_output.put_line('------------- TEMP DEBUG : ................................r_licences.newcust4 = [' || r_licences.newcust4 || ']');
dbms_output.put_line('------------- TEMP DEBUG : ................................r_licences.newcust5 = [' || r_licences.newcust5 || ']');
if r_existing_licensees.customerid <> r_licences.newcust1
and r_existing_licensees.customerid <> r_licences.newcust2
and r_existing_licensees.customerid <> r_licences.newcust3
and r_existing_licensees.customerid <> r_licences.newcust4
and r_existing_licensees.customerid <> r_licences.newcust5
then
dbms_output.put_line('------------- TEMP DEBUG :');
dbms_output.put_line('------------- TEMP DEBUG : .................................About to logically delete where r_existing_licensees.customerid = [' || r_existing_licensees.customerid || ']');
Log from DBMS_OUTPUT...
------------- TEMP DEBUG : About to enter for loop for existing licencees
------------- TEMP DEBUG : Inside for loop for existing licencees where
r_existing_licensees.customerid = [2805371]
------------- TEMP DEBUG : ................................r_licences.newcust1
= [2806250]
------------- TEMP DEBUG : ................................r_licences.newcust2
= []
------------- TEMP DEBUG : ................................r_licences.newcust3
= []
------------- TEMP DEBUG : ................................r_licences.newcust4
= []
------------- TEMP DEBUG : ................................r_licences.newcust5
= []
The bold, italic DBMS_OUTPUT lines never appear in the log, so I am NOT falling insided the IF statement even though the criteria are being met. What's the deal?
Thx in advance.
Guy
if r_existing_licensees.customerid <> r_licences.newcust1 and
r_existing_licensees.customerid <> r_licences.newcust2 and
r_existing_licensees.customerid <> r_licences.newcust3 and
r_existing_licensees.customerid <> r_licences.newcust4 and
r_existing_licensees.customerid <> r_licences.newcust5
thenit could be that some of your columns are nulls. try something like:
if nvl(r_existing_licensees.customerid,0) <> nvl(r_licences.newcust1,0) and
nvl(r_existing_licensees.customerid,0) <> nvl(r_licences.newcust2,0) and
nvl(r_existing_licensees.customerid,0) <> nvl(r_licences.newcust3,0) and
nvl(r_existing_licensees.customerid,0) <> nvl(r_licences.newcust4,0) and
nvl(r_existing_licensees.customerid,0) <> nvl(r_licences.newcust5,0)
then
note: assuming that they are number of datatypes.
Similar Messages
-
Unexpected result from treenode.getPath() ???
Hi,
I am using Jtree in application.
The tree is as following
- Desktop
-C:\
- Folder1
- File2
- D:\I want to expend the node Folder1 as selected node. To do that I got the FileNode Folder1 and do
TreePath path=new TreeaPath( folder1node.getPath() );
int row=tree.getRowForPath(path);
jtreetable.expend(row);
But the problem is with the path returned. I must get the path [Desktop, C:\, Folder1] but I am getting path [Folder1].
What I am doing wrong. Is there any other way to expend a particular node programatically ?
ThanksAndy,
You should contact support with regards to this issue. It is a known
problem, you can reference CR042529.
Cheers!
Adam
"Andy Kimbrough" <[email protected]> wrote in message
news:3ae8b1f7$[email protected]..
randomly I get the following error in my weblogic.log. The server stopsresponding and I get about a million of these entries, what is going on? I
am running on Linux 6.2....<Error> <Posix Performance Pack>
<mdw2.neomorphic.com> <myserver> <ExecuteThread: '49' for queue: 'default'>
<><><00000><Uncaught Throwable in processSockets>java.io.IOException:
unexpected result from poll: -1at weblogic.socket.PosixSocketMuxer.pool
(Native Method)at weblogic.socket.PosixSocketMuser.processSocktesat
weblogic.socket.SocketReaderRequest.executeat
weblogic.kernel.ExecuteThread.executeat weblogic.kernel.ExceuteThread.run -
Odd results from SQL statement in JSP
Hi.
Getting very strange results from my SQL statement housed in my JSP.
the last part of it is like so:
"SELECT DISTINCT AID, ACTIVE, REQUESTOR_NAME, ..." +
"REQUESTOR_EMAIL" +
" FROM CHANGE_CONTROL_ADMIN a INNER JOIN CHANGE_CONTROL_USER b " +
"ON a.CHANGE_CTRL_ID = b.CHANGE_CTRL_ID " +
" WHERE UPPER(REQUESTOR_NAME) LIKE ? "; I've set the following variables and statements:
String reqName = request.getParameter("requestor_name");
PreparedStatement prepstmt = connection.prepareStatement(preparedQuery);
prepstmt.setString(1, "%" + reqName.trim().toUpperCase() + "%");
ResultSet rslts = prepstmt.executeQuery();
rslts.next();
int aidn = rslts.getInt(1);
int actbox = rslts.getInt(2); String reqname = rslts.getString(3).toUpperCase();
String reqemails = rslts.getString(4);
String bizct = rslts.getString(5);
String dept = rslts.getString(6);
String loc = rslts.getString(7);
Date datereq = rslts.getDate(8);
String busvp = rslts.getString(9);
AND SO ONSo then I loop it, or try to with the following:
<%
try {
while ((rslts).next()) { %>
<tr class="style17">
<td><%=reqname%></td><td><%=reqemails %></td><td><%=bizct %></td>td><%=dept %></td>
<td><%=aidn %></td>
</tr>
<%
rslts.close();
selstmt.close();
catch(Exception ex){
ex.printStackTrace();
log("Exception", ex);
%>AND so on, setting 13 getXXX methods of the 16 cols in the SQL statement.
Trouble is I'm getting wildly inconsistent results.
For example, typing 'H' (w/o quotes) will spit out 20 duplicate records of a guy named Herman, with the rest of his corresponding info correct, just repeated for some reason.
Typing in 'He' will bring back the record twice (2 rows of the complete result set being queried).
However, typing in 'Her' returns nothing. I could type in 'ell' (last 3 letters of his name, Winchell) and it will again return two duplicate records, but typing in 'hell' would return nothing.
Am I omitting something crucial from the while statement that's needed to accurately print out the results set without duplicating it and that will ensure returning it?
There's also records in the DB that I know are there but aren't being returned. Different names (i.e. Jennifer, Jesse, Jeremy) won't be returned by typing in partial name strings like Je.
Any insight would be largely appreciated.
One sidenote: I can go to SQL Plus and accurately return a results set through the above query. Having said that, is it possible the JDBC driver has some kind of issue?
Message was edited by:
bpropes20
Message was edited by:
bpropes20Am I omitting something crucial from the while
statement that's needed to accurately print out the
results set without duplicating it and that will
ensure returning it?Yes.
In this code, nothing ever changes the value of reqname or any of the other variables.
while ((rslts).next()) { %>
<tr class="style17">
<td><%=reqname%></td><td><%=reqemails %></td><td><%=bizct %></td>td><%=dept %></td>
<td><%=aidn %></td>
</tr>
<%
} You code needs to be like this:while (rslts.next()) {
reqname = rslts.getString(3).toUpperCase();
reqemails = rslts.getString(4);
bizct = rslts.getString(5);
dept = rslts.getString(6);
loc = rslts.getString(7);
datereq = rslts.getDate(8);
busvp = rslts.getString(9);
%>
<tr class="style17">
<td><%=reqname%></td><td><%=reqemails %></td><td><%=bizct %></td>td><%=dept %></td>
<td><%=aidn %></td>
</tr>
<%
There's also records in the DB that I know are there
but aren't being returned. Different names (i.e.
Jennifer, Jesse, Jeremy) won't be returned by typing
in partial name strings like Je.Well, you're half-right, your loop won't display all the rows in the result set, because you call rslts.next(); once immediately after executing the query. That advance the result set to the first row; when the loop is entered, it starts displaying at the 2nd row (or later if there are more next() calls in the code you omitted). -
Unexpected result from XMLELEMENT() - nothing but XMLTYPE()
In testing XML DB thru SQL*PLUS under an Oracle 9.2 environment, I issued following query:
<QueryStatement>
SELECT XMLELEMENT("Name", p.name) as "Result" FROM PROD_PERIODS p
</QueryStatement>
But it returned nothing but following message that contain only "XMLTYPE()":
<ReturnedMessage>
Result()
XMLTYPE()
XMLTYPE()
</ReturnedMessage>
The table PROD_PERIODS does contain data for the test, which has been proved by removing the XMLELEMENT() function call.
Is there any setting should have been done before hand?
Any hints will be highly appreciated!
Thanks!
SpenserHi Mark,
Thanks for the hint and yes you're right the SQL*PLUS I was using, v8.1.7, is not XML aware.
Regards,
Spenser -
Hi All, not sure if this is the right forum......
I'm maintaining a large(ish) system written in C++ running on Solaris 10. One process occasionaly hangs. We suspect it's waiting on a mutex.
So - I'd like to use pstack in the shell script that restarts this particular process when the system's monitor decides this process is hung or dead. I'm hoping to find evidence of a call to Mutex_lock(...).
I have built a simple model. It just kicks off a thread, which immediately hangs ...
#include <iostream>
#include <thread.h>
#include <unistd.h>
using namespace std;
mutex_t v_mutex;
extern "C" void* workerthread(void* v)
cout << "Worker thread applying for mutex.\n";
mutex_lock(&v_mutex);
cout << "Worker thread got mutex.\n";
mutex_unlock(&v_mutex);
return 0;
int main(void)
thr_create(NULL,
0,
workerthread,
0 ,
THR_DETACHED,
0);
mutex_lock(&v_mutex);
pause();
}This makes the model process hang on the worker thread's request for the lock. However, in pstack, I don't see the call. (In several articles on the web, the suggestion is that I should be seeing it) This is what I get from pstack...
10337: ./a.out
----------------- lwp# 1 / thread# 1 --------------------
ff041104 pause ()
00011028 main (1, ffbff3b4, ffbff3bc, 21400, ff3a0700, ff3a0740) + 38
00010b38 _start (0, 0, 0, 0, 0, 0) + 108
----------------- lwp# 2 / thread# 2 --------------------
ff040408 lwp_park (0, 0, 0) <--- I'd expect to see the mutex_lock() here ?
00010f94 workerthread (0, feefc000, 0, 0, 10f68, 1) + 2c
ff040368 _lwp_start (0, 0, 0, 0, 0, 0)Just as a sanity check, a session with dbx shows what I was expecting, but this is no good for working from a script...
Attached to process 10337 with 2 LWPs
t@1 (l@1) stopped in _pause at 0xff041104
0xff041104: _pause+0x0004: ta %icc,0x00000008
Current function is main
34 pause();
(dbx) thread t@2
Current function is workerthread
16 mutex_lock(&v_mutex); <--- There it is !
t@2 (l@2) stopped in __lwp_park at 0xff040408
0xff040408: __lwp_park+0x0010: ta %icc,0x00000008
(dbx) exitSo does anyone see why I'm not getting the expected result from pstack?
Thanks very much
Jeff AdamsBTW, albeit I don't know your situation in full, I don't think using dbx in a script is impractical. It has -c "command" option and it can read commands from a stream:
$ dbx - 1234 -c "where -l"
$ dbx - 1234 < commands.txtFirst command should print stack trace of process with pid=1234 and the second will execute every command from file commands.txt on the same process. -
Decimal Result from Select Statement
I have the following select:
select (sum(state_months)/count(state_key)) from state_tab;.
If I do a select on it I get, *1*: +(state_months summed to 3 and the count for state_key is 2)+, but
if I do the following select: select 3/2 from dual, the result is *1.5*,
The numbers are declared, in the table, as follows:
state_months - number(38)
state_key - number
Is there any way to get 1.5 for the equation, *(sum(state_months)/count(state_key))* ?
The result will be put updated to a number or decimal field.
Thanksuser1687851 wrote:
I have the following select:
select (sum(state_months)/count(state_key)) from state_tab;.
If I do a select on it I get, *1*: +(state_months summed to 3 and the count for state_key is 2)+, but
if I do the following select: select 3/2 from dual, the result is *1.5*,
The numbers are declared, in the table, as follows:
state_months - number(38)
state_key - number
As an aside, it doesn't matter that state_key is a number. You are dividing sum(something) by count(somthing). Now, state_months DOES need to be a number, because you are SUMmming it. But COUNT() returns a number regardless of the data type of what is being COUNTed.
Is there any way to get 1.5 for the equation, *(sum(state_months)/count(state_key))* ?
Please show us the actual result you are getting in sqlplus:
column my_average 999,999,999.999999
select sum(state_months)/count(state_key)
from your_table;COPY the ENTIRE sqlpus session and PASTE back here.
The result will be put updated to a number or decimal field.
Thanks -
How to export the result from executing sql statement to excel file ?
HI all,
Great with Oracle SQL Developer, but I have have a trouble as follwing :
I want to export the result from executing sql statement to excel file . I do easily like that in TOAD ,
anyone can help me to do that ? Thanks so much
SigmasvnHello Sue,
I just tried to export to excel with the esdev extension and got java.lang.NumberFormatException. I found the workaround at Re: Windows Multi-language env, - how do I set English for application lang?
open the file sqldeveloper\jdev\bin\sqldeveloper.conf and add the following two lines:
AddVMOption -Duser.language=en
AddVMOption -Duser.country=USyet now my date formats in excel are 'american-style' instead of german. For example 01-DEC-01 so excel does not recognize it as date and therefore I can not simply change the format.
When export to excel will be native to 1.1 perhaps someone can have a look at this 'feature'
Regards
Marcus -
Count the number of rows resulting from a select statement
Hi,
Is there any way of counting the number of rows resulting from a select statement. i.e I have a select distinct statement and I then want to perform an IF statement on the number of rows resulting from the select statement.
Any help appreciated
Thanks
GaryDeclare
var1 number;
Begin
select count(distinct column_name) into
var1 from table_name;
If var1 > x Then
End IF;
End;
Hope I understood the problem correctly
null -
Method from Random class yields unexpected results
Hi,
I understand that the following code should generate a random integer within the range of 0 - 3, but the range is actually 0 - 4. Can someone tell me why it doesn't behave as expected? Could it be the version of Java I'm using?
Random rand = new Random(47);
int a = rand.nextInt(4);Thanks!gluedtothecomputer wrote:
You're right! It seemed to be producing unexpected results because I had incorporated a switch statement without breaks (part of my assignment). So, .nextInt() works as expected.
Thanks!Since you didn't post that code or even allude to it, it would have been hard for use to guess that's what you did, right?
That's why the best way to ask for help is for you to write and post a SSCCE .
Keep that in mind for your next post. -
How to get save result from EXECUTE from a dynamic SQL query in another table?
Hi everyone,
I have this query:
declare @query varchar(max) = ''
declare @par varchar(10)
SELECT @par = col1 FROM Set
declare @region varchar(50)
SELECT @region = Region FROM Customer
declare @key int
SELECT @key = CustomerKey FROM Customer
SET @query = 'SELECT CustomerKey FROM Customer where ' + @par + ' = '+ @key+ ' '
EXECUTE (@query)
With this query I want get col1 from SET and compare it to the column Region from Customer. I would like to get the matching CustomerKey for it.
After execution it says commands are executed successfully. But I want to save the result from @query in another table. I looked it up and most people say to use sp_executesql. I tried a few constructions as sampled and I would always get this error:
Msg 214, Level 16, State 2, Procedure sp_executesql, Line 12
Procedure expects parameter '@statement' of type 'ntext/nchar/nvarchar'.
So the output should be a list of CustomerKeys in another table.
How can I save the results from EXECUTE into a variable? Then I assume I can INSERT INTO - SELECT in another table.
ThanksCREATE TABLE Customer
(CustomerKey INT , Name NVARCHAR(100));
GO
INSERT dbo.Customer
VALUES ( 1, N'Sam' )
GO
DECLARE @query nvarchar(max) = ''
declare @par varchar(10) = 'Name',
@key varchar(10) = 'Sam'
CREATE TABLE #temp ( CustomerKey INT );
SET @query =
insert #temp
SELECT CustomerKey
FROM Customer
where ' + @par + ' = '''+ @key+ ''' '
PRINT @query
EXEC sp_executesql @query
SELECT *
FROM #temp
DROP TABLE #temp;
DROP TABLE dbo.Customer
Cheers,
Saeid Hasani
Database Consultant
Please feel free to contact me at [email protected] as well as on Twitter and Facebook.
[My Writings on TechNet Wiki] [T-SQL Blog] [Curah!]
[Twitter] [Facebook] [Email] -
How to compare result from sql query with data writen in html input tag?
how to compare result
from sql query with data
writen in html input tag?
I need to compare
user and password in html form
with all user and password in database
how to do this?
or put the resulr from sql query
in array
please help me?Hi dejani
first get the user name and password enter by the user
using
String sUsername=request.getParameter("name of the textfield");
String sPassword=request.getParameter("name of the textfield");
after executeQuery() statement
int exist=0;
while(rs.next())
String sUserId= rs.getString("username");
String sPass_wd= rs.getString("password");
if(sUserId.equals(sUsername) && sPass_wd.equals(sPassword))
exist=1;
if(exist==1)
out.println("user exist");
else
out.println("not exist"); -
Error: The report source could not be retrieved from the state object.
I have been trying to create a report in a JSF page. The relevant parts are below:
Inside the JSP page, this is the code:
<jsp:useBean id="MyBean" class="com.nm.facade.rto.POJOViewerBean" scope="session" />
<jsp:setProperty name="MyBean" property="reportLocation" value="Report1.rpt" />
<v:reportPageViewer reportSource="#{MyBean.reportSource}"
displayToolbarPrintButton="true"
printMode="ActiveX"
zoomPercentage="100"
displayToolbarExportButton="true"
displayToolbarRefreshButton="true"
viewerName="My Viewer"
></v:reportPageViewer>
In the backing bean, this is the relevant code:
public Object getReportSource() throws ReportSDKException
if (propertiesChanged || reportSource == null)
propertiesChanged = false;
if (reportLocation == null)
throw new RuntimeException("The reportLocation property must be set before a report source is retrieved");
ReportClientDocument rcd = new ReportClientDocument();
rcd.setReportAppServer(ReportClientDocument.inprocConnectionString);
rcd.open(reportLocation, 0);
DatabaseController dbc = rcd.getDatabaseController();
//Create the POJO collection and populate it with data
ReportData[] data =
new ReportData("B.B.", "King", 6, new Date(25, 9, 16)),
new ReportData("Muddy", "Waters", 7, new Date(15, 4, 4)),
new ReportData("John Lee", "Hooker", 8, new Date(16, 8, 16)),
new ReportData("Otis", "Rush", 9, new Date(34, 4, 29)),
new ReportData("Buddy", "Guy", 10, new Date(36, 7, 30))
//Create the result set from the collection of POJOs
POJOResultSetFactory factory = new POJOResultSetFactory(ReportData.class);
factory.setVerbose(true);
POJOResultSet results = factory.createResultSet(data);
ResultSetMetaData metaData = results.getMetaData();
//Set the resultset as the report datasource
//Get the table name from the 'Set Datasource Location' dialog in the Crystal Reports designer
String reportTable = "getReportDataDataSource";
dbc.setDataSource(results, reportTable, reportTable);
IReportSource reportSource = rcd.getReportSource();
if (reportSource == null)
throw new RuntimeException("Unable to get a report source.");
return reportSource;
In the CRConfig.xml, this is what is there:
<?xml version="1.0" encoding="utf-8"?>
<CrystalReportEngine-configuration>
<reportlocation>../reports</reportlocation>
<timeout>0</timeout>
<ExternalFunctionLibraryClassNames>
<classname></classname>
</ExternalFunctionLibraryClassNames>
</CrystalReportEngine-configuration>
The report template 'Report1.rpt' is packaged under WEB-INF/reports in the war file.
When I try to generate the report by accessing the JSF page, I am getting an error: "The report source could not be retrieved from the state object. "
I am not sure what is wrong. Can someone help me in resolving this issue?
Edited by: renshai on Jul 9, 2009 3:21 AMMy formatting gets lost and the message looks unintelligible. After some experimentation, I found that if the message exceeds some length, the formatting is removed. Since I couldn't find any way to delete this post, I made another post with the same subject. Please ignore this post and help me to find a solution for the problem posted in the other thread with the same subject. Thanks in advance.
-
Bug: Create New Document From Current State (Win 7 HomePremium SP1)
1. Open a new document, any size you want, any bit mode you want
2. Click on the Text tool and write something
3. Add a new layer mask do the text layer and fill it black or something else. Just something you can visualize if you'd took it off.
4. Unblock the layer mask from the layer so you can move tha layer mask separate from the text
5. Go to your history pannel and click "Create new document from current state"
Result: You'll notice that the layer mask is gone from your text, even though it had something in it.
This only seems to happen with text layers
Expected Result: Everything should stay exactly the same, as it's a duplicate from the current state.
System Info:
Adobe Photoshop Version: 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00) x32
Operating System: Windows 7 32-bit
Version: 6.1 Service Pack 1
System architecture: AMD CPU Family:15, Model:11, Stepping:2 with MMX, SSE Integer, SSE FP, SSE2, SSE3
Physical processor count: 2
Processor speed: 2493 MHz
Built-in memory: 3071 MB
Free memory: 723 MB
Memory available to Photoshop: 1674 MB
Memory used by Photoshop: 100 %
Image tile size: 132K
Image cache levels: 4
Photoshop crashed on 29-03-2012 at 19:49:02 (AllocateSharedGLResources)
OpenGL Drawing: Enabled.
OpenGL Drawing Mode: Advanced
OpenGL Allow Normal Mode: True.
OpenGL Allow Advanced Mode: True.
OpenGL Allow Old GPUs: Not Detected.
Video Card Vendor: ATI Technologies Inc.
Video Card Renderer: ATI Radeon HD 4600 Series
Display: 1
Display Bounds:= top: 0, left: 0, bottom: 768, right: 1360
Video Card Number: 1
Video Card: ATI Radeon HD 4600 Series
OpenCL Unavailable
Driver Version: 8.632.1.2000
Driver Date: 20090817000000.000000-000
Video Card Driver: atiumdag.dll,atidxx32.dll,atidxx64,atiumdva.cap,atiumd64,atiumd6a,atitmm64
Video Mode: 1360 x 768 x 4294967296 colors
Video Card Caption: ATI Radeon HD 4600 Series
Video Card Memory: 512 MB
Video Rect Texture Size: 8192
Serial number: Tryout Version
Application folder: C:\Program Files\Adobe\Adobe Photoshop CS6\
Temporary file path: C:\Users\Motta\AppData\Local\Temp\
Photoshop scratch has async I/O enabled
Scratch volume(s):
E:\, 228,7G, 28,9G free
Required Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS6\Required\
Primary Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS6\Plug-ins\
Additional Plug-ins folder: not set
Installed components:
A3DLIBS.dll A3DLIB Dynamic Link Library 9.2.0.112
ACE.dll ACE 2012/01/18-15:07:40 66.492997 66.492997
adbeape.dll Adobe APE 2012/01/25-10:04:55 66.1025012 66.1025012
AdobeLinguistic.dll Adobe Linguisitc Library 6.0.0
AdobeOwl.dll Adobe Owl 2012/02/09-16:00:02 4.0.93 66.496052
AdobePDFL.dll PDFL 2011/12/12-16:12:37 66.419471 66.419471
AdobePIP.dll Adobe Product Improvement Program 6.0.0.1642
AdobeXMP.dll Adobe XMP Core 2012/02/06-14:56:27 66.145661 66.145661
AdobeXMPFiles.dll Adobe XMP Files 2012/02/06-14:56:27 66.145661 66.145661
AdobeXMPScript.dll Adobe XMP Script 2012/02/06-14:56:27 66.145661 66.145661
adobe_caps.dll Adobe CAPS 5,0,10,0
AGM.dll AGM 2012/01/18-15:07:40 66.492997 66.492997
ahclient.dll AdobeHelp Dynamic Link Library 1,7,0,56
aif_core.dll AIF 3.0 62.490293
aif_ocl.dll AIF 3.0 62.490293
aif_ogl.dll AIF 3.0 62.490293
amtlib.dll AMTLib 6.0.0.75 (BuildVersion: 6.0; BuildDate: Mon Jan 16 2012 18:00:00) 1.000000
ARE.dll ARE 2012/01/18-15:07:40 66.492997 66.492997
AXE8SharedExpat.dll AXE8SharedExpat 2011/12/16-15:10:49 66.26830 66.26830
AXEDOMCore.dll AXEDOMCore 2011/12/16-15:10:49 66.26830 66.26830
Bib.dll BIB 2012/01/18-15:07:40 66.492997 66.492997
BIBUtils.dll BIBUtils 2012/01/18-15:07:40 66.492997 66.492997
boost_date_time.dll DVA Product 6.0.0
boost_signals.dll DVA Product 6.0.0
boost_system.dll DVA Product 6.0.0
boost_threads.dll DVA Product 6.0.0
cg.dll NVIDIA Cg Runtime 3.0.00007
cgGL.dll NVIDIA Cg Runtime 3.0.00007
CIT.dll Adobe CIT 2.0.5.19287 2.0.5.19287
CoolType.dll CoolType 2012/01/18-15:07:40 66.492997 66.492997
data_flow.dll AIF 3.0 62.490293
dvaaudiodevice.dll DVA Product 6.0.0
dvacore.dll DVA Product 6.0.0
dvamarshal.dll DVA Product 6.0.0
dvamediatypes.dll DVA Product 6.0.0
dvaplayer.dll DVA Product 6.0.0
dvatransport.dll DVA Product 6.0.0
dvaunittesting.dll DVA Product 6.0.0
dynamiclink.dll DVA Product 6.0.0
ExtendScript.dll ExtendScript 2011/12/14-15:08:46 66.490082 66.490082
FileInfo.dll Adobe XMP FileInfo 2012/01/17-15:11:19 66.145433 66.145433
filter_graph.dll AIF 3.0 62.490293
hydra_filters.dll AIF 3.0 62.490293
icucnv40.dll International Components for Unicode 2011/11/15-16:30:22 Build gtlib_3.0.16615
icudt40.dll International Components for Unicode 2011/11/15-16:30:22 Build gtlib_3.0.16615
image_compiler.dll AIF 3.0 62.490293
image_flow.dll AIF 3.0 62.490293
image_runtime.dll AIF 3.0 62.490293
JP2KLib.dll JP2KLib 2011/12/12-16:12:37 66.236923 66.236923
libeay32.dll The OpenSSL Toolkit 0.9.8g
libifcoremd.dll Intel(r) Visual Fortran Compiler 10.0 (Update A)
libmmd.dll Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler 10.0
LogSession.dll LogSession 2.1.2.1640
mediacoreif.dll DVA Product 6.0.0
MPS.dll MPS 2012/02/03-10:33:13 66.495174 66.495174
msvcm80.dll Microsoft® Visual Studio® 2005 8.00.50727.6195
msvcm90.dll Microsoft® Visual Studio® 2008 9.00.30729.1
msvcp100.dll Microsoft® Visual Studio® 2010 10.00.40219.1
msvcp71.dll Microsoft® Visual Studio .NET 7.10.3077.0
msvcp80.dll Microsoft® Visual Studio® 2005 8.00.50727.6195
msvcp90.dll Microsoft® Visual Studio® 2008 9.00.30729.1
msvcr100.dll Microsoft® Visual Studio® 2010 10.00.40219.1
msvcr71.dll Microsoft® Visual Studio .NET 7.10.3052.4
msvcr80.dll Microsoft® Visual Studio® 2005 8.00.50727.6195
msvcr90.dll Microsoft® Visual Studio® 2008 9.00.30729.1
pdfsettings.dll Adobe PDFSettings 1.04
Photoshop.dll Adobe Photoshop CS6 CS6
Plugin.dll Adobe Photoshop CS6 CS6
PlugPlug.dll Adobe(R) CSXS PlugPlug Standard Dll (32 bit) 3.0.0.383
PSArt.dll Adobe Photoshop CS6 CS6
PSViews.dll Adobe Photoshop CS6 CS6
SCCore.dll ScCore 2011/12/14-15:08:46 66.490082 66.490082
ScriptUIFlex.dll ScriptUIFlex 2011/12/14-15:08:46 66.490082 66.490082
shfolder.dll Microsoft(R) Windows (R) 2000 Operating System 5.50.4027.300
ssleay32.dll The OpenSSL Toolkit 0.9.8g
tbb.dll Intel(R) Threading Building Blocks for Windows 3, 0, 2010, 0406
tbbmalloc.dll Intel(R) Threading Building Blocks for Windows 3, 0, 2010, 0406
TfFontMgr.dll FontMgr 9.3.0.113
TfKernel.dll Kernel 9.3.0.113
TFKGEOM.dll Kernel Geom 9.3.0.113
TFUGEOM.dll Adobe, UGeom© 9.3.0.113
updaternotifications.dll Adobe Updater Notifications Library 6.0.0.24 (BuildVersion: 1.0; BuildDate: BUILDDATETIME) 6.0.0.24
WRServices.dll WRServices Friday January 27 2012 13:22:12 Build 0.17112 0.17112
wu3d.dll U3D Writer 9.3.0.113
Required plug-ins:
3D Studio 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Accented Edges 13.0
Adaptive Wide Angle 13.0
ADM 3.11x01
Angled Strokes 13.0
Average 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Bas Relief 13.0
BMP 13.0
Chalk & Charcoal 13.0
Charcoal 13.0
Chrome 13.0
Cineon 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Clouds 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Collada 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Color Halftone 13.0
Colored Pencil 13.0
CompuServe GIF 13.0
Conté Crayon 13.0
Craquelure 13.0
Crop and Straighten Photos 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Crop and Straighten Photos Filter 13.0
Crosshatch 13.0
Crystallize 13.0
Cutout 13.0
Dark Strokes 13.0
De-Interlace 13.0
Dicom 13.0
Difference Clouds 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Diffuse Glow 13.0
Displace 13.0
Dry Brush 13.0
Eazel Acquire 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Embed Watermark 4.0
Entropy 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Extrude 13.0
FastCore Routines 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Fibers 13.0
Film Grain 13.0
Filter Gallery 13.0
Flash 3D 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Fresco 13.0
Glass 13.0
Glowing Edges 13.0
Google Earth 4 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Grain 13.0
Graphic Pen 13.0
Halftone Pattern 13.0
HDRMergeUI 13.0
IFF Format 13.0
Ink Outlines 13.0
JPEG 2000 13.0
Kurtosis 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Lens Blur 13.0
Lens Correction 13.0
Lens Flare 13.0
Liquify 13.0
Matlab Operation 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Maximum 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Mean 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Measurement Core 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Median 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Mezzotint 13.0
Minimum 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
MMXCore Routines 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Mosaic Tiles 13.0
Multiprocessor Support 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Neon Glow 13.0
Note Paper 13.0
NTSC Colors 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Ocean Ripple 13.0
Oil Paint 13.0
OpenEXR 13.0
Paint Daubs 13.0
Palette Knife 13.0
Patchwork 13.0
Paths to Illustrator 13.0
PCX 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Photocopy 13.0
Photoshop 3D Engine 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Picture Package Filter 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Pinch 13.0
Pixar 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Plaster 13.0
Plastic Wrap 13.0
PNG 13.0
Pointillize 13.0
Polar Coordinates 13.0
Portable Bit Map 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Poster Edges 13.0
Radial Blur 13.0
Radiance 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Range 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Read Watermark 4.0
Reticulation 13.0
Ripple 13.0
Rough Pastels 13.0
Save for Web 13.0
ScriptingSupport 13.0
Shear 13.0
Skewness 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Smart Blur 13.0
Smudge Stick 13.0
Solarize 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Spatter 13.0
Spherize 13.0
Sponge 13.0
Sprayed Strokes 13.0
Stained Glass 13.0
Stamp 13.0
Standard Deviation 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Sumi-e 13.0
Summation 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Targa 13.0
Texturizer 13.0
Tiles 13.0
Torn Edges 13.0
Twirl 13.0
U3D 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Underpainting 13.0
Vanishing Point 13.0
Variance 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Variations 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Viveza 2 2.0.2.10710
Water Paper 13.0
Watercolor 13.0
Wave 13.0
Wavefront|OBJ 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
WIA Support 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
Wind 13.0
Wireless Bitmap 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
ZigZag 13.0
Optional and third party plug-ins:
Camera Raw 7.0
Color Efex Pro 3.0 Complete 3.1.10.8263
Color Efex Pro 4 NO VERSION
Color Efex Pro 4 NO VERSION
HDR Efex Pro 1,20
HDR Efex Pro Metadata 1,20
Merge to HDR Efex Pro 1,20
Nik Selective Tool 2.1.0.15202
Noiseware Professional 4.2.0.5
Silver Efex Pro 2 2,0
Silver Efex Pro 2 2,0
Plug-ins that failed to load: NONE
Flash:
Mini Bridge
Kuler
Installed TWAIN devices: NONEYep, that existed in CS5 as well.
We'll log a bug on it. -
In what order are results from gather_database_stats 'LIST AUTO' returned?
11.2.0.1.0. The results from the following seem to have some order to them (groupings of objects returned alphabetically). Didn't see anywhere in the docs to indicate what's getting returned in what order (empty stats, stale stats). I looked at table stats for one at the top of the list and it looks like the table had stats gathered recently, so i'm confused. I ran this from sqlplus:
set serveroutput on size unlimited;
DECLARE
ObjList dbms_stats.ObjectTab;
BEGIN
dbms_stats.gather_database_stats(objlist=>ObjList, options=>'LIST AUTO');
FOR i in ObjList.FIRST..ObjList.LAST
LOOP
dbms_output.put_line(ObjList(i).ownname || '.' || ObjList(i).ObjName || ' ' || ObjList(i).ObjType || ' ' || ObjList(i).partname);
END LOOP;
END;
/Enlightened answer: "So bug off and work with what you get"
The report was run on a database that doesnt have any auto stat collection occurring. There are 4000 items returned in the list. One of the items looks ok when you look at dba_tables (row count correct and last_analyzed recent). Just trying to figure out why this table was included in the list. Might be the way stats collected for it isn't updating some mechanism that gather_database_stats is utilizing. From what I can tell the order is 1) tables with no stats, 2) indexes with no stats, 3) stale tables. -
Hello -
I have the following results from running a SQL_Trace for a session. The first Insert statement uses all bind variables, so it's executed 785 times with 0 missed parses in the Library Cache. The second Insert statement does not use bind variable for two date columns, so this Insert statement is executed anywhere from 1 to 4 times, but there are hundreds of these Insert statements in my trace file. Should performance improve if the second statement uses bind variables for the date columns?
Thanks.
1. Insert statement that uses all bind variables:
insert into SERVICE_EVENT (ACT_UID, SEV_SEQ_NO, RPCS_SOURCE_NM,
SEV_FUNCTION_XX, CLIENT_NM, SEV_HOST_NM, SEV_CICS_TASK_ID, SEV_RECEIVE_TS,
SEV_SEND_TS, SEV_SEND_BYTE_CT, SEV_RECEIVE_BYTE_CT, SEV_G_MESSAGE_XX,
SEV_A_MESSAGE_XX, SERVICE_NM, SEV_SERVER_NM, ORGANIZATION_NM,
APPLICATION_ID, RPC_SEQ_NO)
values
(:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,:12,:13,:14,:15,:16,:17,:18)
call count cpu elapsed disk query current rows
Parse 0 0.00 0.00 0 0 0 0
Execute 785 0.18 0.19 0 681 5210 785
Fetch 0 0.00 0.00 0 0 0 0
total 785 0.18 0.19 0 681 5210 785
2. Insert statement that does not use bind variables for the data columns:
insert into SERVICE_EPISODE (ACT_UID, SE_SERVER_NM, SE_REQ_BYTE_CT,
SE_RESP_BYTE_CT, SE_REQ_XML_XX, SE_RESP_XML_XX, SVX_XML_STYLE_NM,
ORGANIZATION_NM, APPLICATION_CD, CLIENT_REQ_ID, DURATION_MS, STATUS_CD,
SE_REQ_USER_ID, SE_REQ_RACF_IDS, SE_REQ_TS, SE_RESP_TS)
values
(:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,:12,:13,:14,TO_DATE('05/18/05 16:31:17',
'MM/DD/YY HH24:MI:SS'), TO_DATE('05/18/05 16:31:17','MM/DD/YY HH24:MI:SS'))
call count cpu elapsed disk query current rows
Parse 2 0.00 0.00 0 0 0 0
Execute 2 0.00 0.00 0 4 45 2
Fetch 0 0.00 0.00 0 0 0 0
total 4 0.00 0.00 0 4 45 2Should performance improve if the second statement uses bind variables for the date columns? Probably, it depends on how expense the parse is compared to the rest of teh query execution. But generally, if you've got hundreds of statements which are the same except for literals then it's usually a good idea to replace them with a statement that uses bind variables. The best thing to do is benchmark it.
Cheers, APC
Maybe you are looking for
-
How to get all the values from a HashMap? thanks
hi can anyone tell me how to get all the keys and their values contained in a HashMap? thanks
-
The latest versions of iWork are not installing from the AppStore
I have a new iMac with the bundled copies of Pages 5.0, Keynote 6.0 and Numbers 3.0 The AppStore showed Updates so I updated these and AppStore now things I have Pages 5.1, Numbers 3.1 and Keynote 6.1 installed. However the versions in my Application
-
CFCHART is not rendering on our server for some reason. We cache to disk and are generating a .SWF file. The. SWF is in the chart cache folder ok, and can be viewed separately, however it will not render within a web page. When we view source we see
-
Hello sir, here i got problem while calling java method having array as arguments from c++; here is java code which is called from c++ class PQR { public void xyz(int[] ia) { System.out.println("hi"); for (int i = 0; i < ia.length
-
NoClassDefFoundError weblogic.Deployer 7.01
I'm trying to use the weblogic.Deployer utility, but I am not able to get it working. (I'm on a Win2K server and I'm pretty new to weblogic server...) Everytime I try to run the deployer, I get this error: Exception in thread "main" java.lang.NoClass