Problem with:  select 'c' as X from dual

Problem with 'select 'c' as X from dual'
I get 2 different results when I execute the above with SQLPlus (or java) depending on the instance I am connected to. For one instance the result is a single character and for the other the character is padded with blanks to 32 chars in the SQLPlus window (and java). Does anyone know what database setting causes this to happen? Is it a version issue ?
Test #1: Oracle 9.2.0.6 - SQLPlus result is padded with blanks
SQL*Plus: Release 9.2.0.1.0 - Production on Mon Dec 10 09:27:58 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production
With the Partitioning option
JServer Release 9.2.0.6.0 - Production
SQL> select 'c' as X from dual;
X
c
SQL>
Test #2 Oracle 9.2.0.1 SQLPlus result is a single character.
SQL*Plus: Release 9.2.0.1.0 - Production on Mon Dec 10 09:29:27 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
SQL> select 'c' as X from dual;
X
c
SQL>

Using 9.2.0.6 On AIX 5.2 I get the single byte result:
UT1 > select 'c' as X from dual;
X
c
If the databases are on different Oracle Homes you may want to check the sqlplus global logon files for any set commands.
If you executed the two sql statements from different OS directories you may also want to check your sqlpath for sqlplus .logon files.
Try issueing clear columns and repeating the statement. Are the results the same?
HTH -- Mark D Powell --

Similar Messages

  • Problem with "SELECT...FOR UPDATE OF..." and "POST command" combination

    Problem with "SELECT...FOR UPDATE OF..." and "POST command" combination
    Problem in committing transactions in Multiple Forms (Oracle Forms) with POST built-in command:
    Consider that the following statements are written in WHEN-WINDOW-CLOSED trigger of a called form.
    Statements in called form (Form name: FORM_CHILD):
    go_block('display_block') ;
    do_key('execute_query') ;
    -- Data from table_b will be populated in this block, based on the value of COLUMN_1 obtained
    -- from TABLE_A.
    -- Example: If the value of COLUMN_1 is 10, then all the matching records from TABLE_B, which
    -- are inserted with value 10 in TABLE_B.COLUMN_1 will be fetched and shown here.
    if user_choice = 'YES' then
    commit ;
    else
    rollback ;
    end if ;
    Statements in calling forms:
    There are two calling forms having following statements and it is going to call the above said called form.
    CALLING FORM 1
    Statements in KEY-COMMIT trigger:
    post;
    call_form(form_child, no_activate) ;
    Statements in ON-INSERT trigger:
    select column_1
    from table_a
    for update of column_1
    where column_2 = 'X' ;
    update table_a
    set column_1 = column_1 + 1
    where column_2 = 'X' ;
    insert into table_b ...;
    insert into table_b ...; Statements in KEY-COMMIT trigger:
    post;
    call_form(form_child, no_activate) ;
    CALLING FORM 2:
    Statements in ON-INSERT trigger:
    select column_1
    from table_a
    for update of column_1
    where column_2 = 'X' ;
    update table_a
    set column_1 = column_1 + 1
    where column_2 = 'X' ;
    insert into table_b ...;
    insert into table_b ...;
    insert into table_b ...;
    Our understanding:
    Assume that both the forms are running from two different machines/instances, issuing commit at the same time. In this case, forms will start executing the statements written in ON-INSERT trigger, the moment POST command is executed. Though the commit is issued at the same time, according to oracle, only one of the request will be taken for processing first. Assume that calling form 1 is getting processed first.
    So, it fetches the value available in COLUMN_1 of TABLE_A and locks the row from further select, update, etc. as SELECT...FOR UPDATE command is used (note that NOWAIT is not given, hence the lock will be released only when COMMIT or ROLLBACK happens) and proceed executing further INSERT statements. Because of the lock provided by the SELECT...FOR UPDATE command, the statements in calling form 2 will wait for the resource.
    After executing the INSERT statements, the FORM_CHILD is called. The rows inserted in to TABLE_A will be queried and shown. The database changes will be committed when user closes the window (as COMMIT is issued in its WHEN-WINDOW-CLOSED trigger). Then the SELECT...FOR UPDATE lock will be released and calling form 2's statements will be executed.
    Actual happenings or Mis-behavior:
    Calling form 2 starts executing INSERT statements instead of waiting for SELECT...FOR UPDATE lock. Also, the value selected from TABLE_A.COLUMN_1 is same in both the calling forms, which is wrong.
    The rows inserted into TABLE_B are having similar COLUMN_1 values in calling form 2 and they are fetched and shown in the called form FORM_CHILD.
    Note that in calling form 2 also POST only is issued, but the changes posted there are accessible in calling form 1 also, which is wrong.
    Kindly suggest us as to how to fix above problem. It will be much use, if you can send us the information regarding the behavior of Oracle Forms POST built-in also.
    Our mail ID: [email protected]
    Thanks a lot in advance.

    You have several problems:
    1. On-Insert will ONLY run if you have created a new record in a base-table block. If you haven't done that, then the POST command will not cause it to run.
    2. Select for update without a "no wait" will lock records for the first form, but when the second form tries this, it will hit the ORA-00054 exception, and will NOT wait. The only way you could make it wait is to issue an UPDATE sql command, which is not such a good way to go.
    All POST does is issues SQL insert or update commands for any changes the user has made to records in a form's base-table blocks, without following with a Commit command.
    Also understand that Commit is the same as Commit_Form, and Rollback is the same as Clear_Form. You should read up on these in the Forms help topics.

  • Problem with selecting text in Adobe Reader XI

    Hi all, I am encountering a problem with Adobe Reader XI and it is very strange I could not find an alike issue on the internet so I guess I have to submit a question with it.
    So here it is, I am using Adobe Reader XI Version 11.0.2, operating system: Windows 7. I do not know it starts from when but it has the problem with selecting text - to be copied in pdf documents. I ensure that the documents are not scanned documents but word-based documents (or whatever you call it, sorry I cannot think of a proper name for it).
    Normally, you will select the text/paragraph you want to copy and the text/paragraph will be highlighted, but the problem in this case that I cannot select the text/paragraph, the blinking pointer (| <-- blinking pointer) will just stays at the same location so I cannot select/highlight anything to be copied. It happens oftenly, not all the time but 90%.
    This is very annoying as my work involves very much with copying text from pdf documents, I have to close the pdf file and then open it again so I can select the text but then after the first copying or second (if I am lucky), the problem happens again. For a few text I have to type it myself, for a paragraph I have to close all opening pdf documents and open again so I could select the paragraph to copy. I ran out of my patience for this, it causes trouble and extra time for me just to copying those texts from pdf documents. Does this problem happen to anyone and do you have a solution for this? I would much appreciate if you could help me out, thank you!

    Yeah,  I totally agree, this is very strange. I have always been using Adobe Reader but this problem only occurred ~three months ago. It must be that some software newly installed I think. But I have no idea.
    About your additional question, after selecting the texts and Ctrl + C, the texts are copied and nothing strange happens. It's just that right after I managed to copy the texts, it takes me a while to be able to select the texts again. For your information, I just tested to select the texts and then pressed Ctrl, the problem happened. And then I tried pressing C and then others letters, it all led to the problem.
    I guess I have to stick with left-clicked + Copy until I/someone figure the source of this problem. Thanks a lot for your help!

  • Strange problem with executing PL/SQL procedure from sqlplus.

    Hello,
    basicly, I'm strugling with executing a procedure written in PL/SQL from sqlplus.
    It's all because I convert a data in procedure by other function.
    SELECT partition_name
    INTO strpartition
    FROM user_tab_partitions
    WHERE table_name = tablename_in
    and substr(partition_name, -8, length(partition_name)) = (SELECT F_CONVERT_DATE(tablename_in,p_date) from dual);
    /tablename_in and p_date are input parameters/
    Function F_CONVERT_DATE looks more less like :
    select
    TO_CHAR(TRUNC(NEXT_DAY(ADD_MONTHS(substr(partition_name, -8, length(partition_name)), -3), 'MONDAY')-7), 'YYYYMMDD')
    END
    AS p_date
    INTO v_okr
    FROM user_tab_partitions
    where substr(partition_name, -8, length(partition_name)) = p_date;
    Well, the thing is that procedure is executable from TOAD without any errors !! But when I try to execute it straight from sqlplus it returns:
    ORA-01861: literal does not match format string
    ORA-06512: at "F_CONVERT_DATE", line 13
    ORA-06512: at "NAME_OF_PROCEDURE", line 17
    Tip: When I don't use functions ADD_MONTHS, NEXT_DAY and TO_CHAR in function F_CONVERT_DATE sqlplus can execute it. But only when I use them it returns an error.
    Anybody has a clue how to solve it?
    Regards !

    Hi, Nodex,
    Avoid implicit conversions.
    For example:
    TO_CHAR(TRUNC(NEXT_DAY(ADD_MONTHS(substr(partition_name, -8, length(partition_name)), -3), 'MONDAY')-7), 'YYYYMMDD')ADD_MONTHS expects a DATE as its first argument.
    SUBSTR returns a VARCHAR2, so you're calling ADD_MONTHS with a VARCHAR2 where it expects a DATE.
    For good or ill, the system tries to avoid raising an error in this case by implicitly converting the VARCHAR2 to a DATE. Exactly how it does that depends on
    (a) the tool you are using (SQL*Plus or Toad, for example),
    (b) the version (Oracle 10 behaved quite different form Oracle 9),
    (c) environmental settings (such as NLS_DATE_FORMAT), which in turn may depend on initialization parameneters, and
    (d) who knows what else.
    When you have to convert, do so explicitly.
    You can convert a VARCHAR2 to a DATE using TO_DATE, like this:
    TO_CHAR ( TRUNC ( NEXT_DAY ( ADD_MONTHS ( TO_DATE ( SUBSTR ( partition_name
                                                       , -8
                                          , LENGTH (partition_name)
                                     , 'YYYYMMDD'     -- or whatever
                             , -3
                      , 'MONDAY'
              - 7
         , 'YYYYMMDD'
         )

  • SELECT SYS_CONTEXT ('userenv', 'ip_address') FROM dual;

    I am using the following query
    SELECT SYS_CONTEXT ('userenv', 'ip_address') FROM DUAL:
    and the retuned row is blank.
    Any Idea why?

    SELECT SYS_CONTEXT ('userenv', 'ip_address') FROM dual
    will return the IP address of the client of the current session. If the current session is connected to a local database (i.e. not using SQL*NET), then this query appears to return NULL.
    SELECT SYS_CONTEXT ('userenv', 'host') FROM dual
    will return the host name from which the client is connected, even if the client is connected locally.
    If the host name is not sufficient, then I'm not sure what your other options are (perhaps writing a java stored procedure which returns the IP address of the database server? always connecting via SQL*Net?)

  • New problem with my Sony xperia t2 ultra dual

    I have recently discovered this new problem with my Sony xperia t2 ultra dual.it displays" sorry but xperia home is not wotking". And if iclick on OK it displays the same message again.
    Can anyone help me solve this problem?
    Please reply quickly what to do?

     Repair the phone with PCC PC Companion (PCC)  Bridge (for Mac)   Alternatives on How to backup Xperias http://talk.sonymobile.com/thread/36355 

  • OneKey Recovery 6.0. Problem with back up operating system from recovery cd'ies

    Hello, i have problem with back up operating system from recovery cdies.
    When i acceped start button to backup partition system i get an alert "space not enough"
    I had linux before and i whant change it to windows back. i deleted all ext partitions. I have all unlocated space.I shouldnt have problems.
    Please help me

    I would use something like Partition Magic or Acronis Disk Director to first create a FAT32 partion for your C: Drive where your OS will go and be sure to leave 10GB or so unallocated for the secondary FAT32 Partition where your "factory image" will go. 
    You then create a Logical Drive with the unallocated space and make it hidden (PM or ADD will do this).   Install your OS (preferably Windows XP if you want less problems) and then after you have setup everything the way you want (drivers, applications, etc), then use Acronis True Image to create your "factory restore" image on the hidden partition and activate the Startup Recovery Manager.
    This is the way I do it and it works like a charm!

  • Performance problem with selecting records from BSEG and KONV

    Hi,
    I am having performance problem while  selecting records from BSEG and KONV table. As these two tables have large amount of data , they are taking lot of time . Can anyone help me in improving the performance . Thanks in advance .
    Regards,
    Prashant

    Hi,
    Some steps to improve performance
    SOME STEPS USED TO IMPROVE UR PERFORMANCE:
    1. Avoid using SELECT...ENDSELECT... construct and use SELECT ... INTO TABLE.
    2. Use WHERE clause in your SELECT statement to restrict the volume of data retrieved.
    3. Design your Query to Use as much index fields as possible from left to right in your WHERE statement
    4. Use FOR ALL ENTRIES in your SELECT statement to retrieve the matching records at one shot.
    5. Avoid using nested SELECT statement SELECT within LOOPs.
    6. Avoid using INTO CORRESPONDING FIELDS OF TABLE. Instead use INTO TABLE.
    7. Avoid using SELECT * and Select only the required fields from the table.
    8. Avoid nested loops when working with large internal tables.
    9. Use assign instead of into in LOOPs for table types with large work areas
    10. When in doubt call transaction SE30 and use the examples and check your code
    11. Whenever using READ TABLE use BINARY SEARCH addition to speed up the search. Be sure to sort the internal table before binary search. This is a general thumb rule but typically if you are sure that the data in internal table is less than 200 entries you need not do SORT and use BINARY SEARCH since this is an overhead in performance.
    12. Use "CHECK" instead of IF/ENDIF whenever possible.
    13. Use "CASE" instead of IF/ENDIF whenever possible.
    14. Use "MOVE" with individual variable/field moves instead of "MOVE-
    CORRESPONDING" creates more coding but is more effcient.

  • Problems with Selection for Werks from Eine

    Hi all
    I surch for an way to get the Werks for Eine.
    I know
    EKPO
    EKKO-BSTYP
    LFA1
    LFM1
    EKKO
    EKPO
    EKPO
    EKPO
    EBAN
    MT06E
    EINA
    EINE
    EKPO
    KOMP
    But there is no way to select werks.
    a  bit coding
    SELECT  * FROM EINE
    WHERE INFNR = I_EINE-INFNR
    AND   EKORG = I_EINE-EKORG.
    endselect.
    Chris

    Is ok, but ..
    In the LFa1 the Werk is 500
    in the Eine the Werk is 100.
    The would be no result
    Again.
    On with way i can get WErks for the selection from Eine
    SELECT WERKS ..
    FROM LFA1
    INTO IT_LFA1
    WHERE WERKS IN S_WERKS .
    IF SY-SUBRC = 0.
    SELECT * FROM EINE
    FOR ALL ENTRIES IN IT_LFA1
    WHERE INFNR = I_EINE-INFNR
    AND EKORG = I_EINE-EKORG AND
    WERKS IN S_WERKS .
    ENDIF .

  • Analitic functions (problem with SELECT)

    Hi!
    I've got a problem with analitic functions (I'm newbie in this topic).
    I have a table gpw_notowania which have colums: not_open, not_minimum, not_maximum, not_close, not_volume, not_sp_id and not_date.
    I need to receive from database the information: what is the open, minimum, maximum, close and sum of volume in every week? I have tried the code below but it tells me: ORA-01791 (marking not_date in ORDER clause).
    Help me, please.
    SELECT     distinct
         FIRST_VALUE(not_open)      OVER (partition by to_char(not_date,'WW') ORDER BY not_date)          as open,
         MIN(not_minimum)     OVER (partition by to_char(not_date,'WW') ORDER BY not_date)          as minimum,
         MAX(not_maximum)     OVER (partition by to_char(not_date,'WW') ORDER BY not_date)          as maximum,
         FIRST_VALUE(not_close)     OVER (partition by to_char(not_date,'WW') ORDER BY not_date DESC)     as close,
         sum(not_volume)          OVER (partition by to_char(not_date,'WW'))                    as volume
    FROM     gpw_notowania
    WHERE     not_sp_id = 80
    ORDER BY not_date;

    This is an interesting question.
    create table SortWithDistinct(Val1,Val2,sortKey,SubSortKey) as
    select 1,3,10,1 from dual union all
    select 1,3,10,1 from dual union all
    select 1,3,10,1 from dual union all
    select 2,4,30,2 from dual union all
    select 2,4,30,2 from dual union all
    select 3,5,20,1 from dual union all
    select 3,5,20,1 from dual union all
    select 4,6,10,3 from dual union all
    select 5,5,10,2 from dual union all
    select 5,5,10,2 from dual union all
    select 9,9,10,4 from dual union all
    select 6,4,20,2 from dual union all
    select 6,4,20,2 from dual union all
    select 7,3,30,1 from dual union all
    select 7,3,30,1 from dual;
    select distinct Val1,Val2
      from SortWithDistinct
    order by sortKey,SubSortKey;
    ORA-01791: not a SELECTed expressionIt is one way that we use "group by".
    for instance
    select Val1,Val2
      from SortWithDistinct
    group by Val1,Val2
    order by max(sortKey),max(SubSortKey);
    Val1  Val2
       1     3
       5     5
       4     6
       9     9
       3     5
       6     4
       7     3
       2     4It is one way that we use "Inline View".
    for instance
    select Val1,Val2
    from (select distinct Val1,Val2,sortKey,SubSortKey
    from SortWithDistinct)
    order by sortKey,SubSortKey;
    Furthermore, we may use below alternative solution which uses "dense_Rank".
    select Val1,Val2
    from (select distinct Val1,Val2,
          dense_Rank() over(order by sortKey,SubSortKey) as willSortKey
            from SortWithDistinct)
    order by willSortKey;Because "distinct" works after OLAP.
    for instance
    SQL> select distinct ColA,ColB,Row_Number() over(order by 1) as Rank
      2  from (select 1 as ColA,1 as ColB from dual
      3  union all select 1,1 from dual
      4  union all select 1,1 from dual
      5  union all select 1,1 from dual
      6  union all select 2,2 from dual
      7  union all select 2,2 from dual
      8  union all select 2,2 from dual)
      9  order by 1,2,3;
    ColA  ColB  Rank
       1     1     1
       1     1     2
       1     1     3
       1     1     4
       2     2     5
       2     2     6
       2     2     7my site :-)
    http://www.geocities.jp/oraclesqlpuzzle/1-6.html

  • Font problem with Montserrat and Maven Pro from google

    Seems like some fonts don't render as they should in Firefox 29.0.1. I tried to use google web fonts like Montserrat and Maven Pro, no problem with downloading but this fonts don't look good.
    I tried to install Montserrat to my Windows 7 (64) and deactivated css so that FF runs the font but same problem occurs.
    A really strange problem is that from my computer at work this fonts don't work from FF or Chrome, all versions of IE is fine.
    At home i have a laptop with same OS and version of FF and from home it works! But not Chrome..
    I have search on the net and at your support site but haven't find any answers yet.
    You can look at http://arenago.axiell.com for your self. Below is troubleshooting information from my version of FF where this problems occurs (Sorry about the Swedish)
    Programfakta
    Namn: Firefox
    Version: 29.0.1
    Användaragent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0
    Kraschrapporter för de senaste 3 dagarna
    Alla kraschrapporter
    Tillägg
    Namn: Classic Theme Restorer
    Version: 1.1.8
    Aktiverad: true
    ID: ClassicThemeRestorer@ArisT2Noia4dev
    Namn: Firebug
    Version: 1.12.8
    Aktiverad: true
    ID: [email protected]
    Namn: HostAdmin
    Version: 1.4.9.2
    Aktiverad: true
    ID: {bd54afa8-b14a-4d7a-aecf-37e34e882796}
    Namn: Web Developer
    Version: 1.2.5
    Aktiverad: true
    ID: {c45c406e-ab73-11d8-be73-000a95be3b12}
    Viktiga ändrade inställningar
    accessibility.typeaheadfind.flashBar: 0
    browser.cache.disk.capacity: 358400
    browser.cache.disk.smart_size_cached_value: 358400
    browser.cache.disk.smart_size.first_run: false
    browser.cache.disk.smart_size.use_old_max: false
    browser.places.smartBookmarksVersion: 6
    browser.sessionstore.upgradeBackup.latestBuildID: 20140506152807
    browser.startup.homepage: about:blank
    browser.startup.homepage_override.buildID: 20140506152807
    browser.startup.homepage_override.mstone: 29.0.1
    browser.tabs.drawInTitlebar: false
    browser.tabs.onTop: false
    dom.mozApps.used: true
    extensions.lastAppVersion: 29.0.1
    font.default.x-western: sans-serif
    font.internaluseonly.changed: true
    font.name.sans-serif.x-western: Montserrat
    font.name.serif.x-western: Montserrat
    network.cookie.prefsMigrated: true
    network.dnsCacheEntries: 0
    network.dnsCacheExpiration: 0
    places.database.lastMaintenance: 1400218745
    places.history.expiration.transient_current_max_pages: 104858
    plugin.disable_full_page_plugin_for_types: application/pdf
    plugin.importedState: true
    print.printer_\\tina\Kajan_HP_LJ_P2055.print_bgcolor: false
    print.printer_\\tina\Kajan_HP_LJ_P2055.print_bgimages: false
    print.printer_\\tina\Kajan_HP_LJ_P2055.print_colorspace:
    print.printer_\\tina\Kajan_HP_LJ_P2055.print_command:
    print.printer_\\tina\Kajan_HP_LJ_P2055.print_downloadfonts: false
    print.printer_\\tina\Kajan_HP_LJ_P2055.print_duplex: -983728976
    print.printer_\\tina\Kajan_HP_LJ_P2055.print_edge_bottom: 0
    print.printer_\\tina\Kajan_HP_LJ_P2055.print_edge_left: 0
    print.printer_\\tina\Kajan_HP_LJ_P2055.print_edge_right: 0
    print.printer_\\tina\Kajan_HP_LJ_P2055.print_edge_top: 0
    print.printer_\\tina\Kajan_HP_LJ_P2055.print_evenpages: true
    print.printer_\\tina\Kajan_HP_LJ_P2055.print_footercenter:
    print.printer_\\tina\Kajan_HP_LJ_P2055.print_footerleft: &PT
    print.printer_\\tina\Kajan_HP_LJ_P2055.print_footerright: &D
    print.printer_\\tina\Kajan_HP_LJ_P2055.print_headercenter:
    print.printer_\\tina\Kajan_HP_LJ_P2055.print_headerleft: &T
    print.printer_\\tina\Kajan_HP_LJ_P2055.print_headerright: &U
    print.printer_\\tina\Kajan_HP_LJ_P2055.print_in_color: true
    print.printer_\\tina\Kajan_HP_LJ_P2055.print_margin_bottom: 0.5
    print.printer_\\tina\Kajan_HP_LJ_P2055.print_margin_left: 0.5
    print.printer_\\tina\Kajan_HP_LJ_P2055.print_margin_right: 0.5
    print.printer_\\tina\Kajan_HP_LJ_P2055.print_margin_top: 0.5
    print.printer_\\tina\Kajan_HP_LJ_P2055.print_oddpages: true
    print.printer_\\tina\Kajan_HP_LJ_P2055.print_orientation: 0
    print.printer_\\tina\Kajan_HP_LJ_P2055.print_page_delay: 50
    print.printer_\\tina\Kajan_HP_LJ_P2055.print_paper_data: 9
    print.printer_\\tina\Kajan_HP_LJ_P2055.print_paper_height: 11,00
    print.printer_\\tina\Kajan_HP_LJ_P2055.print_paper_name:
    print.printer_\\tina\Kajan_HP_LJ_P2055.print_paper_size_type: 0
    print.printer_\\tina\Kajan_HP_LJ_P2055.print_paper_size_unit: 1
    print.printer_\\tina\Kajan_HP_LJ_P2055.print_paper_width: 8,50
    print.printer_\\tina\Kajan_HP_LJ_P2055.print_plex_name:
    print.printer_\\tina\Kajan_HP_LJ_P2055.print_resolution: 1
    print.printer_\\tina\Kajan_HP_LJ_P2055.print_resolution_name:
    print.printer_\\tina\Kajan_HP_LJ_P2055.print_reversed: false
    print.printer_\\tina\Kajan_HP_LJ_P2055.print_scaling: 1,00
    print.printer_\\tina\Kajan_HP_LJ_P2055.print_shrink_to_fit: true
    print.printer_\\tina\Kajan_HP_LJ_P2055.print_to_file: false
    print.printer_\\tina\Kajan_HP_LJ_P2055.print_unwriteable_margin_bottom: 0
    print.printer_\\tina\Kajan_HP_LJ_P2055.print_unwriteable_margin_left: 0
    print.printer_\\tina\Kajan_HP_LJ_P2055.print_unwriteable_margin_right: 0
    print.printer_\\tina\Kajan_HP_LJ_P2055.print_unwriteable_margin_top: 0
    print.printer_\\tina\NRG_MP_C3501_PS.print_bgcolor: false
    print.printer_\\tina\NRG_MP_C3501_PS.print_bgimages: false
    print.printer_\\tina\NRG_MP_C3501_PS.print_colorspace:
    print.printer_\\tina\NRG_MP_C3501_PS.print_command:
    print.printer_\\tina\NRG_MP_C3501_PS.print_downloadfonts: false
    print.printer_\\tina\NRG_MP_C3501_PS.print_duplex: -983728976
    print.printer_\\tina\NRG_MP_C3501_PS.print_edge_bottom: 0
    print.printer_\\tina\NRG_MP_C3501_PS.print_edge_left: 0
    print.printer_\\tina\NRG_MP_C3501_PS.print_edge_right: 0
    print.printer_\\tina\NRG_MP_C3501_PS.print_edge_top: 0
    print.printer_\\tina\NRG_MP_C3501_PS.print_evenpages: true
    print.printer_\\tina\NRG_MP_C3501_PS.print_footercenter:
    print.printer_\\tina\NRG_MP_C3501_PS.print_footerleft: &PT
    print.printer_\\tina\NRG_MP_C3501_PS.print_footerright: &D
    print.printer_\\tina\NRG_MP_C3501_PS.print_headercenter:
    print.printer_\\tina\NRG_MP_C3501_PS.print_headerleft: &T
    print.printer_\\tina\NRG_MP_C3501_PS.print_headerright: &U
    print.printer_\\tina\NRG_MP_C3501_PS.print_in_color: true
    print.printer_\\tina\NRG_MP_C3501_PS.print_margin_bottom: 0.5
    print.printer_\\tina\NRG_MP_C3501_PS.print_margin_left: 0.5
    print.printer_\\tina\NRG_MP_C3501_PS.print_margin_right: 0.5
    print.printer_\\tina\NRG_MP_C3501_PS.print_margin_top: 0.5
    print.printer_\\tina\NRG_MP_C3501_PS.print_oddpages: true
    print.printer_\\tina\NRG_MP_C3501_PS.print_orientation: 0
    print.printer_\\tina\NRG_MP_C3501_PS.print_page_delay: 50
    print.printer_\\tina\NRG_MP_C3501_PS.print_paper_data: 9
    print.printer_\\tina\NRG_MP_C3501_PS.print_paper_height: 11,00
    print.printer_\\tina\NRG_MP_C3501_PS.print_paper_name:
    print.printer_\\tina\NRG_MP_C3501_PS.print_paper_size_type: 0
    print.printer_\\tina\NRG_MP_C3501_PS.print_paper_size_unit: 1
    print.printer_\\tina\NRG_MP_C3501_PS.print_paper_width: 8,50
    print.printer_\\tina\NRG_MP_C3501_PS.print_plex_name:
    print.printer_\\tina\NRG_MP_C3501_PS.print_resolution: 1
    print.printer_\\tina\NRG_MP_C3501_PS.print_resolution_name:
    print.printer_\\tina\NRG_MP_C3501_PS.print_reversed: false
    print.printer_\\tina\NRG_MP_C3501_PS.print_scaling: 1,00
    print.printer_\\tina\NRG_MP_C3501_PS.print_shrink_to_fit: true
    print.printer_\\tina\NRG_MP_C3501_PS.print_to_file: false
    print.printer_\\tina\NRG_MP_C3501_PS.print_unwriteable_margin_bottom: 0
    print.printer_\\tina\NRG_MP_C3501_PS.print_unwriteable_margin_left: 0
    print.printer_\\tina\NRG_MP_C3501_PS.print_unwriteable_margin_right: 0
    print.printer_\\tina\NRG_MP_C3501_PS.print_unwriteable_margin_top: 0
    privacy.cpd.siteSettings: true
    privacy.sanitize.migrateFx3Prefs: true
    privacy.sanitize.timeSpan: 0
    storage.vacuum.last.index: 1
    storage.vacuum.last.places.sqlite: 1399495195
    user.js-inställningar
    Din profilmapp innehåller en user.js-fil som inkluderar inställningar som inte har skapats av Firefox.
    Grafik
    Adapter-RAM: 512
    Adapterbeskrivning: NVIDIA GeForce 7950 GT
    Adapterdrivrutin: nvd3dumx,nvd3dum
    ClearType-parametrar: D [ Gamma: 2200 Pixel Structure: R ClearType Level: 100 Enhanced Contrast: 50 ] D [ Gamma: 2200 Pixel Structure: R ClearType Level: 100 Enhanced Contrast: 50 ]
    DirectWrite aktiverat: false (6.2.9200.16492)
    Drivrutinsdatum: 1-31-2013
    Drivrutinsversion: 9.18.13.783
    Enhets-ID: 0x0295
    GPU #2 aktiv: false
    Grafikaccelererade fönster: 1/1 Direct3D 9
    Leverantörs-ID: 0x10de
    WebGL-renderare: Google Inc. -- ANGLE (NVIDIA GeForce 7950 GT Direct3D9Ex vs_3_0 ps_3_0)
    windowLayerManagerRemote: false
    AzureCanvasBackend: skia
    AzureContentBackend: cairo
    AzureFallbackCanvasBackend: cairo
    AzureSkiaAccelerated: 0
    JavaScript
    Incremental GC: true
    Tillgänglighet
    Aktiverad: false
    Förhindra tillgänglighet: 0
    Biblioteksversioner
    NSPR
    Förväntad minimiversion: 4.10.3
    Version som används: 4.10.3
    NSS
    Förväntad minimiversion: 3.16 Basic ECC
    Version som används: 3.16 Basic ECC
    NSSSMIME
    Förväntad minimiversion: 3.16 Basic ECC
    Version som används: 3.16 Basic ECC
    NSSSSL
    Förväntad minimiversion: 3.16 Basic ECC
    Version som används: 3.16 Basic ECC
    NSSUTIL
    Förväntad minimiversion: 3.16
    Version som används: 3.16

    Many site issues can be caused by corrupt cookies or cache.<BR><BR>
    Clear the Cache<BR>
    '''''Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"'''''
    <BR><BR>and<BR><BR>
    Remove Cookies<BR>'''''Firefox/Tools > Options > Privacy.'''''<BR>
    Under '''History''', select Firefox will '''Use Custom Settings'''.<BR>
    There is a button on the right side called '''Show Cookies'''.<BR><BR>
    If there is still a problem,
    '''''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Start Firefox in Safe Mode]'''''
    <BR>While you are in safe mode;<BR>
    '''''Firefox Options > Advanced > General'''''.<BR>
    Look for and turn off '''Use Hardware Acceleration'''.<BR>
    Poke around safe web sites and see if there is still a problem. Then restart.
    <BR><BR><BR>
    This may or may not help you;<BR><BR>
    '''''[https://addons.mozilla.org/en-US/firefox/addon/nosquint/?src=external-Add-ons_Manager_Context_Menu-extension NoSquint]'''''<BR><BR>
    NoSquint allows you to adjust the text-only and full-page (both text and images) zoom levels as well as color settings both globally (for all sites) and per site.

  • Problem with barcode print in Adobe From

    Hello All,
    We are using Adobe Forms to print our shipping labels and this as been working well for few years now. These labels include readable text and barcodes. The barcodes are 1-D but recently we now have a need to print 2-D barcodes.
    We are able to print PDF-417 as a 2-D barcode on the form, but when we try to print Datamatrix barcode, the barcode does not show and instead we just see the text which should have been encoded as 2-D barcode.
    We analyze the spool output file on the server to check the correct print controls are being sent to label printer. Our printer is a Zebra S4M using ZPLII. We send test form to our printer which will print two barcodes only (both 2-D), one is PDF-417 the other is Datamatrix. The spool output when viewed in Wordpad, is as below:
    ^XA
    PRALH0,3
    ^XZ
    CI13XA
    ^LL1219
    ^FO127,102
    ^BY3,,203
    ^B7N,,5,,,N
    FHFD1234567890
    ^FS
    ^FO127,356
    FHFD1234567890
    ^FS
    ^XZ
    The ^B7 print control is the  barcode PDF-417 control code. The Datamatrix control code ^BX is missing and should appear where there is an empty line. If we edit the spool output file and add the missing control code sequence, and then reprint the spool from SAP, then the Datamatrix 2-D barcode prints correctly.
    So for some reason, the .zpl spool output file is not being generated with the ^BX control code sequence for the datamatrix barcode. We cannot find any information on why this is so.
    We are running ECC6 SP11 (single stack) and ADS is running on a separate dual-stack BI system (NW2004s SP21).
    Our Zebra S4M printer firmware is V53.17.6Z, and printer driver is ZebraDesigner 2.6.42 (Build 2382). Our SAP device type which is assigned is AZPL203. Our ADS version is 7.00.21.0.
    We are seeing the same problem if we print test label from ECC or BI system. ECC kernel is 700 patch 266. BI kernel is 700 patch 254.
    We have found SAP Notes related to incorrect ZPL format in ^BX for NW7.1 and NW7.1 EhP1, but not for NW7.0.
    Has anyone else come across a problem like this before? Any advice would be much appreciated and duly rewarded.
    Thanks in advance
    George

    Issue is resolved.
    We updated our ADS to 7.11.5.0

  • Problems with select statement

    Hi,
    For some reason I cannot find the solution for the following problem.
    I have an internal table.
    Now I like to make an select over a database table, while only rows should be selected, where the key field occurs in the internal table and in case of  identical key field only the row with the lowest value in another column is selcted.
    Example:
    - internal table:
    col1  col2  col3
    1     A     AA
    2     B     AA
    3     A     AC
    -database table:
    col1  col2  col3
    1     001   CD
    1     002   CF
    1     003   CG
    2     001   CD
    2     002   CF
    2     003   CG
    3     002   CF
    3     003   CG
    4     001   CD
    4     002   CF
    4     003   CG
    - the selected database entries should be
    1     001   CD
    2     001   CD
    3     002   CF
    explication:
    - entries with 4 in the first column do not occur in the internal table, so they do not appear in the selection
    - in case of more than one entry in the database table only the one with the lowest value in column two will be selected
    If you have any idea how this could be solved, I would really appreciate you help.
    regards
    Torsten

    Hi,
    1) u have to select based on internal table 1
    2) u have to filter the internal table 2 for minimum value.
    select col1 col2 col3
    from <any table>
    into table <Internal_table_final>
    for all entries in <Internal_table_1>
    where col1 = Internal_table_1-col1.
    sort Internal_table_final by col1 col2.
    loop at Internal_table_final.
       at new col1.
          continue.
       endat.   
       delete Internal_table_final.
    endloop.
    <b>try this</b>
    Regards
    <b>Mark Helpful Answers</b>
    Message was edited by: Manoj Gupta

  • Problem with select query in search

    Hi,
    Here i am using MYSQL database and when i am insertind date to database it is saving like  '2009-11-10 00:00:00'  and when i used to dispaly this in dateformat as '11/10/2009' .
    here is the problem occurs , when i write a search query as
    select recruitername,interviewdate ,skillset
                 from details
                  where interviewdate = #form.interviewdate#
    i am getting problem with date . would u please help me how to solve this issue .

    Try to use DateFormat
    select recruitername,interviewdate ,skillset
                 from details
                  where interviewdate = #DateFormat(form.interviewdate, "yyyy-dd-mm")#

  • Problems with "Select Distinct" Statement

    Hi... I've a little problem with my SQL Statement...
    I've a Table in a DataBase with Solds of the Month... the fields are: vta_fecha, vta_prod, vta_total, vta_mesa.
    I've to Select only the distincts fields of vta_prod... selected by vta_fecha and vta_mesa...
    My code is like this:         try{
                Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                conec = DriverManager.getConnection("jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=C:/POOL/Data/BaseDat.MDB");
                state = conec.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_READ_ONLY);try{
                rec = state.executeQuery("Select DISTINCT vta_prod, vta_fecha, vta_mesa from Ventas where vta_fecha = #" + Fecha_q + "# And vta_mesa = 0");           
                rec.first();
                int x = 0;
                while (rec.isAfterLast()==false){
                    x++;
                    rec.next();
                rec.first();
                if (x > 0){
                    Productos = new String[x];
                    Total_Vta = new int[x];
                    Cant_Prod = new int[x];
                    x = 0;
                    while (rec.isAfterLast() == false){
                        Productos[x] = rec.getString("vta_prod");
                        rec.next();
                        x++;
                else{
                    Productos = new String[0];
                    Total_Vta = new int[0];
                    Cant_Prod = new int[0];
            }catch(Exception e){JOptionPane.showMessageDialog(null,e.getMessage());}Now, in the Table I have only 3 diferents vta_prod, but this Statement returns 9 Rows... and I don't know why...
    Please help me...
    Regards...

    I don�t have a complete picture because I don�t know what values you are passing in the select and I don�t know your column types but this is what I think is happening from what you have shared.
    You may have misunderstood what the DISTINCT keyword does.
    The DISTINCT keyword applies to the full set of columns in the select (not just the first column). So in your case it would be equivalent to:
    SELECT vta_prod, vta_fecha, vta_mesa
    FROM Ventas
    WHERE ...
    GROUP BY by vta_prod, vta_fecha, vta_mesa
    So, it doesn't matter that you only have 3 distinct vta_prod values if you have multiple values being returned in the other columns. The vta_mesa column can only a return a single value as �0�. That leaves the vta_fecha column which is probably a date/time column and is probably the column that is returning the three other distinct values (one date with three distinct times).
    (3 vta_prod) x (3 vta_fecha) x (1 vta_mesa) or 3x3x1 = 9 rows
    So find a way to strip the time from vta_fecha in your select statement and your SQL should return the results you expect. I�m not an Access expect but I think I remember you can use something like the �Convert� or �DatePart� functions to make that happen (check your documentation to be sure)..
    A couple of asides;
    1) You should use a PreparedStatement and rarely if ever use Statement.
    2) You should start Java variable names with lower case.

Maybe you are looking for