SQL query not working well
Hi,
I made a small table with 5 rows and want to make them an sql consult using rownum
so I'm running
select * from mytable where rownum = 1;and it gives me the first row but if I change the 1 for a 2 or 3 or 4 or 5 it's says that theres nothing :S
why?????????????????????
but if i change for between 1 and 5 it gave me the 4 rows :S :S
why???????????????????
AlanWms wrote:
try this:
SELECT *
FROM (
SELECT bne.*, rownum myrow
FROM BAN_EVENTOS_CONFIRMACION bne WHERE ROWNUM <=5)
WHERE myrow = 2;
Wrong!!! Rows in table are not stored in any specific order. Rows are fetched based on execution plan. So if execution plan changed query will retrieve same rows but they can be fetched in a different order. Bottom line only ORDER BY guarantees order. Without ORDER BY there is no sense to talk about first row, second row, last row or any row position.
SY.
Similar Messages
-
Inline transform for Sql Query not working in SAP MII 12.1 Version 12.1.8 B
Hi All,
I applied an xslt for an sql query which returns an xml file.
I used inline transform icon in sql query to load an xsl file which has to return me a string
Any idea why is not working for me..?
My Sample XML file:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/XMII/CM/BatchDisposition/BatchQueueManagement/StyleSheets/ProductXsl.xsl"?>
<Rowsets DateCreated="2011-05-05T07:27:45" EndDate="2011-05-05T07:27:45" StartDate="2011-05-05T06:27:45" Version="12.1.8 Build(20)">
<Rowset>
<Columns>
<Column Description="ProductName" MaxRange="1" MinRange="0" Name="ProductName" SQLDataType="12" SourceColumn="ProductName"/>
</Columns>
<Row>
<ProductName>Asprin 100mg Tablets 12 x10 strip</ProductName>
</Row>
<Row>
<ProductName>Asprin 300mg Tablets 12 x10 strip</ProductName>
</Row>
<Row><ProductName>Ibprooven 200mg Tablets 12 x 10 strip</ProductName></Row>
<Row><ProductName>RipTide 50mg Tablets 40 x10 strip</ProductName></Row>
<Row><ProductName>Seroquel 200mg Tablets 6 x10 strip</ProductName></Row>
<Row><ProductName>Seroquel 400mg Tablets 12 x10 strip</ProductName></Row>
</Rowset>
</Rowsets>
My Sample XSl File:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<xsl:text>["</xsl:text>
<xsl:for-each select="Rowsets/Rowset/Row">
<xsl:value-of select="ProductName"/>
<xsl:if test="position() < last()">
<xsl:text>","</xsl:text>
</xsl:if>
<xsl:if test="position()=last()">
<xsl:text>"]</xsl:text>
</xsl:if>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
Any Suggestions are Welcome:
ThanksSomething like this should work...
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<Rowsets DateCreated="{Rowsets/@DateCreated}" Version="{Rowsets/@Version}" StartDate="{Rowsets/@StartDate}" EndDate="{Rowsets/@EndDate}">
<xsl:copy-of select="/Rowsets/FatalError"/>
<xsl:copy-of select="/Rowsets/Messages"/>
<Rowset>
<Columns>
<Column Description="Mycol1" MaxRange="1" MinRange="0" Name="Mycol1" SQLDataType="12" SourceColumn="Mycol1" />
</Columns>
<Row>
<Mycol1>
<xsl:text>["</xsl:text>
<xsl:for-each select="/Rowsets/Rowset/Row">
<xsl:value-of select="." />
<xsl:choose>
<xsl:when test="position() < last()"><xsl:text>","</xsl:text></xsl:when>
<xsl:otherwise><xsl:text>"]</xsl:text></xsl:otherwise>
</xsl:choose>
</xsl:for-each>
</Mycol1>
</Row>
</Rowset>
</Rowsets>
</xsl:template>
</xsl:stylesheet> -
Hi All,
Please help with the error ORA-00923: FROM keyword not found where expected.
I am trying to execute the following SQL query.
SELECT
CASE
WHEN (Grouping("PRICECATEGORY"."PriceCategoryName")=1) THEN "PriceCatTotal"
ELSE "PRICECATEGORY"."PriceCategoryName"
END AS "PRICECATEGORY"."PriceCategoryName",
CASE
WHEN (Grouping("LINEITEM"."LineDescription")=1) THEN "LineTotal"
ELSE "LINEITEM"."LineDescription"
END AS "LINEITEM"."LineDescription" ,
*"INVOICE"."InvoiceDate",*
Sum("TRANSACTION"."TotalPrice") as "TotalPrice",
Sum("INVOICE_CHILD"."QUANTITY") as "Quantity"
FROM "LINEITEM","INVOICE","TRANSACTION","PRICECATEGORY", "INVOICE_CHILD"
WHERE "TRANSACTION"."InvoiceID"="INVOICE"."InvoiceNumber"
and "TRANSACTION"."PriceCategoryID"="PRICECATEGORY"."PriceCategoryID"
and "INVOICE_CHILD"."INVOICEID"="INVOICE"."InvoiceID"
and "PRICECATEGORY"."PriceCategoryID"="TRANSACTION"."PriceCategoryID"
and "TRANSACTION"."PriceCategoryID"="PRICECATEGORY"."PriceCategoryID"
and "PRICECATEGORY"."PriceCategoryID"="TRANSACTION"."PriceCategoryID"
and "LINEITEM"."LINEITEMID"="TRANSACTION"."LineItemID"
and "LINEITEM"."PRICECATEGORYID"="PRICECATEGORY"."PriceCategoryID"
and "INVOICE"."InvoiceDate" >= :STARTDATE and "INVOICE"."InvoiceDate" <= to_date(:ENDDATE,'DD-MON-YY')+1
GROUP BY "PRICECATEGORY"."PriceCategoryName", "LINEITEM"."LineDescription" WITH ROLLUP
I am using a from keyword at the right place and all the aliases are properly used.
Please advice.
Regards,
Sandeep ReddyJaydip and Jeff are correct:
<li>Jaydip points out that <tt>"PRICECATEGORY"."PriceCategoryName"</tt> and <tt>"LINEITEM"."LineDescription"</tt> are not valid column alias names. They must be unqualified, nonquoted/quoted identifiers.
<li>Jeff indicates that <tt>WITH ROLLUP</tt> is not Oracle SQL syntax, and provides a sample of the required ROLLUP/CUBE clauseOracle SQL <tt>ROLLUP/CUBE clause</tt>.
Additionally, <tt>TRANSACTION</tt> is an Oracle keyword and therefore a poor choice as a database identifier: change the name of this table as soon as possible.
You're having this problem because not all "SQL" is created equal. Your OdeToCode source appears to be a site dealing with Microsoft technologies (SQL Server in this case). Unless you are very familiar with Oracle and SQL Server and the inherent differences between them you'd be advised to stick to purely Oracle resources (I know I do). There are plenty of good Oracle resources out there.
You'll also find it a lot easier to write, read and spot problems in SQL and PL/SQL code if you avoid using quoted identifiers (please tell us the database objects don't have case-sensitive names?) and use short table aliases rather than full table names. And we'll find it easier to help you on this forum if you post code samples wrapped in \...\wrapped in <tt>\...\</tt> tags. -
SQL Query not working in action performed event of combobox in swing
hi all..
i have to retreive from the database based on the item selected in the comboBox.......
when the program runs for the first time the data of defaultselected item is being displayed...
but when another item is selected the data is not retrieved from the database....
i am able to print the selected item but unable to query the database for the selected item
private void resultsItemStateChanged(java.awt.event.ItemEvent evt) {
// TODO add your handling code here:
try{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
conn = DriverManager.getConnection("jdbc:odbc:aa");
System.out.println("you have selected me : --- >" + results.getSelectedItem().toString());
sql="SELECT * FROM " + name + " WHERE term = ? ";
srch2 = conn.prepareStatement(sql);
srch2.setString(1,results.getSelectedItem().toString());
rs2 = srch2.executeQuery();
rs2.next();
tarea2.setText("\n Definition:"+rs1.getString(3));
tarea3.setText("\n Description:"+rs1.getString(4));
tarea4.setText("\n Related Terms:"+rs1.getString(5));
tarea5.setText("\n Hyperlinks : "+rs1.getString(6));
tarea6.setText("\n References:"+rs1.getString(7));
conn.close();
rs2.close();
} catch(Exception e){}
} please help me to query the database for the selected item
Thanks in advance...hi all..
i have to retreive from the database based on the item selected in the comboBox.......
when the program runs for the first time the data of defaultselected item is being displayed...
but when another item is selected the data is not retrieved from the database....
i am able to print the selected item but unable to query the database for the selected item
private void resultsItemStateChanged(java.awt.event.ItemEvent evt) {
// TODO add your handling code here:
ResultSet rs2=null;
PreparedStatement srch2 = null;
Connection conn1= null;
Statement us = null;
try{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
conn1 = DriverManager.getConnection("jdbc:odbc:aa");
System.out.println("you have selected me : --- >" + results.getSelectedItem().toString());
sql="SELECT * FROM " + name + " WHERE term = ?";
srch2 = conn.prepareStatement(sql);
srch2.setString(1,results.getSelectedItem().toString());
rs2 = srch2.executeQuery();
rs2.next();
tarea2.setText("\n"+rs1.getString(3));
tarea3.setText("\n "+rs1.getString(4));
tarea4.setText("\n"+rs1.getString(5));
tarea6.setText("\n"+rs1.getString(6));
tarea5.setText("\n"+rs1.getString(7));
rs2.close();
conn1.close();
} catch(Exception e){
System.out.println(e);
After printing for the first time it is showing like this ...
java.sql.SQLException: ResultSet is closed
at sun.jdbc.odbc.JdbcOdbcResultSet.checkOpen(JdbcOdbcResultSet.java:6646)
at sun.jdbc.odbc.JdbcOdbcResultSet.getString(JdbcOdbcResultSet.java:257)
at more_info.resultsActionPerformed(more_info.java:301)
at more_info.access$100(more_info.java:25)
at more_info$2.actionPerformed(more_info.java:121)
at javax.swing.JComboBox.fireActionEvent(JComboBox.java:1242)
at javax.swing.JComboBox.setSelectedItem(JComboBox.java:569)
at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:605)
at javax.swing.plaf.basic.BasicComboPopup$Handler.mouseReleased(BasicComboPopup.java:814)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
at javax.swing.plaf.basic.BasicComboPopup$1.processMouseEvent(BasicComboPopup.java:480)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121) -
SQL Query not working for column names with spaces
Hi People..
We have a strange situation wherein, the column name in the database table has a space inbetween like "Constant Name". While we write a JDBC statement code with the select query we get an exception for invalid syntax. It will help us in a great way if you have anything to inform us on this..
Thanks
PrabzUsing case sensitive names and names with spaces in it is not a good practice.
However, I believe the SQL standard accounts for this with quoted identifiers. I believe the syntax is
. select "My Field1", "My Field2"
. from "My Table'
Have also seen the following although it might be MS Access specific.
. select [My Field1], [My Field2]
. from [My Table] -
Help SQL Query (Not working as it should)
Hello everybody,
I'm using JDeveloper 12.1.2.0.0 . I'm doing a bidirectional comunication using 3 tables, with bindings between them (and using HR schema).
In my example, i have something like:
Departments, Employees and SalaryByJobs (i created this table where it shows the departmentd id, employee id, job, salary).
Whenever i click on one OR more departments, the employees table update by putting on the table, the employees that belong to the selected department and the salaryByjob put the jobs by employees selected on the employees table.
So it's something like this:
Departments selected -> employees selected -> salarybyjbobs of those employees.
My Employees query (in the view) has the following code:
SELECT Employees.COMMISSION_PCT,
Employees.DEPARTMENT_ID,
Employees.EMAIL,
Employees.EMPLOYEE_ID,
Employees.FIRST_NAME,
Employees.HIRE_DATE,
Employees.JOB_ID,
Employees.LAST_NAME,
Employees.MANAGER_ID,
Employees.PHONE_NUMBER,
Employees.SALARY
FROM EMPLOYEES Employees
WHERE ( DEPARTMENT_ID IN (select * from THE(select cast( in_list(:variavel3) as mytableType ) from dual ) a))
Since i use bindings, the employees table don't show anything in the beginning, so i added this parte to my employees query: OR nvl(:variavel3,0) = 0
But now, whenever i try to select more than one row, it gives me invalid numbers and i don't understand why..
It's only more one line of code and it's not in the bean.
Can anyone help me?
Ps - The bean goes department by department, appends the departments with "," and for each department, gets the employees that belongs to them.
My best regards,
Frederico Barracha.The expression NVL(:variavel3,0)=0 is not correct. The datatype of the return value of the NVL function is considered equal to the datatype of the 1st argument (i.e to the datatype of the bind variable :variavel3). You said that this variable contained a comma-separated list of IDs, so the variable's datatype is VARCHAR2. As far as you are comparing the NVL-expression to a number, you get "Invalid number" exception, because Oracle is expecting a numeric datatype at the left side of the comparison operator.
In order to avoid the "Invalid number" exception you can modify the expression using one of the following options:
:variavel3 IS NULL
NVL( :variavel3, '*' ) = '*'
NVL( :variavel3, '0' ) = '0'
The 1st option if the simplest and the most clear one.
Dimitar -
Hi guys,
I created a calculated member using the following MDX query;
CALCULATE;
CREATE MEMBER CURRENTCUBE.[Measures].[Dispute Accepted]
AS
SUM(EXISTING([Measures].[Dispute Logged],([Dispute Status].[Status].&[Accepted]),([Date of Transaction].[Date].[All]))),
FORMAT_STRING = "Standard",
VISIBLE = 1 , DISPLAY_FOLDER = 'Dispute Management' ;
And this is the output i got when I tried to browse the cube. Please can someone help me and check what is wrong with the query. Thanks
meHi lilutchay,
Since this issue is related to Analysis Services, I will move this thread to Analysis Services forum. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.
Thank you for your understanding and support.
Regards,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Oracle date parameter query not working?
http://stackoverflow.com/questions/14539489/oracle-date-parameter-query-not-working
Trying to run the below query, but always fails even though the parameter values matches. I'm thinking there is a precision issue for :xRowVersion_prev parameter. I want too keep as much precision as possible.
Delete
from CONCURRENCYTESTITEMS
where ITEMID = :xItemId
and ROWVERSION = :xRowVersion_prev
The Oracle Rowversion is a TimestampLTZ and so is the oracle parameter type.
The same code & query works in Sql Server, but not Oracle.
Public Function CreateConnection() As IDbConnection
Dim sl As New SettingsLoader
Dim cs As String = sl.ObtainConnectionString
Dim cn As OracleConnection = New OracleConnection(cs)
cn.Open()
Return cn
End Function
Public Function CreateCommand(connection As IDbConnection) As IDbCommand
Dim cmd As OracleCommand = DirectCast(connection.CreateCommand, OracleCommand)
cmd.BindByName = True
Return cmd
End Function
<TestMethod()>
<TestCategory("Oracle")> _
Public Sub Test_POC_Delete()
Dim connection As IDbConnection = CreateConnection()
Dim rowver As DateTime = DateTime.Now
Dim id As Decimal
Using cmd As IDbCommand = CreateCommand(connection)
cmd.CommandText = "insert into CONCURRENCYTESTITEMS values(SEQ_CONCURRENCYTESTITEMS.nextval,'bla bla bla',:xRowVersion) returning ITEMID into :myOutputParameter"
Dim p As OracleParameter = New OracleParameter
p.Direction = ParameterDirection.ReturnValue
p.DbType = DbType.Decimal
p.ParameterName = "myOutputParameter"
cmd.Parameters.Add(p)
Dim v As OracleParameter = New OracleParameter
v.Direction = ParameterDirection.Input
v.OracleDbType = OracleDbType.TimeStampLTZ
v.ParameterName = "xRowVersion"
v.Value = rowver
cmd.Parameters.Add(v)
cmd.ExecuteNonQuery()
id = CType(p.Value, Decimal)
End Using
Using cmd As IDbCommand = m_DBTypesFactory.CreateCommand(connection)
cmd.CommandText = " Delete from CONCURRENCYTESTITEMS where ITEMID = :xItemId and ROWVERSION = :xRowVersion_prev"
Dim p As OracleParameter = New OracleParameter
p.Direction = ParameterDirection.Input
p.DbType = DbType.Decimal
p.ParameterName = "xItemId"
p.Value = id
cmd.Parameters.Add(p)
Dim v As OracleParameter = New OracleParameter
v.Direction = ParameterDirection.Input
v.OracleDbType = OracleDbType.TimeStampLTZ
v.ParameterName = "xRowVersion_prev"
v.Value = rowver
v.Precision = 6 '????
cmd.Parameters.Add(v)
Dim cnt As Integer = cmd.ExecuteNonQuery()
If cnt = 0 Then Assert.Fail() 'should delete
End Using
connection.Close()
End Sub
Schema:
-- ****** Object: Table SYSTEM.CONCURRENCYTESTITEMS Script Date: 1/26/2013 11:56:50 AM ******
CREATE TABLE "CONCURRENCYTESTITEMS" (
"ITEMID" NUMBER(19,0) NOT NULL,
"NOTES" NCHAR(200) NOT NULL,
"ROWVERSION" TIMESTAMP(6) WITH LOCAL TIME ZONE NOT NULL)
STORAGE (
NEXT 1048576 )
Sequence:
-- ****** Object: Sequence SYSTEM.SEQ_CONCURRENCYTESTITEMS Script Date: 1/26/2013 12:12:48 PM ******
CREATE SEQUENCE "SEQ_CONCURRENCYTESTITEMS"
START WITH 1
CACHE 20
MAXVALUE 9999999999999999999999999999still not comming...
i have one table each entry is having only one fromdata and one todate only
i am running below in sql it is showing two rows. ok.
select t1.U_frmdate,t1.U_todate ,ISNULL(t2.firstName,'')+ ',' +ISNULL(t2.middleName ,'')+','+ISNULL(t2.lastName,'') AS NAME, T2.empID AS EMPID, T2.U_emp AS Empticket,t2.U_PFAcc,t0.U_pf
from [@PR_PRCSAL1] t0 inner join [@PR_OPRCSAL] t1
on t0.DocEntry = t1.DocEntry
inner join ohem t2
on t2.empID = t0.U_empid where t0.U_empid between '830' and '850' and t1.U_frmdate ='20160801' and t1.u_todate='20160830'
in commond promt
select t1.U_frmdate,t1.U_todate ,ISNULL(t2.firstName,'')+ ',' +ISNULL(t2.middleName ,'')+','+ISNULL(t2.lastName,'') AS NAME, T2.empID AS EMPID, T2.U_emp AS Empticket,t2.U_PFAcc,t0.U_pf
from [@PR_PRCSAL1] t0 inner join [@PR_OPRCSAL] t1
on t0.DocEntry = t1.DocEntry
inner join ohem t2
on t2.empID = t0.U_empid where t0.U_empid between {?FromEmid} and {?ToEmid} and t1.U_frmdate ={?FDate} and t1.u_todate={?TDate}
still not showing any results.. -
To whom it may concern
Hi my name is Silvana Pires,I purchased an I Phone 4 S Model A 1387 EMC 2430 SCC.ID DCG E
2430 AIC.579 C-E 243 A in California one year ago,Unfortunately its Not working well the screen is getting black,and the phone is in good shape I can prove it,the Apple support in Brazil doenst work like in USA.
I look forward to your reply and a resolution of this problem.
Thank you very much!!!You are welcome. I'm glad you got it back up.
(1) You say you did the symbolic link. I will assume this is set correctly; it's very important that it is.
(2) I don't know what you mean by "Been feeding the [email protected] for several weeks now, 700 emails each day at least." After the initial training period, SpamAssassin doesn't learn from mail it has already processed correctly. At this point, you only need to teach SpamAssassin when it is wrong. [email protected] should only be getting spam that is being passed as clean. Likewise, [email protected] should only be getting legitimate mail that is being flagged as junk. You are redirecting mail to both [email protected] and [email protected] ... right? SpamAssassin needs both.
(3) Next, as I said before, you need to implement those "Frontline spam defense for Mac OS X Server." Once you have that done and issue "postfix reload" you can look at your SMTP log in Server Admin and watch as Postfix blocks one piece of junk mail after another. It's kind of cool.
(4) Add some SARE rules:
Visit http://www.rulesemporium.com/rules.htm and download the following rules:
70sareadult.cf
70saregenlsubj0.cf
70sareheader0.cf
70sarehtml0.cf
70sareobfu0.cf
70sareoem.cf
70sarespoof.cf
70sarestocks.cf
70sareunsub.cf
72sare_redirectpost
Visit http://www.rulesemporium.com/other-rules.htm and download the following rules:
backhair.cf
bogus-virus-warnings.cf
chickenpox.cf
weeds.cf
Copy these rules to /etc/mail/spamassassin/
Then stop and restart mail services.
There are other things you can do, and you'll find differing opinions about such things. In general, I think implementing the "Frontline spam defense for Mac OS X Server" and adding the SARE rules will help a lot. Good luck! -
After I upgraded to IOS 8 my iPhone is not working well at all .. the most serious issue is the wifi which is too slow and can't connect to apple store and can't update my application .. also tried to search or update for ios 8 but also can't connect . safari also always can't connect to any the server . please check and advise
Hey ahmedfromtanta,
Thanks for the question. After reviewing your post, it sounds like trouble with Wi-Fi. I would recommend that you read this article, it may be able to help you resolve or isolate the issue.
iOS: Troubleshooting Wi-Fi networks and connections
Thanks for using Apple Support Communities.
Have a nice day,
Mario -
OS 10.6.8 Safari 5.1.1 I no longer have access to the bookmark folders. There is just a search function that does not work well. Is there any way to get access back to my bookmark folders?
This site didn't say anything about one wrong ID, but only talks about changing the Apple ID. If it didn't work the first time why should it work now?
-
What will you do if any SQL is not working. in oracle 10g....apps 11.5.10.2
928714 wrote:
yes sir.If you help me in answering my questions i wll be very thankful to you sir.
tnx,I haven't a clue.
As you have been advised in many of your posts, go study the documentation for whichever specific topic you are interested in.
For me to answer your questions, I would need to go get that documentation.
Then I would need to read that documentation.
Then I would need to write a forum post that interprets what I think I learned from that documentation.
It is so very much faster if YOU go do that instead of posting to a forum and expecting others to do it. You will remember what you study for a lot longer time if you teach yourself. -
Why ps3 is not working well with airport
why ps3 does not work well wth the airport?
If you are referring to online gaming, then PS3 like all non-apple devices uses upnp to open ports.
Apple uses NAT-PMP to open ports.. East and West.. never the twain shall meet.
If it is internal wireless issues.. that is different.. airport should be just like any other wireless router.
If you tell us the issue we have more hope to help. -
I have to reinstall Mail as it's not working well. How can I make a back up of my emails so as not to lose them all?
Thank you for your time Woody. Recently the Mac seems to freeze a lot, seemingly due to a problem with the airport, especially if the computer is inactive for anything more than a few minutes. Then yesterday I suddenly couldn't send or receive messages so I got in touch with my server and they reconfigured the mail account. I can now receive messages but can't send them, always getting a timed out message when I try to send an email. I phoned the server again and they said it must be a problem with Mail as we tried sending a message online from the server's webpage and it worked fine, so they suggested I reinstall Mail. So hence my original question. Sorry for the rambling! I'm not very computer minded.
-
SQL query not calculating
gross_amount is giving the value of extended_amount and the gross_price_rc is giving the value of unit_selling_price
select customer_trx_line_id,
( extended_amount / 1- (decode(decode(attribute6,null,0)+decode(attribute7,null,0)+decode(attribute8,null,0)+decode(attribute9,null,0)/100,null,0,1,0))) GROSS_AMOUNT,
( unit_selling_price /1-(decode(decode(attribute6,null,0)+decode(attribute7,null,0)+decode(attribute8,null,0)+decode(attribute9,null,0)/100,null,0,1,0))) gross_price_rc
from ra_customer_trx_lines_all
where attribute6 is not null or attribute7 is not null or attribute8 is not null or attribute9 is not null
whats the isuue here??
Thanksdecode(attribute7,null,0)Looking at it again, this always returns 0 or NULL, so it not really surprising
DECODE
http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/functions040.htm#i1017437
CASE
http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/expressions004.htm#i1033392
Maybe you are looking for
-
This is my first macbook. Mine is Macbook Pro 13" 2.3 GHz Intel Core i5. OS is OS X 10.6.8. It was ok at the beginning but there has been no sound in left headphone from the some point which I don't remember. My headphone works fine when it is connec
-
Question about Technologies in JAVA
Hi all, I'm starting my final project for Computer Science in University and I pretend to develop an integrated e-learning environment for my faculty. I want to develop this by using JAVA WEB START within a JNLP, as a stand-alone application (not wit
-
How to create several colums if many rows
Hi, I have a problem with finding a technical solution. If I have more than 30 records, I want to put them in the next column. How do I do this in xsl (HTML output): |PCS|REV|DATE | |PCS|REV|DATE | | 1 | 1 |xx.xx.xx| | 5 | 1 |xx.xx.xx| | 2 | 1 |xx.xx
-
File IO operations using servlets
Hi, I want to read and process some files (on the server) and write the results using Java servlets. Is there any tutorial/resource for the beginners for doing this. I would be grateful for any assistance. Thanx, -bool
-
D810 NEF not recognized by lightroom 5.5
llightroom 5.5 can't import NEF files from Nikon D810. Can someone pls help?