Urgent Help Cant find an error in this statement and jdk is showing

Error:
Exception: [Microsoft][ODBC Microsoft Access Driver] Syntax error in CONSTRAINT clause.
`````````````````H E L P```````````````
s1.executeUpdate("Create Table " + n + " (Sno integer, Name varchar(20),So varchar(5),Source varchar(15), TTO integer, TTH integer, Status varchar(5), Rec varchar(15), DOJ Date, Type varchar(10), Sector varchar(15), Primary varchar(15), Proj varchar(15), Skills varchar(15), Level varchar(10), Band integer, Location varchar(15), Company varchar(20), Remarks varchar(50), Test date, IV date, Qualification varchar(15), RefSal float, RIF_NO integer, RIF_DATE Date, Target_Date Date, Lead_Time date, SLA_ACH Date, R1 date, R2 date, R3 date, R4 date,R5 date, R6 date, R7 date, R8 date, RR1 date,RR2 date, RR3 date, RR4 date,RR5 date, RR6 date, RR7 date, RR8 date)");
I am using access as backend database on a remote machine.

n is not a numeric data but is of string typeThat was just for your information because you didn't show any of your java code.
Did you try changing the names of those columns? I haven't used access much, but i believe there is some workaround to using reserved words by putting square brackets aroundf them. I haven't done it, I just noticed the access gui front end does it sometimes. i found it much easier to just not use words I thought might be reserved.

Similar Messages

  • Please help in finding the error in this code

    Dear Friends,
    I am trying to make the value of 'Shift' on the basis of  BLDAT CPUDT & CPUTM of MKPF but I am doing something wrong. Kindly have a look at the following code, especially the IF..ELSEIF section and help me in finding the error.
    Regards,
    Alok.
    SELECT MBLNR MJAHR BKTXT BUDAT BLDAT CPUDT CPUTM USNAM
    INTO CORRESPONDING FIELDS OF TABLE I_MKPF1
    FROM MKPF
    WHERE
    BUDAT EQ S_BUDAT AND
    TCODE2 EQ 'MFBF'.
    ********************************************************ALOK 01.02.07
    LOOP AT I_MKPF1.
           I_MKPF-MBLNR = I_MKPF1-MBLNR.
           I_MKPF-MJAHR = I_MKPF1-MJAHR.
           I_MKPF-BKTXT = I_MKPF1-BKTXT.
           I_MKPF-BUDAT = I_MKPF1-BUDAT.
           I_MKPF-BLDAT = I_MKPF1-BLDAT.
           I_MKPF-CPUDT = I_MKPF1-CPUDT.
           I_MKPF-CPUTM = I_MKPF1-CPUTM.
           I_MKPF-USNAM = I_MKPF1-USNAM.
    IF   ( ( I_MKPF1-CPUTM >= '090000' AND I_MKPF1-CPUTM < '160000' )
    AND   ( I_MKPF1-BLDAT = I_MKPF1-CPUDT ) ).
    I_MKPF-SHIFT = 'A'.
    ELSEIF ( ( I_MKPF1-CPUTM >= '090000' AND I_MKPF1-CPUTM <= '110000' )
       AND  ( I_MKPF1-BLDAT <>  I_MKPF1-CPUDT ) ).
    I_MKPF-SHIFT = 'C'.
    ELSEIF ( ( I_MKPF1-CPUTM >= '160000' AND I_MKPF1-CPUTM < '000000' )
      AND  ( I_MKPF1-BLDAT = I_MKPF1-CPUDT ) ).
    I_MKPF-SHIFT = 'B'.
    ENDIF.
    APPEND I_MKPF.
    CLEAR I_MKPF.
    ENDLOOP.

    Hi.
    IF (  I_MKPF1-CPUTM >= '090000' AND I_MKPF1-CPUTM < '160000' )
           AND ( I_MKPF1-BLDAT = I_MKPF1-CPUDT ) .
    I_MKPF-SHIFT = 'A'.
    ELSEIF  ( I_MKPF1-CPUTM >= '090000' AND I_MKPF1-CPUTM <= '110000' )
    AND ( I_MKPF1-BLDAT <> I_MKPF1-CPUDT ) .
    I_MKPF-SHIFT = 'C'.
    ELSEIF ( I_MKPF1-CPUTM >= '160000' AND I_MKPF1-CPUTM < '000000' )
    AND ( I_MKPF1-BLDAT = I_MKPF1-CPUDT ) .
    I_MKPF-SHIFT = 'B'.
    ENDIF.
    Try the above code ..
    Regards
    Sudheer

  • My macpro cant find installation information on this machine. help

    i am trying to reinstall the Lion but i constantly receivin this "Cant Find installation information on this machine" i need help here.

    You need to provide more information on what you are doing. Otherwise, this is how:
    Reinstalling Lion Without Erasing the Drive
    Boot to the Recovery HD: Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the main menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu.
    Reinstall Lion: Select Reinstall Lion and click on the Continue button.
    Note: You can also re-download the Lion installer by opening the App Store application. Hold down the OPTION key and click on the Purchases icon in the toolbar. You should now see an active Install button to the right of your Lion purchase entry. There are situations in which this will not work. For example, if you are already booted into the Lion you originally purchased with your Apple ID or if an instance of the Lion installer is located anywhere on your computer.

  • My iPhone say no songs can be transfer to my iPhone from from itunes library. I cant find a reason for this explaination could someone help me understand why it tells me that?

    My iPhone says no songs can be transfered to my iPhone from my itunes music Library. I cant find a reason for this error, can someone help me fix or understand why it tells me this?

    look in your files on your computer and make sure the songs are still located somewhere on the actual computer.
    open up your start menu and search for one of the songs

  • I upgraded from Dreamweaver CS4 to CS6. but now "an TFP error occured - cannot make connection to host". I spent hours with the host technician and we cant find the error. I reinstalled DW4 and it connects to host perfectly. Anyone else seen this problem?

    I upgraded from Dreamweaver CS4 to CS6. but now when I want to upload I get "an TFP error occured - cannot make connection to host". I spent hours with the host technician and we cant find the error. I reinstalled DW4 and it connects to host perfectly. Anyone else seen this problem?
    Mac OS 10.8.5
    None of these issues are causing the error in DW CS6. We have double checked all of them and we have everything exactly right. Also I have exactly the same SiteSetup in DW CS4 and that works perfectly well. Could there must be factor in 6 that didn't exist in 4? Something that isnt in the SiteSetup but in some hidden dialog box ?
    I can also upload to my host using Fetch, a third party FTP. And as I said DW CS4 works fine. So the problem is not with my host, its with DW CS6 in particular.

    Thank you Jon, that fixed it perfectly. You have saved me from going crazy. The only difference I see now is in "Server Name" it changed what I had entered (my ftp address) to "Remote Server"; which seems odd -- but it works!   Although I know there maybe also some other dialog box I have never seen
    Of course I saw that menu item "Import"  and but I thought thats obviously not for me: "Why would I want to import an entire website?". I did not however see "Export the selected site" for thats only a tiny icon in the footer. However I would have thought the same:  "Why would I want to export my entire website?".
    An observation: I've seen this problem in a lot of Adobe software, the menu-names of items are  obscure, non descriptive. What would be better would be for the menu names or popups to say "Export Site Setup settings" and "Import Site Setup settings"

  • I am currently getting finder error screen saying "Quartz-filter plugin" error, Please report to apple. Can anyone please help me find a resolution for this error?

    I am currently getting finder error screen saying "Quartz-filter plugin" error, Please report to apple. Can anyone please help me find a resolution for this error?

    If it were me I would schedule an appointment at the store where you bought it and meet with the Manager of the store in person. Print this post and bring it with you along with your iMac.
    And change the password on your Apple ID and then see if there are in purchases in your account that you did not make. If there are then someone did get your ID and password. If not someone got your Credit Card information from somewhere and used it.

  • Please help me find the error in the annex VI,access

    Hello, everyone, this is a program about ACCESS, please help me find the error in the annex VI, why do I always run time error. Thank you very much.
    Attachments:
    write access test.vi ‏22 KB

    Thank you for your reply, I have an attachment process map, could you help me change it, I just want to put my number in the array can continue to update the database. And I want to create a table.
    this is my msn :[email protected]
    Waiting for your reply on line
    谢谢你的回复,我的附件中有程序图,能不能帮我改一下,我只是希望,把我的数组中的数能够持续的更新在数据库中。并且创建一个我想要的表。

  • AriesATX-21-M06 Help cant find any website drivers for it

    Hello i have a AriesATX-21-m06 graphics card and i put it into my desktop and it still saying im using my default graphics card thats built in or something.
    i tried to look for aries ATX drivers and there is nothing on google i cant find 1 thing on this driver it just shows up
    device update spam websites and gives a virus.
    if anyone knows of there website and drivers to install please let me know

    Hello Jakeyup,
    Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More. I understand that you are not able to utilize the graphics card you have recently added to your computer, and I would be happy to assist you! To begin, I will need to ask you a few questions:
    What is the Product and Model Number of your desktop computer?
    What version of Windows do you have installed on your computer?
    Has your computer completed all of its important Windows Updates?
    Have you completed all of your HP updates using the HP Support Assistant?
    Did you graphics card come with a software CD?
    What company manufacturer's your graphics card?
    Please re-post with the necessary information, this way I will be able to research this further for you. I look forward to your reply!
    Cheers!
    MechPilot
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks” for helping!

  • Hi, I want to buy Adobe Connect for 25 and maybe more attendees by one host (teacher), but I cant find the price of this set up?

    Hi, I want to buy Adobe Connect for 25 and maybe more attendees by one host (teacher), but I cant find the price of this set up?
    Can anybody help me pls?

    Hm, it seems the new website has obscured the option for purchasing the smaller monthly accounts. You can purchase it here. Adobe Connect | Meetings.
    If you need more than the 25 per meeting limit, you can reach out to a reseller of your choice that covers your area, Adobe Connect | Strategic Partners.

  • Why doesn't my iPhone 4 have an 'Internet tethering' options? Is it carrier related or iOs related? Please help me find the solution for this. thanx

    Why doesn't my iPhone 4 have an 'Internet tethering' options? Is it carrier related or iOs related? Please help me find the solution for this. thanx

    Personal Hot spot
    http://support.apple.com/kb/HT3574
    Understanding
    http://support.apple.com/kb/HT4517
    Trouble Shooting
    http://support.apple.com/kb/TS2756

  • I have an 08 apple desktop and my ipad mini wont connect with my itunes and i cant find updates to fix this what do i do?

    i have an 08 apple desktop and my ipad mini wont connect with my itunes and i cant find updates to fix this what do i do?

    From Apple's website and printed on the box the mini came in:
    Syncing with iTunes on a Mac or PC requires:
    Mac: OS X v10.6.8 or later
    PC: Windows 7; Windows Vista; or Windows XP Home or Professional with Service Pack 2 or later
    Download iTunes at www.itunes.com/download
    You will have to update to at least OS X 10.6.8 or later, otherwise known as snow leopard.

  • Help - cannot find symbol error

    Can someone help me? I am getting "cannot find symbol" error in my code and cannot figure out why. Here is my code:
    public class toyInventory
    private String[] toyInventory = {"ball", "bat", "bear", "car", "doll", "game", "glove", "playstation", "train"};
    private int[] nineArray = {0,0,0,0,0,0,0,0};
    int invItems = 0;
    public void countToy()
    String orderInput[] = {"bear", "train", "car", "ball", "doll", "ball", "train", "doll", "game", "train", "bear", "doll", "train", "car", "ball", "bat", "glove", "bat", "b", "doll", "bear", "ball", "doll", "bat", "car", "glove", "train", "doll", "bear"};
    int noMatch;
    for(int a = 0; a < orderInput.length; a++)
    noMatch = 0;
    for(int b = 0; b < toyInventory.length; b++)
    if(orderInput[a] == toyInventory)
    noMatch = 1;
    break;
    if(noMatch == 0)
    invItems = 1;
    public void printItems()
    for(int c = 0; c < toyInventory.length; c++)
    if (countToy[c] > 4)<-------- cannot find symbol error here
    System.out.print("*");
    System.out.print(toyInventory[c] + "\t" + countToy[c] + "\n"); <----cannot find symbol error here also
    System.out.print("The number of invalid items in the order is" + invItems);
    public static void main( String[] args)
    toyInventory collection = new toyInventory ();
    collection.countToy();
    collection.printItems();

    public void countToy()
    String orderInput[] = {"bear", "train", "car", "ball", "doll", "ball", "train", "doll", "game", "train", "bear", "doll", "train", "car", "ball", "bat", "glove", "bat", "b", "doll", "bear", "ball", "doll", "bat", "car", "glove", "train", "doll", "bear"};In the above code you have declared countToy() as method and while in the below lines you are calling countToy[] as an array. So please check that...
    if (countToy[c] > 4)<-------- cannot find symbol error here
    System.out.print("*");
    System.out.print(toyInventory[c] + "\t" + countToy[c] + "\n"); <----cannot find symbol error here also
    }

  • My iphone 4 cant find wifi. i have reseted wifi and iphone, but it still isnt working! it just stopped yesterday. please help!

    my iphone 4 cant find wifi. i have reseted wifi and iphone, but it still isnt working! it just stopped yesterday. please help!

    You could try syncing the contacts with yahoo or google contacts, then sync them to the iPhone.  Or, export the contacts and then import them into one of the aforementioned servicse, or iCloud, then sync to the phone.

  • HELP!!! Error 3194 "This device isn't eligible for the requested build"

    HELP!!! Error 3194 "This device isn't eligible for the requested build"
    my iPhone 4 cannot restore on my mac...
    my iphone dead and no SHSH
    i updated my itunes and my mac osx to the latest version...
    i had on my firewall..
    i changed the file host...
    i buyed a new USB Cable...
    i restored on another computer and other internet connection...
    but the Error 3194 "This device isn't eligible for the requested build" still there and my phone still dead...
    HELP me please...

    Try a DFU restore.  Plug in your phone.  Hold the Sleep/wake button and the home button for 10 seconds.   Release the sleep/wake button and continue to hold the home button until Itunes detects a phone in recovery mode.  Now restore.

  • Can anyone help me find a song I heard over and over in St. Lucia in April, 2007?  It was a reggae or soca song that was played regularly in the resort we stayed at and all over the island where we visited.  I need a few options to listen to and confirm.

    Can anyone help me find a song I heard over and over in St. Lucia in April, 2007? It was a reggae or soca song that was played regularly in the resort we stayed at and all over the island where we visited.

    SeanD - message sent - any chance of a follow up
    Getting Worse
    . Best Effort Test: -provides background information.
    Download Speed
    13083 Kbps
    0 Kbps
    24198 Kbps
    Max Achievable Speed
    > Download speedachieved during the test was - 13083 Kbps
     For your connection, the acceptable range of speedsis 12000-24198 Kbps .
     Additional Information:
     IP Profile for your line is -24198 Kbps
    2. Upstream Test: -provides background information.
    Upload Speed
    1607 Kbps
    0 Kbps
    2000 Kbps
    Max Achievable Speed
    >Upload speed achieved during the test was - 1607 Kbps
     Additional Information:
     Upstream Rate IP profile on your line is - 2000 Kbps
    We were unable to identify any performance problem with your service at this time.

Maybe you are looking for

  • Population of Customer Exit Variables in Web Template Queries

    Hello, Desired Scenario: I have three Queries: Q1, Q2, Q3, attached to one Web Template in the same order. Queries Q2 and Q3 have exit variables which are populated from the Input Variable of Query Q1 (these customer Exit variables are mandatory,  no

  • Messages not shown correctly in HTML BODY tab in workflow notifications

    I am defining a message in teh HTML BODY section. It is a basic HTML table. If I run this in a browser , it shows up fine , i can see the table with the rows and columns. which means there is nothing wrong in the format as such. But on the notificati

  • User Access to Oracle Business Rules Webdav Repository

    Hi All I've done the following steps for to create Webdav repository;After that i have tried to connect Ruleauthor using Webdav repository but got the "Repository not exist" error message. 1. Create wallet with password "welcome1" saved to specific l

  • My ipod 5 won't connect to wifi

    my 5th generation ipod touch will not connect to my home wifi. it connects to other hotspots, but not at my home. i can see my home network, but when i select it, it just does the little loading circle, but it won't even connect after an hour or more

  • Daily view displays recurring one day events for 2 days.

    There are a number of recurring all day events (birthdays for example). From a browser accessing a group Wiki calendar, the daily view will display the event on BOTH the day it's scheduled for and on the next day as well. The views for week and month