Is there any errors in this SQL command sentense??

select top 20 * from test where id not in (select top 40 * from test order by id desc) order by id desc
I run this command sentense in MYSQL, some syntax errors happend, The purpose of runing this command is to query the No. 40 to No.60 records from the table 'test' ,someone said MYSQL doest support the word "Top",
Pls tell me how to amend this sentense to achieve my purpose,thanks a lot!!

The MySQL query to do this is:
SELECT * FROM test ORDER BY id DESC LIMIT 39,20In future, try reading the MySQL documentation instead of asking questions like this:
http://dev.mysql.com/doc/mysql/en/SELECT.html

Similar Messages

  • Is there any error in this jsp file...??

    aftr database connection query is not running....
    <%@page import="java.sql.*"%>
    <%@page import="java.io.*"%>
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>JSP Page</title>
    </head>
    <body bgcolor="#CEA69F">
    <%
    try{
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection conn=DriverManager.getConnection("jdbc:odbc:signupdsn");
    Statement stmt=conn.createStatement();
    out.write("<face='Jokerman'>\nYou are successfully Connected to database, ");
         String dom=request.getParameter("dofm");
         int age2=Integer.parseInt(request.getParameter("age2"));
         String dob2=request.getParameter("dob2");
         int age1=Integer.parseInt(request.getParameter("age1"));
         String dob1=request.getParameter("dob1");
         int w_fage=Integer.parseInt(request.getParameter("w_fage"));
         int w_mage=Integer.parseInt(request.getParameter("w_mage"));
         int h_fage=Integer.parseInt(request.getParameter("h_fage"));
         int h_mage=Integer.parseInt(request.getParameter("h_mage"));
         int w1age=Integer.parseInt(request.getParameter("w1age"));
         int w2age=Integer.parseInt(request.getParameter("w2age"));
         String husname=request.getParameter("hname");
         String reli2=request.getParameter("rel2");
         String mar_s2=request.getParameter("st2");
         String occ2=request.getParameter("occ2");
         String readd2=request.getParameter("add2");
         String id2=request.getParameter("id2");
         String h_fname=request.getParameter("h_fname");
         String h_fadd=request.getParameter("h_fadd");
         String h_mname=request.getParameter("h_mname");
         String h_madd=request.getParameter("h_madd");
         String wname=request.getParameter("wname");
         String mar_s1=request.getParameter("st1");
         String occ1=request.getParameter("occ1");
         String readd1=request.getParameter("add1");
         String id1=request.getParameter("id1");
         String w_fname=request.getParameter("w_fname");
         String w_fadd=request.getParameter("w_fadd");
         String w_mname=request.getParameter("w_mname");
         String w_madd=request.getParameter("w_madd");
         String priestn=request.getParameter("priestn");
         String priestadd=request.getParameter("priestadd");
         String strname=request.getParameter("street");
         String vill=request.getParameter("village");
         String dis=request.getParameter("district");
         String w1name=request.getParameter("w1name");
         String w1add=request.getParameter("w1add");
         String w2name=request.getParameter("w2name");
         String w2add=request.getParameter("w2add");
         String reli1=request.getParameter("rel1");
    stmt.executeUpdate("insert into marraige(hname,rel2,dob1,dob2,dofm,st2,occ2,add2,id2,h_fname,h_fadd,h_mname,h_madd,wname,rel1,st1,occ1,add1,id1,w_fname,w_fadd,w_mname,w_madd,priestn,priestadd,street,village,district,w1name,w1add,w2name,w2add,age2,age1,w_fage,w_mage,h_fage,h_mage,w1age,w2age) values('"+husname+"','"+reli2+"','"+dob1+"','"+dob2+"','"+dom+"','"+mar_s2+"','"+occ2+"','"+readd2+"','"+id2+"','"+h_fname+"','"+h_fadd+"','"+h_mname+"','"+h_madd+"','"+wname+"','"+reli1+"','"+mar_s1+"','"+occ1+"','"+readd1+"','"+id1+"','"+w_fname+"','"+w_fadd+"','"+w_mname+"','"+w_madd+"','"+priestn+"','"+priestadd+"','"+strname+"','"+vill+"','"+dis+"','"+w1name+"','"+w1add+"','"+w2name+"','"+w2add+"','"+age2+"','"+age1+"','"+w_fage+"','"+w_mage+"','"+h_fage+"','"+h_mage+"','"+w1age+"','"+w2age+"')");
    out.write("\n Data Inserted");
    out.write("<center> <br>please click here to continue<a href='loginh.jsp'>login</a>");
    catch(Exception e)
    System.out.print(e);
    %>
    Edited by: 999775 on Apr 12, 2013 8:44 AM

    sir,i hd also tried dis...bt still nt wrking...
    <%@page import="java.sql.*"%>
    <%@page import="java.io.*"%>
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <%
    String dom=request.getParameter("dofm");
         int ageh=Integer.parseInt(request.getParameter("age2"));
         String dobh=request.getParameter("dob2");
         int agew=Integer.parseInt(request.getParameter("age1"));
         String dobw=request.getParameter("dob1");
         int w_fagew=Integer.parseInt(request.getParameter("w_fage"));
         int w_magew=Integer.parseInt(request.getParameter("w_mage"));
         int h_fageh=Integer.parseInt(request.getParameter("h_fage"));
         int h_mageh=Integer.parseInt(request.getParameter("h_mage"));
         int w1agew=Integer.parseInt(request.getParameter("w1age"));
         int w2agew=Integer.parseInt(request.getParameter("w2age"));
         String husname=request.getParameter("hname");
         String relih=request.getParameter("rel2");
         String mar_s2=request.getParameter("st2");
         String occ2h=request.getParameter("occ2");
         String readd2=request.getParameter("add2");
         String idh=request.getParameter("id2");
         String h_fnameh=request.getParameter("h_fname");
         String h_faddh=request.getParameter("h_fadd");
         String h_mnameh=request.getParameter("h_mname");
         String h_maddh=request.getParameter("h_madd");
         String wnamew=request.getParameter("wname");
         String mar_s1=request.getParameter("st1");
         String occ1w=request.getParameter("occ1");
         String readd1=request.getParameter("add1");
         String idw=request.getParameter("id1");
         String w_fnamew=request.getParameter("w_fname");
         String w_faddw=request.getParameter("w_fadd");
         String w_mnamew=request.getParameter("w_mname");
         String w_maddw=request.getParameter("w_madd");
         String priestnm=request.getParameter("priestn");
         String priestad=request.getParameter("priestadd");
         String strname=request.getParameter("street");
         String vill=request.getParameter("village");
         String dis=request.getParameter("district");
         String w1namew=request.getParameter("w1name");
         String w1addw=request.getParameter("w1add");
         String w2namew=request.getParameter("w2name");
         String w2addw=request.getParameter("w2add");
         String reli1=request.getParameter("rel1");
    try{
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection conn=DriverManager.getConnection("jdbc:odbc:signupdsn");
    out.write("\nConnected to database");
    PreparedStatement ps=conn.prepareStatement("insert into marraige values(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)");
         ps.setString(1,husname);
         ps.setString(2,relih);
         ps.setInt(3,ageh);
         ps.setString(4,dobh);
         ps.setString(5,mar_s2);
         ps.setString(6,occ2h);
         ps.setString(7,readd2);
         ps.setString(8,idh);
         ps.setString(9,h_fnameh);
         ps.setInt(10,h_fageh);
         ps.setString(11,h_faddh);
         ps.setString(12,h_mnameh);
         ps.setInt(13,h_mageh);
         ps.setString(14,h_maddh);
         ps.setString(15,wnamew);
         ps.setString(16,reli1);
         ps.setInt(17,agew);
         ps.setString(18,dobw);
         ps.setString(19,mar_s1);
         ps.setString(20,occ1w);
         ps.setString(21,readd1);
         ps.setString(22,idw);
         ps.setString(23,w_fnamew);
         ps.setInt(24,w_fagew);
         ps.setString(25,w_faddw);
         ps.setString(26,w_mnamew);
         ps.setInt(27,w_magew);
         ps.setString(28,w_maddw);
         ps.setString(29,priestnm);
         ps.setString(30,priestad);
         ps.setString(31,strname);
         ps.setString(32,vill);
         ps.setString(33,dis);
         ps.setString(34,dom);
         ps.setString(35,w1namew);
         ps.setInt(36,w1agew);
         ps.setString(37,w1addw);
         ps.setString(38,w2namew);
         ps.setInt(39,w2agew);
         ps.setString(40,w2addw);
              int x=0;
              x=ps.executeUpdate();
              if(x>0)
                   response.sendRedirect("./success.jsp");
              else
                   response.sendRedirect("./fail.jsp");
              ps.close();
              conn.close();
              catch(ClassNotFoundException e)
              out.println("CNF Error");
    %>

  • SQL Error [ORA-00933: SQL command not properly ended

    I have following installed:
    7.9.6 BI Apps
    10.1.3.4 DAC
    8.6.0 Informatica
    Container JDE Enterprise 9.0
    Out of 211 tasks 69 tasks executed successfully.
    Error in workflow [SDE_JDE_PartyOrganisationDimension_Full].
    I have checked the session log file and understand that there is error with the SQL statement.
    Since it is Pre-built, the workflow should have run properly with correct SQl statement. But in this case it is not working.
    Is it because the SQL statement is too long?
    Any help will be greatly appreciated.
    Part of the log file
    RR_4035 : SQL Error [
    ORA-00933: SQL command not properly ended
    Database driver error...
    Function Name : Execute
    SQL Stmt : SELECT
    F0101.ABAN8,F0101.ABALKY,F0101.ABTAX,F0101.ABALPH,F0101.ABMCU,F0101.ABSIC,F0101.ABAT1, F0101.ABTAXC, F0101.ABATP, F0101.ABATR,F0101.ABEFTB,F0101.ABAC01,
    F0101.ABAC02, F0101.ABAC03, F0101.ABAC04, F0101.ABAC05, F0101.ABAC06, F0101.ABAC07, F0101.ABAC08, F0101.ABAC09, F0101.ABAC10, F0101.ABAC11,
    F0101.ABAC12, F0101.ABAC13, F0101.ABAC14, F0101.ABAC15, F0101.ABAC16, F0101.ABAC17, F0101.ABAC18, F0101.ABAC19, F0101.ABAC20, F0101.ABAC21, F0101.ABAC22, F0101.ABAC23,
    F0101.ABAC24, F0101.ABAC25, F0101.ABAC26, F0101.ABAC27, F0101.ABAC28, F0101.ABAC29, F0101.ABAC30,F0101.ABUSER, F0101.ABUPMJ,F0101.ABUPMT,F0101.ABTICKER, F0101.ABEXCHG, F0101.ABDUNS,
    F0101.ABNOE,F0101.ABGROWTHR,F0101.ABYEARSTAR,F0101.ABREVRNG, D.FaxPhoneArea, d.Phonearea, D.Fax AS Fax ,D.Phone As Phone,D.WPUPMJ AS WPUPMJ,R.Email AS Email,R.Internet As Internet,R.EAupmj As EAUPMJ,F0111.WWAN8,F0111.WWIDLN,
    F0111.WWSLNM,F0111.WWGNNM,F0111.WWMDNM,F0111.WWSRNM,F0111.WWUSER,F0111.WWUPMJ,F0111.WWUPMT,F0111.WWNTYP,F0111.WWNICK,F0111.WWPCM,F0116.ALAN8,
    F0116.ALEFTB,F0116.ALADD1,F0116.ALADD2,F0116.ALADD3,F0116.ALADD4, F0116.ALADDZ, F0116.ALCTY1,F0116.ALADDS,F0116.ALCTR, F0116.ALUPMJ,F0116.ALUPMT,F03012.AIAN8, F03012.AICO,F03012.AIMCUR,F03012.AICRCD,F03012.AIACL,
    F03012.AIARPY,F03012.AIDB,F03012.AICRCA,F03012.AIASTY,F03012.AISPYE,F03012.AIOPY,F03012.AIPOPN,F03012.AIDAOJ,F03012.AIAN8R,F03012.AICPGP,F03012.AIFRTH,
    F03012.AIMAN8,F03012.AIUPMJ,F03012.AIUPMT, F03012.AICUSTS,F03012.AITERRID, F03012.AIDTEE, F0401.A6AN8, F0401.A6MCUP, F0401.A6CRRP,F0401.A6CRCA, F0401.A6AN8R,F0401.A6CPGP, F0401.A6FRTH, F0401.A6UPMJ,F0401.A6UPMT, CAST(F0101.ABAC03 AS CHAR(10)) AS FLEX_ATTRIB_1_CHAR,
    CAST(F0101.ABAC23 AS CHAR(10)) AS FLEX_ATTRIB_2_CHAR,
    CAST(F0101.ABAC05 AS CHAR(10)) AS FLEX_ATTRIB_3_CHAR,
    CAST(F0101.ABAC15 AS CHAR(10)) AS FLEX_ATTRIB_4_CHAR,
    CAST(F0101.ABAC09 AS CHAR(10)) AS FLEX_ATTRIB_5_CHAR,
    CAST(F0101.ABAC11 AS CHAR(10)) AS FLEX_ATTRIB_6_CHAR,
    CAST(F0101.ABAC19 AS CHAR(10)) AS FLEX_ATTRIB_7_CHAR,
    CAST(F0101.ABAC21 AS CHAR(10)) AS FLEX_ATTRIB_8_CHAR,
    CAST(F0101.ABAC27 AS CHAR(10)) AS FLEX_ATTRIB_9_CHAR,
    CAST(NULL AS CHAR(10)) AS FLEX_ATTRIB_10_CHAR,
    CAST(F0101.ABAC17 AS CHAR(10)) AS FLEX_ATTRIB_11_CHAR,
    CAST(F0101.ABAC06 AS CHAR(10)) AS FLEX_ATTRIB_12_CHAR,
    CAST(F0101.ABAC08 AS CHAR(10)) AS FLEX_ATTRIB_13_CHAR,
    CAST(F0101.ABAC14 AS CHAR(10)) AS FLEX_ATTRIB_14_CHAR,
    CAST(F0101.ABAC22 AS CHAR(10)) AS FLEX_ATTRIB_15_CHAR,
    CAST(F0101.ABAC28 AS CHAR(10)) AS FLEX_ATTRIB_16_CHAR,
    CAST(F0101.ABAC18 AS CHAR(10)) AS FLEX_ATTRIB_17_CHAR,
    CAST(F0101.ABAC10 AS CHAR(10)) AS FLEX_ATTRIB_18_CHAR,
    CAST(F0101.ABAC20 AS CHAR(10)) AS FLEX_ATTRIB_19_CHAR,
    CAST(NULL AS CHAR(10)) AS FLEX_ATTRIB_20_CHAR,
    CAST(F0101.ABAC30 AS CHAR(10)) AS LINE_OF_BUSINESS,
    CAST(F0101.ABAC14 AS CHAR(10)) AS REGION,
    CAST(NULL AS CHAR(10)) AS ACCNT_AHA_NUM,
    CAST(F0101.ABAC07 AS CHAR(10)) AS ACCNT_CLASS,
    CAST(F0101.ABAC11 AS CHAR(10)) AS ACCNT_HIN_NUM,
    CAST(F0101.ABAC02 AS CHAR(10)) AS ACCNT_REGION,
    CASt(F0101.ABAC08 AS CHAR(10)) AS ACCNT_VALUE,
    CAST(F0101.ABAC16 AS CHAR(10)) AS CUST_CAT_CODE, '0' AS X_CUSTOM
    from F0101
    INNER JOIN F03012 ON F0101.ABAN8 = F03012.AIAN8
    LEFT OUTER JOIN F0401 ON F0101.ABAN8 = F0401.A6AN8
    LEFT OUTER JOIN F0116 ON F0101.ABAN8 = F0116.ALAN8 AND F0101.ABEFTB = F0116.ALEFTB
    LEFT OUTER JOIN F0111 ON F0101.ABAN8 = F0111.WWAN8 AND F0111.WWIDLN =
    LEFT OUTER JOIN (select a.WPAN8 as an8,
    min(case when a.WPPHTP= and a.WPRCK7=b.MinWPRCK7 then WPAR1 end) FaxPhoneArea,
    min(case when a.WPPHTP= and a.WPRCK7=b.MinWPRCK7 then WPPH1 end) Fax,
    min(case when a.WPPHTP= and a.WPRCK7=b.MinWPRCK7 then WPPH1 end) Phone,
    min(case when a.WPPHTP= and a.WPRCK7=b.MinWPRCK7 then WPAR1 end) Phonearea,
    max(wpupmj) as WPUPMJ
    from F0115 a,
    (select WPAN8,WPPHTP ,min(WPRCK7) MinWPRCK7 from F0115
    group by WPAN8,WPPHTP
    ) b
    where a.WPAN8=b.WPAN8 and a.wpidln =0
    group by a.WPAN8)D on f0101.aban8 = D.an8
    LEFT OUTER JOIN (SELECT P.EAAN8 as an8,
    min(case when P.EAETP= and P.EARCK7=Q.MinRCK7E then EAEMAL end) Email,
    min(case when P.EAETP= and P.EARCK7=Q.MinRCK7E then EAEMAL end) Internet,Max(eaupmj) as EAupmj
    FROM F01151 P,
    (SELECT EAAN8,EAETP,MIN(EARCK7) MinRck7E from f01151
    group by eaan8,eaemal,eaetp)Q
    where
    P.EAAN8 = Q.EAAN8 and P.EAIDLN =
    GROUP BY P.EAAN8)R on f0101.aban8 = R.an8
    union
    SELECT
    F0101.ABAN8,F0101.ABALKY,F0101.ABTAX,F0101.ABALPH,F0101.ABMCU,F0101.ABSIC,F0101.ABAT1, F0101.ABTAXC, F0101.ABATP, F0101.ABATR,F0101.ABEFTB,F0101.ABAC01,
    F0101.ABAC02, F0101.ABAC03, F0101.ABAC04, F0101.ABAC05, F0101.ABAC06, F0101.ABAC07, F0101.ABAC08, F0101.ABAC09, F0101.ABAC10, F0101.ABAC11,
    F0101.ABAC12, F0101.ABAC13, F0101.ABAC14, F0101.ABAC15, F0101.ABAC16, F0101.ABAC17, F0101.ABAC18, F0101.ABAC19, F0101.ABAC20, F0101.ABAC21, F0101.ABAC22, F0101.ABAC23,
    F0101.ABAC24, F0101.ABAC25, F0101.ABAC26, F0101.ABAC27, F0101.ABAC28, F0101.ABAC29, F0101.ABAC30,F0101.ABUSER, F0101.ABUPMJ,F0101.ABUPMT,F0101.ABTICKER, F0101.ABEXCHG, F0101.ABDUNS,
    F0101.ABNOE,F0101.ABGROWTHR,F0101.ABYEARSTAR,F0101.ABREVRNG, D.FaxPhoneArea, d.Phonearea, D.Fax AS Fax ,D.Phone As Phone,D.WPUPMJ AS WPUPMJ,R.Email AS Email,R.Internet As Internet,R.EAupmj As EAUPMJ,F0111.WWAN8,F0111.WWIDLN,
    F0111.WWSLNM,F0111.WWGNNM,F0111.WWMDNM,F0111.WWSRNM,F0111.WWUSER,F0111.WWUPMJ,F0111.WWUPMT,F0111.WWNTYP,F0111.WWNICK,F0111.WWPCM,F0116.ALAN8,
    F0116.ALEFTB,F0116.ALADD1,F0116.ALADD2,F0116.ALADD3,F0116.ALADD4, F0116.ALADDZ, F0116.ALCTY1,F0116.ALADDS,F0116.ALCTR, F0116.ALUPMJ,F0116.ALUPMT,F03012.AIAN8, F03012.AICO,F03012.AIMCUR,F03012.AICRCD,F03012.AIACL,
    F03012.AIARPY,F03012.AIDB,F03012.AICRCA,F03012.AIASTY,F03012.AISPYE,F03012.AIOPY,F03012.AIPOPN,F03012.AIDAOJ,F03012.AIAN8R,F03012.AICPGP,F03012.AIFRTH,
    F03012.AIMAN8,F03012.AIUPMJ,F03012.AIUPMT, F03012.AICUSTS,F03012.AITERRID, F03012.AIDTEE, F0401.A6AN8, F0401.A6MCUP, F0401.A6CRRP,F0401.A6CRCA, F0401.A6AN8R,F0401.A6CPGP, F0401.A6FRTH, F0401.A6UPMJ,F0401.A6UPMT, CAST(F0101.ABAC03 AS CHAR(10)) AS FLEX_ATTRIB_1_CHAR,
    CAST(F0101.ABAC23 AS CHAR(10)) AS FLEX_ATTRIB_2_CHAR,
    CAST(F0101.ABAC05 AS CHAR(10)) AS FLEX_ATTRIB_3_CHAR,
    CAST(F0101.ABAC15 AS CHAR(10)) AS FLEX_ATTRIB_4_CHAR,
    CAST(F0101.ABAC09 AS CHAR(10)) AS FLEX_ATTRIB_5_CHAR,
    CAST(F0101.ABAC11 AS CHAR(10)) AS FLEX_ATTRIB_6_CHAR,
    CAST(F0101.ABAC19 AS CHAR(10)) AS FLEX_ATTRIB_7_CHAR,
    CAST(F0101.ABAC21 AS CHAR(10)) AS FLEX_ATTRIB_8_CHAR,
    CAST(F0101.ABAC27 AS CHAR(10)) AS FLEX_ATTRIB_9_CHAR,
    CAST(NULL AS CHAR(10)) AS FLEX_ATTRIB_10_CHAR,
    CAST(F0101.ABAC17 AS CHAR(10)) AS FLEX_ATTRIB_11_CHAR,
    CAST(F0101.ABAC06 AS CHAR(10)) AS FLEX_ATTRIB_12_CHAR,
    CAST(F0101.ABAC08 AS CHAR(10)) AS FLEX_ATTRIB_13_CHAR,
    CAST(F0101.ABAC14 AS CHAR(10)) AS FLEX_ATTRIB_14_CHAR,
    CAST(F0101.ABAC22 AS CHAR(10)) AS FLEX_ATTRIB_15_CHAR,
    CAST(F0101.ABAC28 AS CHAR(10)) AS FLEX_ATTRIB_16_CHAR,
    CAST(F0101.ABAC18 AS CHAR(10)) AS FLEX_ATTRIB_17_CHAR,
    CAST(F0101.ABAC10 AS CHAR(10)) AS FLEX_ATTRIB_18_CHAR,
    CAST(F0101.ABAC20 AS CHAR(10)) AS FLEX_ATTRIB_19_CHAR,
    CAST(NULL AS CHAR(10)) AS FLEX_ATTRIB_20_CHAR,
    CAST(F0101.ABAC30 AS CHAR(10)) AS LINE_OF_BUSINESS,
    CAST(F0101.ABAC14 AS CHAR(10)) AS REGION,
    CAST(NULL AS CHAR(10)) AS ACCNT_AHA_NUM,
    CAST(F0101.ABAC07 AS CHAR(10)) AS ACCNT_CLASS,
    CAST(F0101.ABAC11 AS CHAR(10)) AS ACCNT_HIN_NUM,
    CAST(F0101.ABAC02 AS CHAR(10)) AS ACCNT_REGION,
    CASt(F0101.ABAC08 AS CHAR(10)) AS ACCNT_VALUE,
    CAST(F0101.ABAC16 AS CHAR(10)) AS CUST_CAT_CODE, '0' AS X_CUSTOM
    from F0101
    LEFT OUTER JOIN F03012 ON F0101.ABAN8 = F03012.AIAN8
    INNER JOIN F0401 ON F0101.ABAN8 = F0401.A6AN8
    LEFT OUTER JOIN F0116 ON F0101.ABAN8 = F0116.ALAN8 AND F0101.ABEFTB = F0116.ALEFTB
    LEFT OUTER JOIN F0111 ON F0101.ABAN8 = F0111.WWAN8 AND F0111.WWIDLN =
    LEFT OUTER JOIN (select a.WPAN8 as an8,
    min(case when a.WPPHTP= and a.WPRCK7=b.MinWPRCK7 then WPAR1 end) FaxPhoneArea,
    min(case when a.WPPHTP= and a.WPRCK7=b.MinWPRCK7 then WPPH1 end) Fax,
    min(case when a.WPPHTP= and a.WPRCK7=b.MinWPRCK7 then WPPH1 end) Phone,
    min(case when a.WPPHTP= and a.WPRCK7=b.MinWPRCK7 then WPAR1 end) Phonearea,
    max(wpupmj) as WPUPMJ
    from F0115 a,
    (select WPAN8,WPPHTP ,min(WPRCK7) MinWPRCK7 from F0115
    group by WPAN8,WPPHTP
    ) b
    where a.WPAN8=b.WPAN8 and a.wpidln =0
    group by a.WPAN8)D on f0101.aban8 = D.an8
    LEFT OUTER JOIN (SELECT P.EAAN8 as an8,
    min(case when P.EAETP= and P.EARCK7=Q.MinRCK7E then EAEMAL end) Email,
    min(case when P.EAETP= and P.EARCK7=Q.MinRCK7E then EAEMAL end) Internet,Max(eaupmj) as EAupmj
    FROM F01151 P,
    (SELECT EAAN8,EAETP,MIN(EARCK7) MinRck7E from f01151
    group by eaan8,eaemal,eaetp)Q
    where
    P.EAAN8 = Q.EAAN8 and P.EAIDLN =
    GROUP BY P.EAAN8)R on f0101.aban8 = R.an8
    Oracle Fatal Error
    Database driver error...
    Function Name : Execute
    *****************************************************

    "ORA-00933: SQL command not properly ended"
    this error may be seen due to reasons like the Informatica properties are not set correct.
    Are all the informatica properties set correct? how many ETL jobs completed, what analytic apps are in the ETL process?

  • SQL2005 cluster error MDB-05053  Errors when executing sql command: p nr="

    Hi all,
    We are migrating from 32 bit to x64 bit machines. SQL 2005 database on windows 2003.
    I am trying to install E 4.7-200 SR1 on the clustered nodes. The installation manuals for 4.7 are very old and there is nothing for SQL2005 installation.
    Now that some how we were able to have SQL up and running in clustered environment (It only took 10 days), After installing CI, I am not able to deploy the database and database creation phase is failing with the following error:
    MDB-05053  Errors when executing sql command: <p nr="0"/>.
    I am heavily relying on our server managment team on clustering and hoping they have done a good job, However I need some guidelines which can help me in verifying what they have done is correct and meets SAP and SQL requirments and issues we are facing is actually install problems not cluster.
    SAP install manuals are not detailed in this regards. Also manuals are out dataed and they only show the sql 2000 clustering pre-requisit for 4.7 installls.
    Can any one with clustering experience please help.
    Calling out NPC, As his sql installation and upgrade manual has helped me with stand alone installs, Hoping he has some thing for clustering as well.
    Regards,
    KG

    Hi,
    What installation CD/DVD are you using?
    Try look at SAP note [924288|https://service.sap.com/sap/support/notes/924288],
    and note [969699|https://service.sap.com/sap/support/notes/969699],
    and note [967124|https://service.sap.com/sap/support/notes/967124],
    and note [106275|https://service.sap.com/sap/support/notes/106275].
    In special the last note say at the end:
    "3. You must use the 51031444 CD to install Enterprise 4.7 on an x64 platform with SQL Server 2005. This CD installs the central instances and database instances. To convert the A and B nodes in MSCS, use the SAP NetWeaver 04 SR1 installation master CD or DVD."
    Hope this helps
    Regards
    Rolf

  • My ipod nano 6th gen fell out of my pockey and the screen cracked badly, is there any coverage for this under warranty? I just bought it a month ago. If not what are the options for getting it fixed

    My ipod nano 6th gen fell out of my pocket and the screen cracked badly, is there any coverage for this under warranty? I just bought it a month ago. If not what are the options for getting it fixed? It is pretty frustrating, it fell from about 3 feet out of my pocket and now looks like it was beaten by a hammer.

    Debbie:
    deborahfromwindsor wrote:
    he advises restarting by inserting the OSX disc and pressing down the C button to reboot from there then selecting disk utility, hard disk and repair.... Does he mean me to hold down the C key on the alpha keyboard or the ctrl key?
    Should I just ask for my money back??? If it is a simple repair do I just literally push the disc in, push the power button and hold down the C button?
    That's where I would begin, too, with
    Repair Disk
    Insert Installer disk and Restart, holding down the "C" key until grey Apple appears.
    Go to Installer menu (Panther and earlier) or Utilities menu (Tiger) and launch Disk Utility.
    Select your HDD (manufacturer ID) in the left panel.
    Select First Aid in the Main panel.
    (Check S.M.A.R.TStatus of HDD at the bottom of right panel, and report if it saysanything but Verified)
    Click Repair Disk on the bottom right.
    If DU reports disk does not need repairs quit DU and restart.
    If DU reports errors Repair again and again until DU reports disk is repaired.
    If DU reports errors it cannot repair you will need touse autility like TechTool Pro,Drive Geniusor DiskWarrior
    First we need to determine if the issue you are experiencing with the computer is software or hardware based. Once we have gotten things sorted out there should be time enough to make you decision about keeping or returning it.
    cornelius

  • Why are HP printer cartridges country specific? Is there any way around this?

    I have just moved from the UK to Newfoundland, Canada and I have brought my HP PSC 1610 printer with me.  I was advised not to bring any cartridges with me because they would explode during the flight so I had to buy new cartridges upon arrival.
    I noticed that the cartridge numbers recommended for my printer were similar but not exactly the same but the (HP, etc.) websites I looked at did not mention that HP printer cartridges country specific.
    In the UK black cartridge is an HP338 (C8765EE).
    In Canada the websites told me that the black cartridge is a 94 (C8765WC).
    I ordered a 94 cartridge (which took an indordinate amount of time to be delivered) and when I installed it my printer would not accept it ("not intended for use in this printer" error message) even though it fit perfectly.  I looked at the packaging in greater detail and noticed that I had been sent a 94 (C8765WL) and I also noticed (in a very small font size) "for sale only in Latin America".
    My questions are therefore:
    1) Why are HP printer cartridges country specific?
    2) Is there any way around this?  Eg is there anything I can do to my printer/ laptop to tell it to accept this cartridge?
    3) Are 94/ C8765WL cartidges compatible with 94/ C8765WC cartirdges?  Ie did the supplier sell me something that couldn't be used even if I had a Canadian HP PSC 1610 printer?
    4) Can I return the cartridges to the supplier given that it is based in Canada, they delivered it to me in Canada and yet they sold me a product that says "for sale only in Latin America"?
    Thanks
    anenglishmaninsaintjohns

    You will need to Contact HP to request a "Regionalization Reset". There should not be any charge for this, it is covered as part of the cartridge warranty. You will need to have access to your computer and printer while on the line with HP. You will also need to have a set of cartridges for the new region, once the reset is complete cartridges from the original region will no longer work.  HP's web page on the subject is here.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Is there any way to use embedded commands in text to create pauses when using text to speech in iOS 5? You can do it in OS X by typing [[slnc 2000]] to get a two-second pause.

    Is there any way to use embedded commands in text to create pauses when using text to speech in iOS 5? You can do it in OS X by typing [[slnc 2000]] to get a two-second pause.

    Thanks for the reply Russ.
    Yes, I've considered adding titles and/or generators in the FCPX storyline, but this creates a need to render the entire timeline. As I'm juggling library locations and hard drive spaces I just didn't want to add a new render that will occupy a lot of space. It's also a bit of visual clultter for me, so my goal is to find the best workflow for adding this stuff on or after export.

  • Have mac mini with thunderbolt monitor 1yr old, recently updated with new 10.0.2 from apple, now iMovie doesn't seem to support my Sony HDR-XR500 camera. Is there any help on this?

    Have mac mini with thunderbolt monitor 1yr old, recently updated with new 10.0.2 from apple, now iMovie doesn't seem to support my Sony HDR-XR500 camera. Is there any help on this?

    haha, so now i'm thinking. I'm learning the terminal as fast as i can but there are several lines of codes and commands in there that throws up red flags to me that i don't fully understand. It just looks fishy too me. It would be highly appreciated if someone could just check this out just to tell me that i don't need to worry about it. Or point me in the right direction. I just feel un easy about this. ha.

  • HT201667 I rented a movie through itunes on my ipad and wanted to watch it with friends on a digital projector, but it wouldn't allow me to do it.  Is there any way around this?

    I  rented a movie through itunes on my ipad and wanted to watch it with friends on a digital projector, but it wouldn't allow me to do it.  Is there any way around this?

    The issue was that a dialogue box came up which said that I couldn't play this movie on another device.  I tried playing the same movie on an Tv with an HDMI connection attached to an adapter to the IPad and that worked.  I wonder if the problem is that the digital projector has a VGA connection.

  • HT1212 So my phone is messed up and you can't do anything with the screen...in order for me to sink it to back up i have to enter the passcode because it had a lock on it...and i can't due to it being messed up...is there any way around this...

    So my phone is messed up and you can't do anything with the screen...in order for me to sink it to back up i have to enter the passcode because it had a lock on it...and i can't due to it being messed up...is there any way around this...

    See Here  >  http://support.apple.com/kb/HT1808
    You may need to try this More than Once...  Be sure to Follow ALL the Steps...
    Take your time... Pay particular attention to Steps 3 and 4.
    Make sure you have the Current Version of iTunes Installed on your computer
    iTunes free download from www.itunes.com/download
    After you have Recovered your Device...
    Re-Sync your Content or Restore from the most recent Backup...
    Restore from Backup  >  http://support.apple.com/kb/ht1766

  • Hi, I've been playing Smurf's village for a year now and just last week, i tried to get into the app but it keeps rejecting and goes back to the main page.  Is there any reason for this?  I've been updating the app everytime and now it's not letting me in

    Hi, I've been playing Smurf's village for a year now and just last week, i tried to get into the app but it keeps rejecting and goes back to the main page.  Is there any reason for this?  I've been updating the app everytime and now it's not letting me in.  Pls advise. Tq

    Reset the device, restart the device, try downloading any other app.
    All of these are basic steps that could have been found by a simple search of the forums as a resolution for the issue.

  • When I try to buy ibooks from my ipad, the virtual keyboard is not the same as my computer, and so as my password consists of numbers, letters and symbols my ipad keeps showing that my password is incorrect! Is there any way around this problem please?

    When I try to buy ibooks from my ipad, the virtual keyboard is not the same as my computer keyboard, and since my password consists of letters, numbers and symbols, the ipad keeps displaying "incorrect password". Is there any way around this please anybody?

    katykittenoid wrote:
    the virtual keyboard is not the same as my computer keyboard
    Are you using the virtual keyboard to input your password and you cannot see/find the characters you need on that keyboard?
    Or are you trying to use a bluetooth keyboard and pressing the printed key does not produce the right character?

  • I've set up email on my iPad (talk mails when connected to my home router and ISP. When connected to a router at another location with a different ISP I can receive mail but not send it. Is there any way round this

    I've set up email on my iPad (talktalk.net) and can send and receive mails when connected to my home router and ISP. When connected to a router at another location with a different ISP I can receive mail but not send it. Is there any way round this?

    I've set up email on my iPad (talktalk.net) and can send and receive mails when connected to my home router and ISP. When connected to a router at another location with a different ISP I can receive mail but not send it. Is there any way round this?

  • Is there any option to install SQL server in mac os 10.9

    is there any option to install SQL server in mac os 10.9

    Hi PREM,
    If I understand correctly, you want to use SQL Server Authentication log to SQL Server Integration Services.
    Based on my research, only Microsoft Windows Authentication is available for SSIS. So we cannot use SQL Server Authentication log to SQL Server Integration Services. Besides, we can only add OS users in the DCOM Config permission area.
    Reference:
    Connect to Server (Integration Services)
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • My on/off button does not appear to be working on my iphone 3.....is there any way around this....anyway around this?...the phone also periodically just switches off.

    my on/off button does not appear to be working on my iphone 3.....is there any way around this....anyway around this?...the phone also periodically just switches off.

    Likely a hardware issue... no way around that except to get it repaired or don't use it (the button).
    Try restoring to solve the switching off problem.

Maybe you are looking for