Question about DISCHARGE (expr, 1016) function

Hello

I have a question about the DUMP function, specifically the DUMP (expr, 1016). What character set is the function of report? The only logical answer seems to me the characters of data. The http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/functions055.htm#SQLRF00635 docs it says: "by default, the return value contains no character set information. To retrieve the name of character of expr, add 1000 to all the values of previous format. "For example, a return_fmt of 1008 returns the result in octal * and provides the character set name of expr.*.

I ask this question because a client complains that there a database with database EE8MSWIN1250 (obtained from DATABASE_PROPERTIES) characters and when I asked him to run a SELECT that could empty the contents of a column, he gave me this result:
select dump(some_col, 1016) from some_table;

Typ=1 Len=8 CharacterSet=AL32UTF8: c5,bd,c5,a0,54,45,53,54
Now I can't imagine how the data can be stored in the AL32UTF8 character set if the characters of the database are EE8MSWIN1250. This scenario is still possible? I tried in vain to reproduce on my test database.

I don't know if the column is defined with the characters of database or the national database characterset, but even if it was a NVARCHAR2, the dump function could not return AL32UTF8 since he is not a national character set.

If anyone has an explanation, I will be very grateful.

Thanks in advance and best regards,
Swear

1. to help with the confusion about the DUMP function: index realizes that the DUMP function can be performed in the remote database. Oracle tries to push as many functions as possible and semantically correct on the remote site. Therefore, it sends the statement of simple table on the remote site after stripping the DB link. In this case, the DUMP function sees the character set of the remote database and creates the resulting string of information. This string of AL32UTF8 to EE8MSWIN1250, as described in the note, but as all the characters in the string of information are pure ASCII, some codes are actually changed.

Things get more interesting if you start to combine the tables of local and remote databases. For example, the following query is will normally return the character of local database defined for the two columns:

select dump(xx,1016),dump(yy,1016) from (select x.dummy xx, y.dummy yy from dual x, dual@dblink y);

This is because the first dual@dblink is transported to the local site and the join is performed here with application of DUMP.

The following query returns the set for two columns of characters in remote database:

select dump(xx,1016),dump(yy,1016) from (select x.dummy xx, y.dummy yy from dual@dblink x, dual@dblink y);

This is because all the tables are remote and the entire query is sent to the remote database and y.

The following query returns the remote character set thus:

select dump(xx,1016),dump(yy,1016) from (select /*+driving_site(y)*/ x.dummy xx, y.dummy yy from dual x, dual@dblink y);

Here, the DRIVING_SITE hint asks the database to perform the join in the database of the table, for example dual@dblink.

2. to answer your question:

Your understanding of the way of conversion is generally correct, but conclusions are not quite correct. In the scenario [client EE8ISO8859P2, EE8MSWIN1250 local database, remote database AL32UTF8], Eastern and Central European characters will work correctly, but the other characters to the remote database will not be (for example, French, Greek, Chinese). It is, I think, quite clear and is usually not a major problem, as usually only compatible languages EE8 are interesting for an EE8ISO8859P2 customer. However, in the scenario [customer AL32UTF8, EE8MSWIN1250 local database, remote database AL32UTF8], the problem becomes more visible. Having a taking customer support Unicode, you can recover some data French or Greeks of the remote database but you will fail as all of these characters will be "killed" by the conversion of distance at the local level (link DB conversion).

EE8ISO8859P2 is also for the same group of languages, such as EE8MSWIN1250, indeed, but it lacks some interesting characters. The most important of them is the symbol of the Euro. Others are "' quotes, long dashes, TM symbol, and a few other less frequently used punctuation. Therefore, always define a database as EE8MSWIN1250, even if you run some clients (Unix) with EE8ISO8859P2. Do not run Windows with EE8ISO8859P2 clients, except for purposes of loading/generation of special file.

-Sergiusz

Tags: Database

Similar Questions

  • Question about merging with the function of the background

    Hello, I was wondering if someone can tell me when it is useful to use the fusion with the function of the background.  I see nothing in the documentation on the subject. It seems to me that you can make your changes on the master slide, and you would not need the feature.  If I'm misunderstanding please let me know, thanks.

    Hello

    Is not safe to be comprehensive here, just my ideas. If you merge objects with the background on a master slide, you can save on the size of the file, because the background is an image, compared to several objects. You will not be able to edit these objects more. Also the slide background will always be behind any object. For slides model objects you can have them either on top, where they sit on top of the stack, or not. If you have objects of time during the rest of the project, they will always be on top of the slide background, but if you slide model objects, they'll be on top of the object of time during the rest of the project, unless you put that one always on top. You can disable to show slides on normal leaves model objects, separately from the power off from the slide background. Some of my ideas. For objects that I still want to be with the background, I'd prefer to merge. For objects that do not always, I will keep the separately and it is of course always the case for the button of interactive form that you cannot merge with the background (which is just an image, non-interactive).

    Lilybiri

  • General question about the procedures and functions

    Hello!

    I know, I can define and use a function within a procedure. But can I set up and use a procedure inside a procedure?

    Thank you!

    Hello

    But can I define and use a procedure inside a procedure?
    

    HMMM... was it so difficult to test this?

    CREATE OR REPLACE PROCEDURE xy_main
    AS
    PROCEDURE xy_sub IS
    BEGIN
    NULL;
    END;
    BEGIN
    xy_sub;
    END;
    

    Or you actually meant the procedure inside a function
    It's also not difficult :)

    CREATE OR REPLACE FUNCTION func_xy_main RETURN NUMBER
    IS
    PROCEDURE xy_sub IS
    BEGIN
    NULL;
    END;
    BEGIN
    xy_sub;
    RETURN(1);
    END;
    

    See you soon!
    Bobin

  • Question about the ttAgingScheduleNow stored function

    Hello

    I have a table like (time, DATE, State CHAR (20))

    The status field can be 'CURRENT' or 'out of DATE '.

    Scenario: When a record is created, the status field is COMMON. My requirement is that, after a while, he must convert BLAND.

    I can implement a policy of aging (temporal) on the table, and can also call the ttAgingScheduleNow of the stored procedure to the age of the entry.

    However, aging, it deletes the whole line, does not update.

    Is there a way to change the function (or extend) it so that instead of delete the line, it will update another field in the same row?

    Thanks in advance.

    TimesTen 7.0 does not support user code stored procedures/functions. Logical as this must be an external program coded in C, C++ or Java.

    The next version of Timesten is planned to support the PL/SQL. In this version allows you to encode a stored procedure in the same way as you can in Oracle DB.

    Chris

    Edited by: scheung on January 30, 2009 09:21

  • Hi I have a question about the unique row function executed a query "select lower ('test' |)» SYSDATE + 1) twice; "fails when as" Select lower (sysdate + 1 |) " (' test') twice; "is executed without error?

    SQL > select lower (sysdate + 1 |) (' test') twice;

    LOWER (SYSDATE + 1

    ---------------

    07 jul-2014test

    SQL > select lower ('test' | + 1 sysdate) twice;

    Select lower ('test' | sysdate + 1) of the double

    *

    ERROR on line 1:

    ORA-01722: invalid number

    The query fails because it cannot perform arithmetic (+ 1) on a channel not digital.  However, the query that successfully interpreted the arithmetic in the first place, that it concatenated the string 'test' to it...  Make sense?

  • Question about support for LabVIEW DLLS and Unicode

    Hello

    I have a question about LabVIEW and DLL functions calls.

    I use a DLL (sorry, I can't share it) that was written in C. It was written to support Unicode and non-Unicode function calls.

    The Unicode function is valid, then FunctionNameW is called if FunctionNameA is called.

    I am building a few VI to access the library. I have the regular functions of FunctionNameA work.

    My question is, does LabVIEW support versions of function FunctionNameW Unicode, and if so is it necessary Although LabVIEW is already working with the standard function call?

    Am I being redundant or what should I build in Unicode support?

    The first time I tried to test the Unicode functions, I had an error, and I guess this is a system setting.

    Thank you for your time in advance.

    DB_IQ wrote:

    I don't think I have TO implement the Unicode, but I want if I can.

    For what I do, I think almost it is not serious. But I wanted to know if it could be used.

    The short answer is "Yes, you can do it."  However, it may open a new Pandora's box.  If you're not careful, problems and complications that can still spread to other projects that are not using Unicode!  It is better not to summon this monster unless there is absolutely no other way to do the job.

  • Ask questions about the functionality of EA8500 MU-MIMO

    Dear Linksys

    I bought EA8500, and it arrived today.

    I have two questions about the functionality of MU-MIMO of EA8500 AP.

    1. I want to compare the performance between SU-MIMO and MU-MIMO, but there is no option to control this feature in the router admin page. Is that one of the possible ways?

    2 EA8500 supports 1733 Mbps wireless speed, but it resembles the speed of 1 Gbps ethernet cable.

    This router supports really speed 1 Gbps ethernet? or y at - it an option to support more throughput as the aggregation of links?

    Thank you

    Hi, hyeonu. For your first query, it is not possible because there is no option to disable the feature of MU-MIMO on your Linksys EA8500 router. In addition, with regard to your second, you can get a higher throughput of 1 Gbps since this is the maximum capacity of your ethernet connection.

  • Question about to_date() function?

    Hello
    I have a question about the to_date() function.
    I am aware that for the to_date() function, we should give the format of the input string.
    My current settings for the NLS_DATE_FORMAT parameter in the NLS_SESSION_PARAMETERS table is "DD-MON-YY."
    Then, when I give
    SELECT TO_DATE('15-DEC-2008','DD/MM/YY') it should error out because the format is not same as the format of the input string('DD-MON-YY').
    But this isn't any error out.why?
    Also please tell me if the format of SYSDATE is taken NLS_SESSION_PARAMETERS table or another table.

    Please take a look at Unexpected result with to_date

  • I have a question about the functionality of Oracle Identity Manager...?

    Hi friends
    I have a question about the features of Oracle Identity Manager.
    Here's my question:
    Self-management is possible network passwords (reset / unlock) with Oracle Identity Manager 9.1.0.2

    Very grateful.

    What Kevin suggested this means that you are managing accounts and their password by IOM. If your condition is the same then follow:

    Re: error during password reset using the self-service portal

  • Question about "Windows 8.1 DG to Windows 7 Pro 64-bit" and Windows product key

    I have acquired a recnet ThinkPad T450 fdrom a retialer online (NCIX) and I hav ea a few questions about the installed Windows operating system.

    Before I just go further, HRE are some information about my particular system.

    Lenovo ThinkPad T450

    Model: 20BV00BUS

    CPU: Intel Core i5-4300U

    RAM: 4 GB

    Under the product description, it was stated "Windows 8.1 DG Windows 7 Pro 64." My understnading, the ThiknPad has been installed with Windows 8.1, but downgraded to Windows 7. There is also a Windows 8 Pro badge sticker at the bottom of the matchine.

    Is it possible, at the end of the user/consumer, to alter the functioning ti repressive back Windows 8.1?

    Can I create a recovery with Windows 8.1 disk?

    A separate but related matter relates to the Windows product key.

    I noticed the Ultrabook do not come with a sticker / label with the Windows product key (i.e. COST). Some quick research indicated that the Windows key is programmed into the BIOS.

    This indeed true (I wish an audit)?

    The key is visible in some way (for when you need to reinstall the operating system. I have not tried to enter the BIOS at the moment)?

    Thank you for taking the time to consider my question.

    Kind regards

    Victor L.

    Hi Victor,

    I'm in the same boat as you type, but want to keep the facilities of Windows 7 rather than pass them to 8. Just like you, I buy our Lenovo from different retailers and they come with windows 7 installed through the Windows 8 lower upgrade program.

    We had one or two laptops come with a recovery media (for windows 8/8.1 only) but have noticed that all laptops now come with no physical media or codes for the recovery. WIN8 stickers, you described is more came with the license key on the sticker (it comes to stop you using the same license again and again, microsoft will get more money if you buy another license etc.). I also saw that the key is essentially located in the BIOS but were not able to test what we use any of windows 8. I use it even at home!

    To answer your question, you can get a recovery of Lenovo for Windows 8 media!

    Go to the following link: https://support.lenovo.com/us/en/lenovorecovery

    (It help you understand why this method is used on this page as well)

    Select Start,

    Please have your serial number of your laptop, (to find it go to this link: https://support.lenovo.com/us/en/find-product-name)

    If you qualify (which you will very probably) Lenovo will ship for free, recovery disks give it a go, took me 2 minutes.

    I hope this helps.

    Best regards, Max.

  • Questions about Satellite P10 554

    Hello

    I have 2 questions about my P10-554. I read on this forum but can't find anything that helps out me.

    First of all:
    When I try to turn the unit off after working, using even the closing of xp function or the power button, windows normally quit, but when it needs to turn off just reboot again. If I repeat the closing down directly after this restart, normally it turns off.
    This problem occur only when I use the power supply in battery mode.
    I can't say that to me...

    Second:
    I have a mini PCI Wlan card for my unit, works very well, but I wonder if it is possible to get the Wlan switch switch work whith it? Or is it only possible whith some special maps? It is not so important, but it would be nice to know if there is a trick or something to get the switch used.

    Best regards
    Gabbagandalf

    Hello

    Regarding your first question;
    I'm a bit confused of m are sure you n t use the restart option?
    I never noticed anything like that on my laptop

    Usually, if I use the Shut down option, I can choose between standby, hibernation, restart and shutdown. If I use the stop that the laptop turns off as it should.
    Maybe it's time to s for a reinstallation of the OS?

    On the second question.
    The switch on the left side for laptop was designed and developed to pass on the WLan card antenna.
    Usually, you should be able to use this switch and to toggle WLan card functionality

    Don t understand why it should not work?  :|

  • Technical questions about X 1 carbon Touch base

    Please forgive me, I'm still recovering after the shock and frustration generated by dealing with Lenovo Tech Support.

    I recently received my X 1 carbon Touch and I have tried to understand some - I think - fundamental questions.

    As you know, to win 8, Lenovo doesn't have a custom recovery solution / owner. However, there are a score of Lenovo recovery on the machine. I'm /assuming/ this, somehow, can be used through the default / built-in mechanisms of recovery Windows, but I want to know exactly how without necessarily experiencing myself with it.

    In addition, the computer seems to be equipped with a mechanism of alternative stand-by, fast recovery called Intel or something like that. It is enabled in the BIOS and apparently makes use of a hidden partition of ~ 8 GB on the SSD. However, I find no indication of this mechanism working. There are no settings that I could find in Windows. I changed the BIOS to 'Immediately' setting in order to test the functionality, but put the computer to sleep does not seem to generate behavior that is somehow different from regular sleep.

    In any case, I would like advice or information on my questions above. I understand works the thing of recovery fast in order to decide if I want to recover the partition or not. I would also like to know my options I should never need re - install the delivered factory OS without actually crossed the steps. I would also if someone could tell me the best way to get support from Lenovo.

    / * I called Lenovo technical support with these issues. The person sponsor and those to whom I then was sent to had no idea what I was talking about. They had difficulty understanding terms like partition, standby, sleep, resume, and even software/hardware and implementation. It was suggested that my computer may be Intel and Lenovo not... They seemed to really come from an age of the computer. I asked to speak with someone who would have some basics of the machine that Lenovo delivered to me. I find it reasonable. At that time, I was told to talk to a knowledgeable person, I have to pay a fee. Seriously?

    */

    elfstone,

    To find out how to work the various Windows recovery methods, please see this Microsoft Web site:

    http://Windows.Microsoft.com/en-us/Windows-8/restore-refresh-reset-PC

    The sole purpose of the recovery partition is to work with the "All delete and reinstall Windows" function of Windows 8.  If you have specific questions about the factory recovery that you can't get items from Microsoft, let me know.

    Regarding the plan of hibernation from Intel, as you noted, it takes a partition dedicated to your SSD which cannot be used for other purposes.  The only parameter in Windows is inside the application of arrangements of Lenovo in the power section.  Lenovo calls this function "in waiting for 30 days.  The only thing you can do is it turn on or off.  Here's how works "waiting for 30 days:

    1. When you close the lid, or otherwise put the system into standby mode, the system of standby for 3 hours.

    03:02 hours, the system will wake up and check things like not attached AC, wake-on-LAN not activated, USB device not attached, etc..  If conditions permit, the system will enter wakefulness of 30 days for example deep sleep.  If the system returns in normal mode to 'sleep'.

    3. deep sleep means that the content of the memory is written on the special hibernation on the SSD partition.  It is very similar to the traditional hibernation except what happens faster using methods of BIOS instead of Windows methods.  But this isn't anywhere near as fast as normal sleep/recovery.

    4. the system out of deep sleep when the cover is opened or when you press the power button.

    You have found the BIOS settings, but in fact they are ignored when Lenovo settings (and package of dependence of the Lenovo parameters) are installed on the system.  I don't really know why this design choice has been made.

    Personally, I don't see value in 30 days standby, not enough value to want to give up my expensive SSD 8 GB.  I exclusively use sleep/recovery.  The battery will last several days.  And if I'm going to be away from the computer for a long time, then I'll just stop it.

  • Question about the differences in commands

    Hey guys -.

    I just had a few questions about the differences between orders that seem to perform the same function.  Can you let me know if an order is more preferable to the other and what the difference is.  I would really appreciate it as it I currently practice some INE laboratories and I see that orders change from lab to lab.  Thanks advance!

    1. When you write a static NAT for specific host 1 - is - this important if I understand the 32 subnet?

    EX: static (inside, outside) 1.1.1.1, 2.2.2.2 VS static (inside, outside) 1.1.1.1 2.2.2.2 netmask 255.255.255.255

    2. when I'm setting up a router as a CA server and it is necessary to "export" the key, whatever my method of exporting the key?  If so, in which method call for which solution?

    EX: key export cryptographic rsa ciscox pem URL nvram: cisco VS. exporting key 3des cryptographic ciscox pem 3des rsa terminal cisco

    3. If I have to mark a packet with a DSCP of X value, matter if I use the 'set dscp' VS 'set ip dscp?  If so, what is the difference?

    FXY

    Policy-map X

    class X

    the dscp X value

    VS

    Policy-map X

    class X

    X ip dscp value

    I guess pertaining to 2, if i was speaking in terms of from a cisco router to another cisco router - would terminal be acceptable?

    Yes, the "Import cryptographic key" command can take a url and also from the terminal entrance. In this terminal case wil is much easier.

    --
    Don't stop once you have upgraded your network! Improve the world by lending money to low-income workers:
    http://www.Kiva.org/invitedBy/karsteni

  • Questions about drawText.

    Hi experts,

    I have two questions about drawText:

    (1) we have function to set the font of the text, is it possible to define the font size? or it is based on the current theme?

    (2) where the text is longer than the clipping region, I would like to show «...» "signal at the end of the sentence. Is this possible or do us it manually?

    I tried to use setDrawingStyple (DrawStyle.ELLIPSIS, true) before drawing text, but nothing changes.

    Thank you

    Binh Nguyen

    Hello

    You can set the font size, something like that

    FontFamily ff.;
    FF = FontFamily.forName ("BBMillbankTall");
    smallB = ff.getFont (FontFamily.SCALABLE_FONT, 15) .derive (Font.BOLD);

    As for your second question, you can use the DrawStyle.Ellipses property

    Let me know if this helped you or not.

  • Various Questions about wireless access controller

    Help me please with these fundamental questions about the role of the access (AC) wireless controller.

    Assume that the access controller and Access Point are connected via IP:

    -Wireless frames sent to AP to acre; include the original MAC header (on the way to wireless access)?  If Yes, is there a Cisco AC gets to fill the WLAN and LAN it is plugged (which means that it outputs as ethernet frames as if they were issued by Mobile Stations).

    -Is the AC necessarily the default gateway for mobile stations? I guess not. But it is possible the default gateway?

    The Cisco AC can function as a DHCP relay?

    The AP creates a tunnel to the controller. All IP traffic from the AP to the controller will address the AP source and dest IP to the interface of the Manager of the AP on the controller. The wireless client traffic is encapsulated inside this tunnel. When it hits the controller the CAPWAP is removed leaving the customer's original package to be sent to the local network through the controller.

    The controller should not be the default gateway for wireless clients because it is not a router. Think of it as a device that converted into wired wireless traffic.

    Normally, the controller acts as a proxy DHCP. Once the customer has joined a WLAN, the controller sends the DHCP packets to the DHCP server on behalf of clients such as the IP address of assistance normally configured on the router for cable customers. You can also configure the controller to act as a DHCP server for wireless clients.

Maybe you are looking for