Function DECODE

Hello

on 11.2.0.4,.

I have:

SQL > select code, decode (code, 'BD', 'Youth', 'INF', 'adult', 'fff') of genres;

CODE TO DECODE)

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

BD fff

INF fff

POL fff

REC fff

ROM fff

THE fff

Why it cannot transformed comics youth and INF to 'adult '?

Thank you.

Defnitely as Frank said, there could be spaces in the column code at the end your code will not work unless you use the TRIM function

Select the code, decode (Trim (code), "BD", "youth, 'INF', 'adult', ' fff') of genres;

Tags: Database

Similar Questions

  • Operator function DECODE in an INSERT statement

    Hello guys,.
    Keep account I have other tables EMP with only one column ID and want to insert the new line like this:
    DECLARE
    x NUMBER := 1;
    BEGIN
    
    INSERT INTO EMP2 (ID) VALUES (DECODE((x mod 2),0,0,1));
    
    END;
    I got old project, which ran on Oracle 8 and tried to compile on Oracle 11g.
    When you try to run the above statement, I still get ORA-00907 - lack of closing parentheses. It seems to me that it is not allowed to use an operator inside the decode function but I'm sure that it worked on old Oracle 8.
    Does anyone know in which version he collapsed at work?

    Thanks for help

    DECLARE
    NUMBER x: = 1;
    BEGIN

    INSERT INTO VALUES EMP2 (ID) (DECODE (mod (x, 2), 0,0, 1));

    END;

  • Query SQL, function Decode, or case

    Hello

    I am writing a procedure, receiving IN parameter p_user_type_cd

    where p_user_type possible values = "STUDENT", "STAFF", "PROVIDER".

    If p_user_type_cd = "STUDENT", I want to select WHERE user_type_cd = "STUDENT".
    If p_user_type_cd = "ALL", then I would select all records. IE I like to select "STUDENT", "STAFF", "PROVIDER".

    SELECT home_page, access_mode, page_name_cd, user_type_cd
    Of oua_user_page_access
    WHERE user_type_cd = p_user_type_cd
    ORDER BY user_type_cd, home_page;

    Are you pl. change this query to satisfy the condition.

    Thank you
    Murali

    Hi murali,.

    I got your situation and it is easy to write a decode the following

    WHERE user_type_cd = p_user_type_cd

    WHERE user_type_cd = decode (: p_user_type_cd, "STUDENT", "STUDENT", "STAFF", "STAFF", "PROVIDER", "PROVIDER", )
    p_user_type_cd)

    Here you write the above and you will get the data.

    Hope this helps you,

    Best wishes
    Murielle.

  • where can I get a video decoder for win xp media center so I can pick up a signal from TV

    I use to be able to pick up a signal from TV, but since a new reinstall of xp media center I can not get a signal - the message says that I need a video decoder, where can I get this article

    Hi davidwiddecombe,
     

    A codec is a software to compress or decompress a digital media file, such as a song or a video. Windows Media Player and other programs use codecs to play and create digital media files.

    A codec can consist of two components: an encoder and a decoder. The encoder performs the compression function (coding) and the decoder performs the decompression function (decoding). Some codecs include both components and some codecs only one of them.

    Use your favorite search engine and browse for such a program which is used to.
     

    Note: This response contains a reference to third party World Wide Web site. Microsoft provides this information as a convenience to you. Microsoft does not control these sites and no has not tested any software or information found on these sites; Therefore, Microsoft cannot make any approach to quality, security or the ability of a software or information that are there. There are the dangers inherent in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

  • Decode and different types of data

    Hello

    I am using the function decode like this

    SELECT decode(:p_group_by_value, 2,rl.group_code , 3,r.relative_code , 4,r.REG_DATE, null)
    
    

    and there is an error because inconsistent datatypes (4, reg_date).

    is there a way to avoid this error? or a replacement for the decode function?

    Thanks in advance

    Yes, it will not work.

    think about doing it. Use to_char for all.

    so the numbers also convert char using to_char.

    SELECT decode (: p_group_by_value, 2, to_char (rl.group_code), to_char (r.relative_code), 3, 4, to_char (r.REG_DATE), null)

    Hope this will help you...

  • error in pseudo-column "DECODE" can be used within an SQL statement

    Hi gurus,

    Your help is grealty appreciated. Please help me.


    I'm trying to see if I can use the function decode as below and get the error, here below vPlatformfrom value would be QA or MTS


    vDataBase1 :='@'|| Decode (vPlatformfrom, 'STD', 'STD', 'QA', 'QA')


    Before we check function NVL to a single platform, but now we need the database based on the platform is here.

    -vDataBase1 :='@'|| NVL (vPlatformto, 'MTS');

    Error:

    PLS-00204: pseudo-column "DECODE" or function may be used within an SQL statement

    > So, here, instead of the decode function, I can use this case as below:

    Well... you can, but why?  In your CASE, you simply return the same value as the variable.

    You might as well use: vDataBase1: = vPlatformfrom;  It would reach exactly the same thing.

    If vPlatformfrom can be a null value, you will need to decide what database to use or an exception.  I think you're original code (NVL) were probably more correct, but I can't decide which.

    (and don't bother selecting double, it is an unnecessary sql statement which must be analysed, etc..)

  • Help to decode/case

    Hi all

    Can I use function decode/inner carton of a decoding function?

    {code}

    SELECT TO_CHAR)

    () EDMS_STRAGG_WC

    DISTINCT DECODE)

    EQS.attrib_code,

    'PRODUCT_AUTHORIZATION', ' permission: '

    || CASE eqs.qual_value

    WHEN "LIST".

    THEN

    (SELECT lookup_desc

    OF edmsadm.edms_lookup

    WHERE lookup_type =

    'PARTNER_AUTHORIZATION '.

    AND lookup_code =

    EQLS.list_value)

    ON THE OTHER

    (SELECT lookup_desc

    OF edmsadm.edms_lookup

    WHERE lookup_type =

    'PARTNER_AUTHORIZATION '.

    AND lookup_code =

    EQS.qual_value)

    END,

    'PRODUCT_CERTIFICATION', ' Certification: '

    || CASE eqs.qual_value

    WHEN "LIST".

    THEN

    EQLS.list_value

    ON THE OTHER

    EQS.qual_value

    END,

    'PRODUCT_SPECIALIZATION', ' specialization: '

    || (SELECT lookup_desc

    OF edmsadm.edms_lookup

    WHERE lookup_type =

    'PARTNER_SPECIALIZATION '.

    AND lookup_code =

    CASE eqs.qual_value

    WHEN "LIST".

    THEN

    EQLS.list_value

    ON THE OTHER

    EQS.qual_value

    END)))

    program_value

    Of edms_qual_stg EQS edms_qual_list_stg eqls

    WHERE 1 = 1

    AND eqs.qual_id = eqls.qual_id (+)

    AND eqs.req_id = 192647

    AND eqs.disc_line_id = 598631

    AND IN eqs.attrib_code

    ("PRODUCT_CERTIFICATION",

    "PRODUCT_AUTHORIZATION,"

    "PRODUCT_SPECIALIZATION");

    {code}

    Edms_qual_stg:

    AND_OR_CONDITION

    ATTRIBUTE_SOURCE

    ATTRIB_CODE

    CREATED_BY

    CREATED_DT

    DISC_LINE_ID

    END_DT

    EXCLUDE_INCLUDE

    GROUP_AND_OR_CONDITION

    GROUP_CODE

    MAX_VALUE

    MIN_VALUE

    MODIFIED_BY

    MODIFIED_DT

    QUAL_APPL_PRECEDENCE

    QUAL_ID

    QUAL_OPERATOR

    QUAL_TYPE

    QUAL_VALUE

    REQ_ID

    START_DT

    Edms_qual_list_stg:

    ATTRIBUTE_SOURCE

    ATTRIB_CODE

    CREATED_BY

    CREATED_DT

    END_DT

    INCLUDE_AFFILIATES

    INCLUDE_EXCLUDE

    LIST_VALUE

    MODIFIED_BY

    MODIFIED_DT

    PRIMARY_PARTY

    QUAL_ID

    QUAL_LIST_ID

    REFERENCE_ID

    START_DT

    Edms_lookup:

    CREATED_BY

    CREATED_DT

    DISPLAY_SEQ

    EDMS_LOOKUP_ID

    END_DATE

    LOOKUP_CODE

    LOOKUP_DESC

    LOOKUP_REFERENCE

    LOOKUP_TYPE

    MODIFIED_BY

    MODIFIED_DT

    START_DATE

    SELECT eqs.qual_id, eqs.disc_line_id, eqs.req_id, eqs.attrib_code, eqs.qual_value, eqls.list_value

    Of edms_qual_stg EQS edms_qual_list_stg eqls

    WHERE 1 = 1

    AND eqs.qual_id = eqls.qual_id (+)

    AND disc_line_id = 598631

    AND req_id = 192647

    AND IN eqs.attrib_code

    ("PRODUCT_CERTIFICATION",

    "PRODUCT_AUTHORIZATION,"

    "PRODUCT_SPECIALIZATION");

    7509575 598631 192647 PRODUCT_CERTIFICATION LIST

    7509575 598631 192647 PRODUCT_CERTIFICATION SILVER LIST

    7509576 598631 192647 PRODUCT_AUTHORIZATION ATP - JOULEX ESCO PROVIDER LIST

    7509576 598631 192647 PRODUCT_AUTHORIZATION ATP - JOULEX PROVIDER LIST IDENTIFY

    7509577 598631 192647 PRODUCT_SPECIALIZATION LIST ADVANCED SECURITY

    7509577 598631 192647 PRODUCT_SPECIALIZATION LIST EXPRESS FOUNDATION

    Power required:

    Certification: GOLD, SILVER, authorization: - JOULEX PROVIDER ESCO, ATP - ATP JOULEX PROVIDER IDENTIFIER, SPECIALIZATION: SECURITY ADVANCED, EXPRESS FOUNDATION.

    THX

    Rod.

    Hello

    Of course; an expression to DECODE or CASE that returns a NUMBER can be used anywhere a NUMBER is provided, including within another expression to DECODE or CASE.  A DECODE or CASE expression that returns that a DATE can be used almost anywhere, a DATE is scheduled, including within another expression to DECODE or CASE.  An expression to DECODE or CASE that returns that a VARCHAR2 can be used almost anywhere a VARCHAR2 is scheduled.  (There are a few situations where it is absolutely a string literal).

    There are not many situations where you really need to do this, however.  It is generally simpler and more effective to use a simple CASE expression; nesting is seldom necessary.

    I hope that answers your question.
    If not, post a small example of data (CREATE TABLE and only relevant columns, INSERT statements) for all of the tables involved and the results desired from these data.
    Explain, using specific examples, how you get these results from these data.

    Simplify the problem as much as possible, so that it contains only enough to show the part you don't already know how.

    If you really need a user-defined function to show the problem, and then include a CREATE FUNCTION statement to explain what the function.  Yet once again, simplify: If the function is not what you do not understand, post a problem that does not use the service.
    Always say what version of Oracle you are using (for example, 11.2.0.2.0).

    See the FAQ forum: https://forums.oracle.com/message/9362002

  • decode as possible with conditional?

    Hi all

    I use the function decode (thanks to admin1)... is it possible to use a conditional statement such as the following? Instead of only to find codes of activity of 0 to 30, I want to find something that is not 10 or 20

    decode ("Activity Code", ("Activity Code"! = 10 or "Activity Code!")) (= 20), "Code of the activity") "activity Code."

    Select

    decode ("Code of business", 0, 30,"activity Code") "activity Code."
    "Activity Code Desc."
    Regular (Regular) sum,
    Sum (OT) as OT,
    Sum (NonProd) as NonProd,
    Department

    Of
    (...

    ) t

    Group
    decode ("activity Code", 0, 30, "Activity Code" ").

    "Activity Code Desc."
    Department

    ORDER BY
    "Activity code of" CSA

    Thank you

    John

    Which is mentioned above for answers could already give you answers. I'm trying to guess here that you want to group all other groups (not 10,20) into a single group (assume his group 0). If this is the case, you can also do

    decode (code, 10, 10, 20, 20, 0)

  • Decode the query help

    Hello
    I'm new to the development of Oracle.
    Oracle 10 g 2

    My original query:

    SELECT APP, count (*)
    TRANSACTION
    WHERE TYPE in ('ShipmentConfirmPR', 'ShipmentConfirm', 'ShipConfirm')
    and the APP ("SAPPI", "SAPPI", "SAPR3") and INTERVENE ('9320 ', '9332','1208 ')
    GROUP BY APP TYPE
    order of the APP

    the result of this query:
    SAPPI 100
    SAPPI 600
    SAPR3 440

    My requirement
    And I want to have something like output

    LDCS 100
    TSW 600
    PDC 440

    IE.the APPP and STEP combinations. Must return the specified values
    SAPPI & 9320-> LOC (here SAPPI IE APP is the same for both... but it's a coincidence IE APP can be sliced also)
    SAPPI & 9332-> tsw
    SAPR3 & 1208-> pdc

    Options, I tried:
    Query provided by one of the Forum members...
    SELECT THE CHECK BOX
    WHEN APP = "SAPP1" THEN DECODE (step, '9320', 'LSW', '9332', "TSW")
    WHEN APP = "SAPR3" step = '1208' AND 'PDC '.
    END app
    COUNT (*)
    TRANSACTION
    WHERE TYPE in ('ShipmentConfirmPR', 'ShipmentConfirm', 'ShipConfirm')
    AND THE APP ("SAPPI", "SAPPI", "SAPR3")
    AND STEP IN ('9320', '9332', ' 1208')
    GROUP BY APP, STEP
    ORDER OF THE APP.

    EXECUTION PLAN

    | ID | Operation | Name |
    ------------------------------------------------------------------------
    | 0 | SELECT STATEMENT |
    | 1. GROUP SORT BY |
    | 2. INLIST ITERATOR.
    | 3. TABLE ACCESS BY INDEX ROWID | TRANSACTION |
    | 4. INDEX RANGE SCAN | TRANSACTION_IDX |


    The output of the query (as above) must partially match the following query (a particular combination of CLO)

    SELECT count (1)
    TIBCO. TRANSACTION_HISTORY
    WHERE TYPE = 'ShipmentConfirm '.
    and APP in ("SAPPI") and INTERVENE ('9332')


    My Questions:

    1.*There are indexes on all 3 APP passes it's IE, STEP and TYPE *. I don't want a FULL table Scan (as one would use the index). Can change us the query / use of indices, etc. to make it faster?

    2. is the right to approach? Would the use of the concat operator in the function decode work better for my needs?
    Something like

    Select decode (APP |) STEP, 'SAPP9332', 'X') of TRANSACTION_HISTORY where < COND >

    If Yes can you please provide the query?

    3. ANY other approach / request for my requirement.

    Thanks in advance.

    Hello

    user13517642 wrote:
    ... EXECUTION PLAN

    | ID | Operation | Name |
    ------------------------------------------------------------------------
    | 0 | SELECT STATEMENT |
    | 1. GROUP SORT BY |
    | 2. INLIST ITERATOR.
    | 3. TABLE ACCESS BY INDEX ROWID | TRANSACTION |
    | 4. INDEX RANGE SCAN | TRANSACTION_IDX |

    The output of the query (as above) must partially match the following query (a particular combination of CLO)

    SELECT count (1)
    TIBCO. TRANSACTION_HISTORY
    WHERE TYPE = 'ShipmentConfirm '.
    and APP in ("SAPPI") and INTERVENE ('9332')

    My Questions:

    1.*There are indexes on all 3 APP passes it's IE, STEP and TYPE *. I don't want a FULL table Scan (as one would use the index). Can change us the query / use of indices, etc. to make it faster?

    A full table scan might be the fastest way to get results. Do you have any reason to think that it would be faster to go through the index? How selective are the clues? In other words, what is the percentage of rows in the table correspond to each of the values in the WHERE clause?

    2. is the right to approach?

    It depends on what you're trying to do, which is not at all clear to me.

    Would the use of the concat operator in the function decode work better for my needs?
    Something like

    Select decode (APP |) STEP, 'SAPP9332', 'X') of TRANSACTION_HISTORY where

    If you use this approach, look out for the problem Ab asse crevit . For example, if you have these 4 rows and 2 columns:

    str1     str2
    ----     ----
    (NULL)     FOO
    F     OO
    FO     O
    FOO     (NULL)
    

    There are 4 values of distict of str1 (counting NULL) and 4 separate values of str2, str1 but | str2 is the same for each of them. In the above example, it there is no way to know, just by looking at the concatenated string, including str1 and str2 ends begins. Maybe it's not the case for your specific data (for example, if the application is still exactly 5 characters long). otherwise, you may need to add some kind of delimiter, like this

    app || '+' || step
    

    where you know that '+' never occurs in one of these columns.

    3. ANY other approach / request for my requirement.

    CASES, as I mentioned in your previous message:
    Decode the help function
    and as you have used above.

    In this thread, you said "I have to use the decode function. Why? It is a competition of school Etudieeo DECODE is explicitly required? Why you don't want in the best way, what that turns out to be?

    Your WHERE clause:

    AND APP IN ('SAPPI', 'SAPPI', 'SAPR3')
    AND STEP IN ('9320', '9332', '1208')
    

    admits 6 possible combinations of APA and step:

    app     step
    -----     ----
    SAPP1     9320
    SAPP1     9332
    SAPP1     1208
    SAPP3     9320
    SAPP3     9332
    SAPP3     1208
    

    but you are looking for only 3 of these combinations in DECODE it or the expression BOX. (Have 2 copies of 'SAPP1' e list won't do any good, but it does hurt real, either.)
    By the way, is "SAPPI" app with the letter 'I' at the end, or "SAPP1", with the number '1' at the end?

    Published by: Frank Kulash, March 24, 2011 19:44

  • Image-but window Media Player no sound when I play a DVD

    When I try to play DVD, there is picture, but no sound in my laptop.  I received a message from windows media player is COOD1163. May be is one to help me with this.

    Moved from feedback

    Original title: Windows media player.

    Hello

    1. who is the operating system installed on the computer?

    2 - is confined to a specific DVD problem?

    To resolve this problem, you can try to install the video codec and check if the problem persists.

    A codec is a software to compress or decompress a digital media file, such as a song or a video. Windows Media Player and other programs use codecs to play and create digital media files.

    A codec can consist of two components: an encoder and a decoder. The encoder performs the compression function (coding) and the decoder performs the decompression function (decoding). Some codecs include both components and some codecs only one of them.

    More Codec please visit the following link:

    Codecs: Frequently asked questions
    http://Windows.Microsoft.com/en-us/Windows7/codecs-frequently-asked-questions

    If you are using Windows XP - please refer to this article:

    Troubleshooting DVD playback in the Windows Media Player for Windows XP

    http://support.Microsoft.com/kb/306318

    You can search your favorite engine and download and install the codec that is compatible with the operating system.

    Note:  This response contains a reference to third party World Wide Web site. Microsoft provides this information as a convenience to you. Microsoft does not control these sites and no has not tested any software or information found on these sites; Therefore, Microsoft cannot make any approach to quality, security or the ability of a software or information that are there. There are the dangers inherent in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    See also:

    Play a CD or DVD in Windows Media Player

    http://Windows.Microsoft.com/en-in/Windows7/play-a-CD-or-DVD-in-Windows-Media-Player

    Hope this information helps. Get back to us if you have more queries about Windows.

  • im not able to watch movies insofar as it says install dvd set and I do not know how?

    A few days ago I got this laptop, my brother sent and I tried a lot for watching movies via my laptop but it is not working at all. It is said the media player can't play cause decoder compatible DVD is not installed.

    Hello

    1. what operating system is installed on your computer?

    2. what type of file you are trying to play?

    Types of files supported by Windows Media Center

    http://Windows.Microsoft.com/en-us/Windows7/file-types-supported-by-Windows-Media-Center

    If the file type you are trying to play is not listed in the files supported by Windows Media Center, then you may need to update the codecs.

    To resolve this problem you may try to install the video codec and check if the problem persists.

    A codec is a software to compress or decompress a digital media file, such as a song or a video. Windows Media Player and other programs use codecs to play digital media files.

    A codec can consist of two components: an encoder and a decoder. The encoder performs the compression function (coding) and the decoder performs the decompression function (decoding). Some codecs include both components and some codecs only one of them.

    Codecs: Frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows7/codecs-frequently-asked-questions

    See also:

    Playing DVDs in Windows Media Center: frequently asked questions http://windows.microsoft.com/en-US/windows7/Playing-DVDs-in-Windows-Media-Center-frequently-asked-questions

  • WINDOWS MEDIA PLAYER... Missing codecs

    My windows media player use to play DVD & VCD but now missing the codec so can't watch these now. Download the codecs but them uninstalled as apparently do IE, Media Player etc unstable. Is anyone able to help with this please... Thanks :)

    Hello

    Thanks for posting in this forum. I understand that DVD is not playing in Windows media player, installed some codecs but these codecs were Internet Explorer unstable. Let us know if it's the misunderstanding of the question.

    A codec is a software to compress or decompress a digital media file, such as a song or a video. Windows Media Player and other programs use codecs to play and create digital media files.

    A codec can consist of two components: an encoder and a decoder. The encoder performs the compression function (coding) and the decoder performs the decompression function (decoding). Some codecs include both components and some codecs only one of them.

    For example, when you rip a song from an audio CD on your computer, the player uses the default Windows Media Audio codec to compress the song into a compact WMA file. When you play that WMA file (or any WMA file that may be broadcast from a Web site), the player uses the codec Windows Media Audio to decompress the file for music can be played through your speakers.

    For more information, visit the link.

    Plug-ins and Add-ons for Windows Media Player

    http://Windows.Microsoft.com/en-us/Windows/Windows-Media-Player-plug-ins

    WARNING: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    Let us know if this information has helped.

  • No video is coming, but only sound, when I play in windows Media Player 11, os is xp

    No video is coming, but only sound, when I play in windows Media Player 11, os is xp

    Hi james_pl1973,
     
    -Is this type of specific file to some issue or is it the same with all types of files?
    -You get an error message or error code trying to watch the video for files?

    It is likely that the codec is correct / encoder is not installed or is installed but has been corrupted by another program.

    A codec is a software to compress or decompress a digital media file, such as a song or a video. Windows Media Player and other programs use codecs to play and create digital media files.

    A codec can consist of two components: an encoder and a decoder. The encoder performs the compression function (coding) and the decoder performs the decompression function (decoding). Some codecs include both components and some codecs only one of them.

    For example, when you rip a song from an audio CD on your computer, the player uses Windows Media Audio default codec to compress the song into a compact WMA file. When you play that WMA file (or any WMA file that may be broadcast from a Web site), the player uses the Windows Media Audio codec to decompress the file for music can be played through your speakers.

    Follow the steps listed in the article given below to resolve this issue.

    You receive a codec error message or play audio but video does not play when you play media files in Windows Media Player 11

  • Windows Media Player - no audio during video playback

    Windows media player

    I am running Windows XP.  Windows Media Player opens successfully, I have audio but not video.  I tried to reinstall, update etc.  Still nothing.

    Hi jeffwebs,

    1. did you of recent changes on the computer?

    2 when was the last time it was working fine?

    3. you receive an error message during playback of video files?

    4. What if the problem occurs with all video files read using Windows media player?

    It is likely that the codec is correct / encoder is not installed or is installed but has been corrupted by another program.

    A codec is a software to compress or decompress a digital media file, such as a song or a video. Windows Media Player and other programs use codecs to play and create digital media files.

    A codec can consist of two components: an encoder and a decoder. The encoder performs the compression function (coding) and the decoder performs the decompression function (decoding). Some codecs include both components and some codecs only one of them.

    Follow the steps listed in the section below to download codecs for this problem.

    You receive a codec error message or play audio but video does not play when you play media files in Windows Media Player 11

  • videos transferred from mobile phone to the computer, have video but no sound

    I transferred the videos on my mobile phone to my computer via my CD san, I have great videos but absolutely no noise... and yet I have all other sounds on my computer and videos work very well on my cell phone...

    Hello

    Welcome to the community forums of Microsoft and thanks for posting the question.

    1. What is the file format of the files that you transferred?

    2 have you ever try to play videos on a different drive?

    3 you meet problems during playback of video files in Windows Media Player?

    4. do you have the codecs installed on the computer?

    A codec is a software to compress or decompress a digital media file, such as a song or a video. Windows Media Player and other programs use codecs to play and create digital media files.

    A codec can consist of two components: an encoder and a decoder. The encoder performs the compression function (coding) and the decoder performs the decompression function (decoding).

    Some codecs include both components and some codecs only one of them.

    For example, when you rip a song from an audio CD on your computer, the player uses the default Windows Media Audio codec to compress the song into a compact WMA file. When you play that WMA file (or any WMA file that may be broadcast from a Web site), the player uses the codec Windows Media Audio to decompress the file for music can be played through your speakers.

    More Codec please visit the following link:

    Codecs: Frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows7/codecs-frequently-asked-questions

    You can search your favorite engine and download and install the codec that is compatible with the operating system.

    Note:  This response contains a reference to third party World Wide Web site. Microsoft provides this information as a convenience to you. Microsoft does not control these sites and no has not tested any software or information found on these sites; Therefore, Microsoft cannot make any approach to quality, security or the ability of a software or information that are there. There are the dangers inherent in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    Hope this information helps. Please reply with the status so that we can help you.

Maybe you are looking for