Case sensitive sql - table and field names

I have a weird problem.
I have a client which works with MS SQL SERVER 2000.
database collation name is: Turkish_CI_AS
at the beginning I have this sql statement:
"select value from [OWNER].setting"
but because this table exists in database as "SETTING", I get java.sql.SQLException -
[Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Invalid object name 'setting'.
while I change the sql statement to:
"select VALUE from [OWNER].SETTING"
it works ok.
I uses also other databases, but it works ok with small letters.
How can avoid this problem? should I change all the sql statements to
upper case?
I will appreciate any help.
Thanks.

I am not sure about case sensitivity of tables, but as a convention, I always use table names in UpperCase separated only by _.
I don't remember this to be a problem with Oracle or Sybase.
***Annie***

Similar Messages

  • Tables and field names

    hiiii,right now we are developing dash boards for manufacturing industry,and we are trying to get the actual table names  and field names that where exactly these will appear ex.long term assets,cogs invoiced ,in which table it apperas.wht is grr3 and the tables in that?

    I'm sorry but your question is much too general.  Please let us know what application and system environment (SQL, NW, etc.) you are working with and perhaps you will receive a helpful answer from the community.
    Thanks and best regards,
    [Jeffrey Holdeman|http://wiki.sdn.sap.com/wiki/display/profile/Jeffrey+Holdeman]
    SAP BusinessObjects
    Enterprise Performance Management
    Regional Implementation Group

  • Table and fields name required

    Hi ,
    I am abaper ,i need yr help .
    i had to develop stock transfer report and needed table and fields for stock transfer
    which include way bill no., transport doc. no and date ,stock transfer memo no.
    kindly do held me.

    Sales and Distribution Tables
    KONV Conditions for Transaction Data
    KONP Conditions for Items
    LIKP Delivery Header Data
    LIPS Delivery: Item data
    VBAK Sales Document: Header Data
    VBAP Sales Document: Item Data
    VBBE Sales Requirements: Individual Records
    VBEH Schedule line history
    VBEP Sales Document: Schedule Line Data
    VBFA Sales Document Flow
    VBLB Sales document: Release order data
    VBLK SD Document: Delivery Note Header
    VBPA Sales Document: Partner
    VBRK Billing: Header Data
    VBRP Billing: Item Data
    VBUK Sales Document: Header Status and Administrative Data
    VBUP Sales Document: Item Status
    VEKP Handling Unit - Header Table
    VEPO Packing: Handling Unit Item (Contents)
    VEPVG Delivery Due Index

  • Table and field name for Physical Inventory

    Hi Experts,
    As i have to put radio buttons with 2 blocks in a report for Phys. Inventory. Please tel me the following fields:-
    Block1.   Table name and field ( flag field) that shows physical inventory completed & not completed. (so many indicator fields but i want exaact one) or any other way to no PI done or not.
    Block 2.  Table name and Field( flag field ) for Physical Inv. Still to be executed , Physical Inv. Still to be Closed, Phy Inv. Executed, Phy Inv. Active Again.
    Regards
    Nikhil

    <b>go to se80
    click on repository information system  
    expand ABAP Dictionary
    expand fields
    double click on table fields</b>
    on the right side of the screen type the description of the field you want to know and execute to know the field name and the table where it is used.
    <i>follow the above steps to search by yourself rather than posting each time</i>
    regards,
    srinivas
    <b>*reward for useful answers*</b>

  • Table and Fields names for following

    Hi All,
    1. What is the Table&Field Name for finding out Program Type[Report/Module pool etc..] of a Program!
    2. Is there any Table&Field Name for Transport Request Name. We need to find out TR Name Based on Program name.
    Can anybody solve above issues!
    Thanks in advance.
    Thanks,
    Deep.

    Hi,
    In TRDIR table specify the NAME as report name and <b>SUBC</b> is teh field whic gives u the <b>report type</b>.
    1    Executable program  
    I    INCLUDE program     
    M    Module pool         
    F    Function group      
    S    Subroutine pool     
    J    Interface pool      
    K    Class pool          
    For the second one
    Table name > <b>RSEUMOD</b>
    Hope this solves ur query.
    Message was edited by:
            Judith Jessie Selvi

  • Table and field name

    Hi,
    I m creating a FI report, that contain following fields..
    Plz tell. From where i take following fields values:
    Vendor Code
    Vendor Name
    Vendor Address
    PAN No.
    Date of Payment / Credit
    Basic Amount on which TDS Deducted
    TDS
    Surcharge
    CESS
    Total TDS
    Recipient Type
    Section
    Rate
    Plz tell..
    Thanks..

    hi,
    check this.
    FORM get_data .
      SELECT bukrs
             gjahr
             witht
             wt_acco
             wt_withcd
             belnr
             j_1ibuzei
             wt_qsshh
             wt_qbshh
             qsatz
             ctnumber
             j_1icertdt
             hkont
             j_1iintchln
             j_1iintchdt
             wt_basman
             wt_amnman
             wt_wtexmn
             wt_qszrt
             qsrec
             INTO TABLE it_with_item
             FROM with_item
             WHERE bukrs IN s_bukrs
             AND   gjahr IN s_gjahr
             AND   j_1iintchln IN s_j_chln
             AND   j_1iintchdt IN s_j_chdt
             AND   wt_acco IN s_lifnr
             AND   ctnumber IN s_ctn
             AND   hkont IN s_hkont
             AND   belnr in s_belnr.
      SORT it_with_item BY bukrs  belnr gjahr j_1ibuzei  hkont wt_acco.
      IF NOT it_with_item[] IS INITIAL.
        SELECT bukrs
               belnr
               gjahr
               buzei
               gsber
               hkont
               INTO TABLE it_bseg
               FROM bseg
               FOR ALL ENTRIES IN it_with_item
               WHERE bukrs = it_with_item-bukrs
              AND   belnr = it_with_item-belnr
               AND   gjahr = it_with_item-gjahr
               AND   buzei = it_with_item-j_1ibuzei
               AND   hkont = it_with_item-hkont
               AND   gsber IN s_gsber.         .
        SELECT lifnr
               name1
               name2
               stras
               ort01
               INTO TABLE it_lfa1
               FROM lfa1
               FOR ALL ENTRIES IN it_with_item
               WHERE lifnr = it_with_item-wt_acco.
        SELECT budat
               belnr
               into table it_bkpf
               FROM BKPF
               FOR ALL ENTRIES IN it_bseg
               where    belnr = it_bseg-belnr
                   AND  gjahr IN s_gjahr.
        SELECT lifnr
               j_1ipanno
               INTO TABLE it_j_1imovend
               FROM j_1imovend
               FOR ALL ENTRIES IN it_with_item
               WHERE lifnr = it_with_item-wt_acco.
        SORT it_lfa1 BY lifnr.
        SORT it_j_1imovend BY lifnr.
      ENDIF.
    ENDFORM.                    " GET_DATA

  • Table and field names for transaction VB13

    Dear experts,
    Which are table-fields where the field values in table control(Mat entered, Name, Material, Description, ...) for transaction VB13 stored?
    Thanks and Regards,
    Sumit Nene.

    Thanks all!!
    I found the fields as--
    mat entered--KOTD001     MATWA
    Name     MAKT     MAKTX
    Substitute Material     KONDD     SMATN
    Short text for sales order item     MAKT     MAKTX
    Substitute unit of measure     KONDD     MEINS
    Reason for material substitution     KONDD     SUGRD
    I just didnt get the tab-field for last check box for alternative materials.
    Regards,
    Sumit Nene
    Edited by: Sumit Nene on Aug 17, 2009 1:07 PM

  • Need the table and field names...

    Hi
    Is there any field for min order quantity and lead time in vendor master related tables ? I want to generate a report to show that this vendor expects a min order quantity of this much and his delivery will take a minimum of n days/weeks etc ? So that based on that i can always be prepared for the delivery as well decide on the minimum qty to be ordered.
    In which table are these data stored and which fields refer them ?
    thanks

    Hi,
    Check the table LFM1(Vendor master record purchasing organization data).
    The default delivery time is stored in the field PLIFZ (Planned delivery time in days).
    There is no quantity field as such in vendor related information stored, its determined by the order placed by the vendor and the field VENSL(Vendor service level) stored in the LFM1 table.
    Hope this helps.
    Edited by: Priyabrata Samanta on Feb 15, 2008 2:58 AM

  • Table and field name for the goods receipt date in SAP CRM

    Hi,
    can some one provide me The TABLE-FIELD from SAP CRM system for GOODS RECIPT DATE.
    It is the same as Received material date in DIsplay:Return and replacemnt screen in CRM.
    Thanks,
    Chetan

    Few more tables:
    BUT0BANK         Business Partner: Bank Data                                 
    BUT0BK           BP: Bank details                                            
    BUT0CC           BP: Payment Cards                                           
    BUT0ID           BP: ID Numbers                                              
    BUT0ID_BIP_NOHIT Business Information Provider: Logging of non identified BP 
    BUT0IS           BP: Industries                                              
    BUT0VP           BP: Business Partner Assignment and Links                   
    BUT100           BP: Roles                                                   
    BUT150           BP relationship: Attribute table (test different.type TBUKR) 
    CRMM_BUT_BUHI_1  R/3 Customer Sales Area CRM BP Hierarchy Group Mapping      
    CRMM_BUT_BUHI_2  R/3 Leaf Customer Sales Area CRM BP Hierarchy Group Mapping 
    CRMM_BUT_CONTNO  Mapping Table Business Partner Relationship – Contact Person
    CRMM_BUT_CRMOBJ  Buffer: Which BPs are in Which Systems                      
    CRMM_BUT_CUSTNO  Mapping Table Business Partner – Customer                   
    CRMM_BUT_FRG0040 Business Partner Sales Classification List                  
    CRMM_BUT_FRG0041 Business Partner Sales Classification                       
    CRMM_BUT_FRG0042 Business Partner Sales Classification List Order Blocks     
    CRMM_BUT_FRG0050 Business Partner – Status                                   
    CRMM_BUT_FRG0060 Business Partner – Business Hours                           
    CRMM_BUT_FRG0061 Business Partner – Business Hours Interval                  
    CRMM_BUT_FRG0070 Business Partner Excluded Partner Functions List            
    CRMM_BUT_FRG0071 Business Partner Excluded Partner Functions                 
    CRMM_BUT_FRG0080 Business Partner – Sales Area – Partner Function List       
    CRMM_BUT_FRG0081 Business Partner – Sales Area – Partner Function            
    CRMM_BUT_FRG0100 CRM Business Partner: Status                                
    CRMM_BUT_KOR0040 Business Partner Korea                                      
    CRMM_BUT_KOR0041 Business Partner Korea History                              
    CRMM_BUT_LNK0010 Business Partner – Sales Rule List                          
    CRMM_BUT_LNK0011 Business Partner – Sales Rule                               
    CRMM_BUT_LNK0020 Business Partner – Shipping Rule List                       
    CRMM_BUT_LNK0021 Business Partner – Shipping Rule                            
    CRMM_BUT_LNK0030 Business Partner – Billing Rule List                        
    CRMM_BUT_LNK0031 Business Partner – Billing Rule                             
    CRMM_BUT_LNK0140 Business Partner Organization Rule List                     
    CRMM_BUT_LNK0141 Business Partner Organization Rule                          
    CRMM_BUT_MIGRATE Migration Table: Fields Changed In CDB                      
    CRMM_BUT_SEMPL00 Sales Employee for Contact Person Relationship: Admin. Tech.
    CRMM_BUT_SEMPL01 Sales Employee to Contact Person Rel.: Data Table           
    CRMM_BUT_SET0010 Business Partner – Sales Rule Period                        
    CRMM_BUT_SET0020 Business Partner – Shipping Rule Period                     
    CRMM_BUT_SET0030 Business Partner – Billing Rule Period                      
    CRMM_BUT_SET0140 Business Partner Organization Rule Period                   
    CRMM_BUT_TDAR010 Business Partner – Time-Dependent Appointment Rules         
    CRMM_BUT_TDAR011 Business Partner – Time-Dependent Appointment Rule Intervals
    CRMM_BUT_TDAR012 Business Partner – Time-Dependent Appt Rule Single Intervals 
    BUT_DNC          BP: Telephone Numbers of the “Do Not Call” List           
    BUT_DNC_OLD      BP: Telephone Numbers of the “Do Not Call” List           
    BUT_FRG0010      Business Partner: Tax Classification                      
    BUT_FRG0011      Business Partner: Tax Classification                      
    BUT_HIER_NODE    Business Partner Hierarchy Group                          
    BUT_HIER_NODE_BP Business Partner Hierarchy Group – Bus. Partner Assignment
    BUT_HIER_NODE_D  Business Partner Hierarchy Group – Description            
    BUT_HIER_STRUCT  Business Partner Hierarchy Group – Hierarchy Relationship 
    BUT_HIER_TREE    Business Partner Group Hierarchy                          
    BUT_HIER_TREE_D  Business Partner Group Hierarchy – Description            
    BUT_HIER_TYPE    Business Partner Group Hierarchy Category (GUID)
    CRMD_ACTIVITY_H Activity Header table
    CRMD_ACTIVITY_I Activity Reporting: Activity Line Item Extension
    CRMD_TM_ACTIVITY Activity reference
    CRMD_LEAD_H Lead Header table
    CRMD_OPPORT_H Opportunity Header table
    CRMC_T077D : customer account groups
    BUT_HIER_TREE Business Partner Group Hierarchy
    CDBC_T_PRODUCTID Mapping: Product Id
    CDBD_ORGMAN Business transaction – organizational unit -set
    COMC_PRODUCT General Product Settings
    COMC_R3_FIELDS Assignment of R/3 material master fields to CFOP
    COMM_CATEGORY Category
    COMM_CFGMAT Basic Data for Materials
    COMM_HIERARCHY Category Hierarchy
    COMP_TYPES Hierarchy Tool: Comparison Type Check Table
    CRMC_CPRICPROC Customer Pricing Procedures
    SMOKVBEZ15 Assignment employees to positions
    CRMMLSGUID: GUID entry (should match GUID in CRMPRLS)
    CRMM_BUT_CUSTNO : Also GUID table (GUID here should match GUID in R/3 table CRMKUNNR)
    SMOFSUBTAB : Mapping & Parameters
    SMOFDSTAT : Download Monitor (R4AM1)
    SMOFFILTAB : Filters (Should match filters in R3AC1 & R/3 Table CRMFILTAB)
    SMOFOBJECT Definition of Objects for Download
    SMOFOBJPAR Parent Objects of an Object in Table
    SMOFPARSFA Middleware Parameter
    SMOFQFIND Queue Finder Table for MW-Queue finder
    SMOFTABLES Definition of Tables for Download
    CRMD_ORDERADM_H = Document Header Table
    CRMD_ORDERADM_I = Document Line item Table
    COMM_PR_FRG_ROD: Product Sales Set - Product – Assignment
    CRMV_PR_SALESA: Product - Sales Order Set

  • What is the table name and field name for Street 2, street3 in Vendor mast.

    Hi,
    I have a BDC code for Vendor master. I just need to insert the fields street 2, street3, stree4 and street5 in the code. Can I insert it in the code directly without re-recording? If yes then what would be the table and field names for the fields mentioned above.
    Thanks & Regards,
    Sriram

    Hi Sriram,
       Its a Configuration Setting to bring the Check box ask your SD consultant, else directly insert this try, change your internal table filed here,
      PERFORM bdc_dynpro USING 'SAPMF02K'    '0100'.
      PERFORM: bdc_field USING 'RF02K-BUKRS' indata-bukrs,
               bdc_field USING 'RF02K-EKORG' indata-ekorg,
               bdc_field USING 'RF02K-KTOKK' indata-ktokk,
               bdc_field USING 'USE_ZAV'     'X',------------------------>this part is check box
               bdc_field USING 'BDC_OKCODE'  '/00'.
    for street just try this without re-recording,
    PERFORM bdc_field  USING 'ADDR1_DATA-NAME1'       indata-name1.
      PERFORM bdc_field  USING 'ADDR1_DATA-NAME2'       indata-name2.
      PERFORM bdc_field  USING 'ADDR1_DATA-SORT1'       indata-sortl.
      PERFORM bdc_field  USING 'ADDR1_DATA-STREET'      indata-stras.
      PERFORM bdc_field  USING 'ADDR1_DATA-POST_CODE1'  indata-pstlz.
      PERFORM bdc_field  USING 'ADDR1_DATA-CITY1'       indata-ort01.
      PERFORM bdc_field  USING 'ADDR1_DATA-COUNTRY'     indata-land1.
      PERFORM bdc_field  USING 'ADDR1_DATA-REGION'      V_regio.
      PERFORM bdc_field  USING 'ADDR1_DATA-PO_BOX'      indata-pfach.
      PERFORM bdc_field  USING 'ADDR1_DATA-STR_SUPPL2'  indata-suppl2.
      PERFORM bdc_field  USING 'ADDR1_DATA-TAXJURCODE'  indata-txjcd.

  • How to find Tables and Fields from R3 that some InfoSource use

    Hi people,
    I already know how to get the table or fields from R3 that some InfoSource use by "Portal SAP" that our friend here answered.
    Now, I would like to know if there is some way to get this but using some transaction in the ECC6 (R3) or BW.
    I ask by that because I will be some situation that I will have to  know tables and fields that some InfoSource use and maybe there isn't in the Portal SAP.
    Obs.: I don't know ABAP, so I would like some way that doesn't use Debug (ABAP), if it is possible.
    Thank you,
    Rosana.

    Hi Rosanna
    In many cases you will be able to get documentation from help.sap.com regarding the tables and fields used by standard datasources. For example for all the Sales and Distribution datasources you can refer the below link
    http://help.sap.com/saphelp_nw70/helpdata/en/17/cd5e407aa4c44ce10000000a1550b0/frameset.htm
    Here you can click on the different datasources and see both the table and field names. If you are looking for any specific datasource let me know...may be i can help.
    Thanks.

  • About Asset report - table and fields

    Hi ,
    I am developing an Asset Report, I need table and field names for following -
    a) GL A/C P&L
    b) ASSET DEPRECIATION SCHEDULED
    c) FORCASTED DEPRECIATION
    d) PLANNED EXPENSES VERSES ACTUAL EXPENSES
    e) GAP DEPRECIATION CATEGORY
    e) When user enters the asset into SAP, the depreciation expense will automatically book to the sub-ledger. However in order to get the amount on the general ledger, which would be closed for prior periods, user must book a manual entry. So , I need this manual entry field.
    Please guide me.
    Regards,
    Narayan

    problem solved

  • Sales order item level partial delivery field table and field?

    Will anyone share your expertise,  In SD sales order level, at item what is the table and field name in which the partial delivery status is stored.  I want the table and field name?.  will anyone share pl.

    Hi,
    Try with table VBUP - and field LFSTA.
    Regards

  • Table and field for Department ID, Department ID desc, and DIV

    Hi,
    We're planning to develop a "Z" report, by extending CJI3 transaction. I want to add the following fields to this new report. I just wanted to know from what tables these fields are coming from standard SAP (I believe these fields might be related to controlling, so I'm posting in this forum):
    1. Department ID
    2. Department ID Description
    3. Division (DIV)
    Aman

    Hi Asim ,
    The currency in Material Master is updated from the Company Code.
    At first system checks the company code for which the Plant is assigned and picks the currecy from the company code.
    You can find the same in Table T001 ; Field - WAERS
    What do u mean by Product ID ? Let me know where does it exist in Material Master.
    If you know the view, press F1 and then Technical Inf to get the table and Field Name.
    Regards
    Ramesh Ch

  • Custom report table and field mapping

    Hi Experts,
    i am writing a functional spec for the custom report to be developed by developers and need to know the table and field name for the following items:
    Employee Number
    Name
    Original Hire date
    Adjusted Hire date
    Salary Class
    Rate of Pay
    Emp. Status
    Classification
    Acounting Unit
    Activity (WBS)
    Accrual Beginning Balance (Hours)
    Accrual Beginning Balance (Dollars)
    Accrued (Hours)
    Accrued (Dollars)
    Used (Hours)
    Used (Dollars)
    Other / Manual Adjustments (+/-) (Hours)
    Other / Manual Adjustments (+/-) (Dollars)
    Other / Manual Adjustments Description
    Accrual Ending Balance (Hours)
    Accrual Ending Balance (Dollars)
    Vested Status
    PlanCode
    PlanDescription
    Thanks,
    Lisa

    I can give you a 30,000 foot answer, but to get down to ground level I would have to know your system.  There is way to much missing information in your request to give you a definite answer.
    Employee Number - if you are using LDB PNP/PNPCE to run your report then it is the field PERNR-PERNR.
    Name - IT/PA0002-NACHN -Last Name, IT/PA0002-VORNA-First Name.IT/PA002-MIDNM-Middle Name. Depending on your system configuration these fields are also stored on IT/AP0001-SNAME (Last Name-FirstName) or ENAME(First Name, Middle Name, Last Name)
    Original Hire Date-IT/PA0041-This stores multiple date types with a specific code to identify what each one is.  You will need to know the code for OHD.
    Adjusted Hire Date - same as above
    Salary Class- not sure what you are talking about, but salary information is stored on IT/PA008
    Empl Status - IT/PA000-Stat2
    Classification-not sure what field you are talking about, but IT/PA0001 is where this type of information is stored
    Accounting Unit-same as above
    Activity(WBS)- now you are getting complicated. This is stored in Cost Distribution  HRT1019-POSNR, but you have to know how to connect the dots to get there.
    Accrual Beginning Balance(Hours)-I would go to the ABWKONTI table in the Time Cluster for this fields ANZHL & KVERB
    Accrual Beginning Balance(Dollars) - this will probably have to be computed
    Used(Hours)-You can either compute this balance by computing the difference between the Beginning/Ending balances or read back through the appropriate Time Cluster Tables or total IT/PA2001 and IT/PA2013.
    Used(dollars) will probably have to be computed
    Other/Manual Adjustments(Hours) - not sure but you may be looking at IT/PA2013
    Other/Manual Adjustments(Dollars)- will have to be computed
    Accrual Ending Balance(Hours)-I would go to the ABWKONTI table in the Time Cluster for this fields ANZHL & KVERB
    Accrual Ending Balance(Dollars) - this will probably have to be computed
    Vested Status - I have no idea
    Plan Code-Plan Code for what(Health Ins, Life Ins, Retirement Plans, Flexible Spending?)
    Plan/Description-see above

Maybe you are looking for

  • So Far... Disappointed in Windows Phone 8 offerings

    I was really excited about getting both my son, and I, new Windows 8 phones to offset the new iPhone 5's my wife and daughter just received. I was particularly looking forward to the rumored Samsung ATIV S as it has everything I was looking for. Scre

  • Outlook 2013 send & receive is very slow or freezes

    Hello. I recently purchased Office 2013 to install on my new laptop at the beginning of February. Everything was working fine up until a couple weeks ago. I am having issues in Outlook 2013, specifically I am not getting emails or when I send emails

  • Can the ifi work with an iMac?

    Can the Klipsch ifi work for an iMac? Hi, I'm buying an iMac and I want great speakers to use with them. I'm very interested in purchasing the klipsch ifi for it, but I'm not sure if they only work with an iPod or with computers as well. Help please?

  • USB Printing - client-error-request-value-too-long

    A little while back, my iSight suddenly stopped working and so I did a full format and reinstall to 'fix' the problem. The problem wasn't 'fixed' through this action. Instead, I had to disconnect power and let the computer sit there for a bit and thi

  • M8 147 Account determination for entry PKJL WRX 0001 not possible.

    Hello ! I am using ML81N transaction - Service Entry Sheet. PKJL is Chart of accounts. I know how to solve this error problem. In transaction OBYC I have to input record for WRX with empty valuation class. But using this solution I limit to only one