Problem with TO_YMINTERVAL('10-00') function.

Hello

I have a problem with the TO_YMINTERVAL('10-00') function.

I have a query that is records for all employees who have completed 10 years in gompany.

There is a function invocked in my XX_EXIT_IND_EMP_DOJ request, including returs the date of membership of employees.

and in my State I compare date of joining with sysdate using TO_YMINTERVAL('10-00')...

This query is perfectly fine, because the Group of different companies, it is fetching all the employees with the applied State

But the problem is that the company Group date format error throughing them.

It is one of the employee is having date of joining in the different dome format.

I want to find the employee.

How can I find this perticular employee.

Thanks in advance.
Bah

Hi well,.

bachan Said:
Hi Guru,

Sounds good.. but I'm not :)

error:
...
You are about to run out of memory. Fetch aborted.

Don't know which application you have running... but try this and let us know if you have any rows returned

SELECT *
  FROM APPS.PER_ALL_PEOPLE_F PAPF
 WHERE TO_DT(EMP_DOJ(PAPF.EMPLOYEE_NUMBER, PAPF.BUSINESS_GROUP_ID),
             'YYYYMMDD',
             DATE '9999-12-31') = DATE '9999-12-31'

All the records returned by the query above are not valid date format.
I guess that emp_DOJ returns a varchar2 and not date since your original query is a failure.
also my version of DB is connected to the database to Oracle 10 g Enterprise Edition Release 10.2.0.3.0.

In addition,
Solomon made a very good point, following the fails.so of query also look out for 29 - FEB thingy

SELECT to_date( '29-feb-2004','DD-MON-YYYY')+to_YMINTERVAL('10-00') FROM dual

Kind regards
Bobin

Tags: Database

Similar Questions

  • Problem with hierarchical query in function PL\SQL

    I have a simple table containing the ID of the parent

    -Create table

    create the table1 table:

    (

    ID NUMBER (12) not null,

    year number 4.

    month NUMBER (2),

    parent_id NUMBER (12)

    );

    -Create/recreate primary, unique and foreign key constraints

    change the table1 table:

    Add primary key constraint PK_TABLE1 (ID);

    change the table1 table:

    Add the foreign key constraint FK_TABLE1_PARENT (PARENT_ID)

    reference TABLE1 (ID);

    data:

    Insert into TABLE1 (id, year, month, parent_id)

    values (5, 2015, 12, 3);

    Insert into TABLE1 (id, year, month, parent_id)

    values (6 (2015), 12, 4);

    Insert into TABLE1 (id, year, month, parent_id)

    values (3 (2015), 11, 1);

    Insert into TABLE1 (id, year, month, parent_id)

    values (4 (2015), 11, 2);

    Insert into TABLE1 (id, year, month, parent_id)

    values (1, 2015, 10, null);

    Insert into TABLE1 (id, year, month, parent_id)

    values (2 (2015), 10, null);

    commit;

    and query

    with h as

    (select t.id, t.year, t.month, CONNECT_BY_ROOT t.id as parent_id from table1 t

    where t.year = 2015 and t.month = 12

    and CONNECT_BY_ROOT t.year = 2015 and CONNECT_BY_ROOT t.month = 10

    connect by prior t.id = t.parent_id)

    Select * from:

    Join table1 t left t.id = h.parent_id;

    It works, but when I put this request in the procedure pl\sql

    create or replace procedure is get_report (p_cur_out on sys_refcursor)

    Start

    Open the p_cur_out for

    with h as

    (select t.id, t.year, t.month, CONNECT_BY_ROOT t.id as parent_id from table1 t

    where t.year = 2015 and t.month = 12

    and CONNECT_BY_ROOT t.year = 2015 and CONNECT_BY_ROOT t.month = 10

    connect by prior t.id = t.parent_id)

    Select * from:

    Join table1 t left t.id = h.parent_id;             

    end get_report;

    /

    They do not compile. And in the fall, with the exception

    Errors of compilation for the PC of the PROCEDURE. GET_REPORT

    [Error: PL/SQL: ORA-00600: internal error code, arguments: [qctcte1], [0], [], [], [], [], [], [], [], [], []]

    Online: 6

    Text: with h as

    Error: PL/SQL: statement ignored

    Online: 6

    Text: with h as

    My version of oracle

    1Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production
    2PL/SQL Release 11.2.0.3.0 - Production
    3CORE Production 11.2.0.3.0
    4AMT for Linux: Version 11.2.0.3.0 - Production
    5NLSRTL Version 11.2.0.3.0 - Production

    What is the problem with my request? Or database? How to solve this problem?

    If you have access to MOS, you can search the reason of it. If you are using left join syntax instead of joining ANSI, owner Oracle procedure compiles and returns the result.

  • Problem with search and deletion functions

    I use Vista Ultimate and in recent weeks, I have problems using the search and delete functions. Whenever I'm trying to look for something in the search window does not allow me to do and goes in a hand. Whenever I delete something, a small window pops up saying deletion... .and this continues forever.

    Hello

    What antivirus/antispyware/security products do you have on machine? Be one
    you have ALWAYS had on this machine, including those you have uninstalled (they leave leftovers
    can cause strange problems).

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

    Follow these steps:

    Start - type this in the search box-> find COMMAND at the top and RIGHT CLICK – RUN AS ADMIN

    Enter this at the command prompt - sfc/scannow

    How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
    generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    Also run CheckDisk, so we cannot exclude as much as possible of the corruption.
    How to run the check disk at startup in Vista
    http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html

    ==========================================

    After the foregoing:

    How to troubleshoot a problem by performing a clean boot in Windows Vista
    http://support.Microsoft.com/kb/929135
    How to troubleshoot performance issues in Windows Vista
    http://support.Microsoft.com/kb/950685

    Optimize the performance of Microsoft Windows Vista
    http://support.Microsoft.com/kb/959062
    To see everything that is in charge of startup - wait a few minutes with nothing to do - then right-click
    Taskbar - the Task Manager process - take a look at stored by - Services - this is a quick way
    reference (if you have a small box at the bottom left - show for all users, then check that).

    How to check and change Vista startup programs
    http://www.Vistax64.com/tutorials/79612-startup-programs-enable-disable.html

    A quick check to see that load method 2 is - using MSCONFIG then put a list of
    those here.
    --------------------------------------------------------------------

    Tools that should help you:

    Process Explorer - free - find out which files, key of registry and other objects processes have opened.
    What DLLs they have loaded and more. This exceptionally effective utility will show you even who has
    each process.
    http://TechNet.Microsoft.com/en-us/Sysinternals/bb896653.aspx

    Autoruns - free - see what programs are configured to start automatically when you start your system
    and you log in. Autoruns also shows you the full list of registry and file locations where applications can
    Configure auto-start settings.
    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902.aspx
    Process Monitor - Free - monitor the system files, registry, process, thread and DLL real-time activity.
    http://TechNet.Microsoft.com/en-us/Sysinternals/bb896645.aspx

    There are many excellent free tools from Sysinternals
    http://TechNet.Microsoft.com/en-us/Sysinternals/default.aspx

    -Free - WhatsInStartUP this utility displays the list of all applications that are loaded automatically
    When Windows starts. For each request, the following information is displayed: Type of startup (registry/Startup folder), Command - Line String, the product name, Version of the file, the name of the company;
    Location in the registry or the file system and more. It allows you to easily disable or remove unwanted
    a program that runs in your Windows startup.
    http://www.NirSoft.NET/utils/what_run_in_startup.html

    There are many excellent free tools to NirSoft
    http://www.NirSoft.NET/utils/index.html

    Window Watcher - free - do you know what is running on your computer? Maybe not. The window
    Watcher says it all, reporting of any window created by running programs, if the window
    is visible or not.
    http://www.KarenWare.com/PowerTools/ptwinwatch.asp

    Many excellent free tools and an excellent newsletter at Karenware
    http://www.KarenWare.com/

    ===========================================

    Vista and Windows 7 updated drivers love then here's how update the most important.

    This is my generic how updates of appropriate driver:

    This utility, it is easy see which versions are loaded:

    -Free - DriverView utility displays the list of all device drivers currently loaded on your system.
    For each driver in the list, additional useful information is displayed: load address of the driver,
    Description, version, product name, company that created the driver and more.
    http://www.NirSoft.NET/utils/DriverView.html

    For drivers, visit manufacturer of emergency system and of the manufacturer of the device that are the most common.
    Control Panel - device - Graphics Manager - note the brand and complete model
    your video card - double - tab of the driver - write version information. Now, click on update
    Driver (this can do nothing as MS is far behind the certification of drivers) - then right-click.
    Uninstall - REBOOT it will refresh the driver stack.

    Repeat this for network - card (NIC), Wifi network, sound, mouse, and keyboard if 3rd party
    with their own software and drivers and all other main drivers that you have.

    Now in the system manufacturer (Dell, HP, Toshiba as examples) site (in a restaurant), peripheral
    Site of the manufacturer (Realtek, Intel, Nvidia, ATI, for example) and get their latest versions. (Look for
    BIOS, Chipset and software updates on the site of the manufacturer of the system here.)

    Download - SAVE - go to where you put them - right click - RUN AD ADMIN - REBOOT after
    each installation.

    Always check in the Device Manager - drivers tab to be sure the version you actually install
    presents itself. This is because some restore drivers before the most recent is installed (sound card drivers
    in particular that) so to install a driver - reboot - check that it is installed and repeat as
    necessary.

    Repeat to the manufacturers - BTW in the DO NOT RUN THEIR SCANNER device - check
    manually by model.

    Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
    http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htm

    How to install a device driver in Vista Device Manager
    http://www.Vistax64.com/tutorials/193584-Device-Manager-install-driver.html

    If you update the drivers manually, then it's a good idea to disable the facilities of driver under Windows
    Updates, that leaves about Windows updates but it will not install the drivers that will be generally
    older and cause problems. If updates offers a new driver and then HIDE it (right click on it), then
    get new manually if you wish.

    How to disable automatic driver Installation in Windows Vista - drivers
    http://www.AddictiveTips.com/Windows-Tips/how-to-disable-automatic-driver-installation-in-Windows-Vista/
    http://TechNet.Microsoft.com/en-us/library/cc730606 (WS.10) .aspx

    Hope these helps.

    Rob - bicycle - Mark Twain said it is good.

  • Problem with the assignment of functions to the keyboard. Help, please!

    Hello

    I'm trying to get the help of the keys on the keyboard to control the navigation of the timeline. I use the code AS3 work the first time, but a little crazy then past and stops working for some reason any. You are supposed to be able to navigate along the timeline with the arrow keys (go back)

    I'm sure there is an easy solution to this problem but I am new to AS3 and it cannot know.

    Any info would be greatly appreciated.

    See you soon.

    Code on the first frame of the timeline (left label)

    Stop()

    stage.addEventListener (KeyboardEvent.KEY_DOWN, f1_KeyDownHandler_3);

    function f1_KeyDownHandler_3(event:KeyboardEvent):void

    {

    switch (event.keyCode)

    {

    Case Keyboard.LEFT:

    {

    gotoAndStop ('Center')

    break;

    }

    Case Keyboard.RIGHT:

    {

    gotoAndStop ('left')

    break;

    }

    }

    }

    Code used on the fifth framework of timeline (Center label)

    Stop()


    stage.addEventListener (KeyboardEvent.KEY_DOWN, f1_KeyDownHandler_2);


    function f1_KeyDownHandler_2(event:KeyboardEvent):void



    {

    switch (event.keyCode)

    {


    Case Keyboard.LEFT:

    {

    gotoAndStop ('left')

    break;

    }

    Case Keyboard.RIGHT:

    {

    gotoAndStop ('right')

    break;

    }

    }

    }

    Code used on frame timeline tenth (good label)

    Stop()


    stage.addEventListener (KeyboardEvent.KEY_DOWN, f1_KeyDownHandler_3);


    function f1_KeyDownHandler_3(event:KeyboardEvent):void


    {

    switch (event.keyCode)

    {


    Case Keyboard.LEFT:

    {

    gotoAndStop ('Center')

    break;

    }

    Case Keyboard.RIGHT:

    {

    gotoAndStop ('left')

    break;

    }

    }

    }

    You must remove the earphone prior actions such as:

    Stop();

    stage.addEventListener (KeyboardEvent.KEY_DOWN, f1_KeyDownHandler_1);

    function f1_KeyDownHandler_1(event:KeyboardEvent):void
    {

    switch (event.keyCode)
    {

    case Keyboard.LEFT:

    {
    stage.removeEventListener (KeyboardEvent.KEY_DOWN, f1_KeyDownHandler_1);
    gotoAndStop ('Center');
       
    break;

    };

    case Keyboard.RIGHT:

    {
    stage.removeEventListener (KeyboardEvent.KEY_DOWN, f1_KeyDownHandler_1);
    gotoAndStop ('left');

    break;

    }

    }
    }

  • Problems with the print screen function

    I have 2 PCs, one with a monitor 17' and the other with a 24 "monitor: I use the screen function print on both the PC with a 17 '' monitor prints normally, but the one with the 24" print screen WIDE, is it possible I can do the PC with the monitor 24 "print normally as the monitor 17" don't?

    Hi David,

    Please contact the Microsoft community. We will be happy to help you with your concern.

    According to the description, screenshot image is large and you want to get it in normal size. Am I wrong?

    Screenshot should give a 1:1 copy of the screen, you can check the zoom value, but it will be set to 1 x when you open it.

    Please send us a screenshot of the screen so that we can check that the size and let you know.

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-security/how-do-i-post-a-screen-shot-on-this-forum/c86de820-C620-401c-A804-9f6337cd3053

    Thank you

  • Problems with the screen capture function

    Very well. I've read the help file on the computer and perform a search on screen captures on the forums, I found the help file.

    My screenshot function does not work. I tried different combinations of buttons according to what each recommended help file and it does not work.

    I worked with other operating systems that allow the user to enter a settings menu and manually configure a key for the screenshots.  Is this possible with vista?  If Yes, where can I find it?  The help files are a little vague.

    I should also mention that I am not the first owner of this laptop, so it is quite possible that the previous owner has changed a setting somewhere along the way.

    Any help is appreciated. Thank you.

    PrintScreen and ALT + PrintScreen are the usual combinations.  Check the manual for your specific computer model to see if using a different combination. See if paste in a program other than Paint made work.
    Boulder computer Maven
    Most Microsoft Valuable Professional

  • Problem with the external PHP function

    I'm working on a registration page. This is the list of instructions that I have that must be met for the registration succeed:

    If (isset($_POST['register']))
    {
    If ($_POST ['username']! = ")
    & & (strlen($_POST['username']) > = 4)
    & & (strlen($_POST['username']) < = 20)
    & & alpha_numeric($_POST['username']) == TRUE
    & & $_POST ['password']! = ''
    & & (strlen($_POST['password']) > = 4)
    & & (strlen($_POST['password']) < = 20)
    & & alpha_numeric($_POST['password']) == TRUE
    & & $_POST ['mot_de_passe2'] == $_POST ['password']
    & & $_POST ['email']! = ''
    & & valid_email($_POST['email']) == TRUE
    & & $_POST ["email2"] == $_POST ['email']
    & & $_POST ['accepts'] == TRUE
    & & checkUnique ('user_data', 'username', $_POST ['username']) = TRUE
    (& & checkUnique ('user_data', 'email', $_POST ['email']) == TRUE)

    External functions "checkUnique' at the bottom just do not seem to work. I can easily sign up with a username or email that already exists in the database.

    This is the code for the external function:

    function checkUnique ($table, $field, $compared)
    {
    $query = mysql_query ("SELECT '.mysql_real_escape_string ($field)'. OF ".mysql_real_escape_string ($table)." WHERE ' ".mysql_real_escape_string ($field)." " ' = "'.mysql_real_escape_string ($compared).'"')";

    If (mysql_num_rows ($Query) == 0)
    {
    Return TRUE;
    }
    on the other
    {
    return FALSE;.
    }
    }

    AngryCloud wrote:
    > External functions "checkUnique' at the bottom just don't seem to work.
    > I'm easily able to sign with a username or an email that is already in the
    > database.

    No, it won't work: you are surrounding the name of the field in quotation marks.
    You should also remove magic quotes if they are enabled. Change of the
    function to this:

    function checkUnique ($table, $field, $compared) {}
    If (magic_quotes_gpc()) {}
    $table = stripslashes ($table);
    $field = stripslashes ($field);
    $compared = stripslashes ($compared);
    }
    $table = mysql_real_escape_string ($table);
    $field = mysql_real_escape_string ($field);
    $compared = mysql_real_escape_string ($compared);

    $result = mysql_query ("SELECT $field FROM $table
    WHERE $field = '$compared' ");
    {if (mysql_num_rows ($result) == 0)}
    Return TRUE;
    }
    else {}
    return FALSE;.
    }
    }

    Of course, you will also need to connect to MySQL and select
    the database before calling the function.

    --
    Adobe Community Expert David Powers
    Author, "The Essential Guide to Dreamweaver CS3" (friends of ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Problem with the CAE policy function

    Hi all
    I'm trying to set the tables of data with the DTV and get "ORA-28112: cannot run the political function" error when I query the table.
    ---------------------------------------------------------------------------------------------------------------------------
    -My diagram is "sales".
    grant Ridge no matter what context of balances;

    -created the context by using this statement
    create or REPLACE context sales_APP_CTX using PKG_SECURITY ACCESSIBLE on a GLOBAL scale;

    -Package specifications
    CREATE or REPLACE PACKAGE PKG_SECURITY
    function vpd_sec_pol_func return varchar2;
    procedure set_sales_app_context (p_user varchar2, p_security_level varchar2);
    end;
    /


    -package body
    CREATE or REPLACE PACKAGE BODY PKG_SECURITY
    ---------------------------------------------------------------------------------------------
    function vpd_sec_pol_func return varchar2 is

    -v_user varchar2 (100): = UPPER (portal.wwctx_api.get_user);
    Start
    If not for the user ("SALES", "ORACLE") then
    return ' State in (select State from app_user_states where user_id = sys_context ("SALES_APP_CTX", "APP_USER"))';
    on the other
    Returns a null value.
    end if;
    end;
    ---------------------------------------------------------------------------------------------
    procedure set_sales_app_context (p_user varchar2, p_security_level varchar2) is
    Start
    DBMS_SESSION.set_Context ('SALES_APP_CTX', 'APP_USER', p_user);
    -dbms_session.set_context ('SALES_APP_CTX', 'SECURITY_LEVEL', p_security_level);
    end;
    ---------------------------------------------------------------------------------------------
    end;
    /

    -The policy has added to the table
    Start
    dbms_rls.add_policy
    (object_schema = > 'SALES')
    object_name = > "SALES_SUMMARY"
    POLICY_NAME = > "SALES_SUMMARY_POLICY"
    function_schema = > 'SALES. "
    policy_function = > ' PKG_SECURITY. VPD_SEC_POL_FUNC',.
    statement_types = > 'SELECT, INSERT, UPDATE, DELETE.
    update_check = > TRUE);
    end;

    -I was able to put into context using sqlplus in running the procedure
    exec ('TEST_USER', 'R') PKG_SECURITY.set_sales_app_context;
    ---------------------------------------------------------------------------------------------------------------------------

    What I am doing wrong?

    Thank you

    Hello

    ORA-28112 only tells you that there is real error messages in a trace file on the database server. I forgot if the trace file is generated in the bdump or udump directory. Post messages.

    The political function should look like this:

    FUNCTION policy_function (object_schema IN VARCHAR2, object_name VARCHAR2)
            RETURN VARCHAR2 
    

    You don't have to use the arguments (I do not usually), but they have to be there. The system will call your function with two arguments of VARCHAR2, so he must accept two arguments of VARCHAR2.

  • Problem with form of Oracle function

    Hi all

    I built various forms in Oracle Financials, but when I click in the menu option this error "is not available to this responsibility functions. Change responsibilities. or contact your system administrator. I can't see the form on the screen.

    Please, I need your help.

    Cordially Mariano. -.

    Hello

    Did you register this custom responsibility a custom form?

    You are able to access other forms customized to the same responsibility? If this is not the case, make sure that your CUSTOM_TOP is defined in the application env file and bounce application services.

    Note: 305792.1 - feature is not available for this error of responsibility after creating and saving a new form
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=305792.1

    Note: 553014.1 - R12 error "Feature is not available this responsibility" when trying to access Custom Form
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=553014.1

    Kind regards
    Hussein

  • I ve using Muse for quite some time now. I love. But when you use the latest version and a new website I have a problem with the FTP export function.

    I've never had this happen before? I ve used Muse for a long time now and it has always worked well.

    Download Muse ONLY php and css files when I use export to the FTP host. No html? It has never happened before.

    If I export to HTML and use my regular FTP program to transfer to the correct host folder it works fine.


    In fact, if I try to update the site of work of Muse, to load on the FTP host, Muse removes html files in the folder and the site no longer works...

    Anyone?

    Please try to check if the exported file includes all of the files, try to export again in a new folder, and then check.

    Thank you

    Sanjit

  • Problem with date comparison

    I have a problem with the TO_YMINTERVAL('10-00') function.


    Thank you
    Bachan.

    Published by: bah on March 23, 2010 14:47

    Please do not double post.
    Problem with TO_YMINTERVAL('10-00') function.

    Stick to your original thread, as others have already tried to help you.
    Start a new thread on the same topic is a waiste of time, as already provided entries are lost to other readers...

  • Problem with function "BD" in TestStand/LabWindows

    Hello, good day.

    I am having some problems with connection BD function I use in a personal function inside a DLL.

    I had a function called GetSensor , which I know it works because I have used and tested in the LabWindows environment.

    Its function is to return the value of an element in my database to give its input parameter, just that.

    My problem comes out when I tried to use this same feature in TestStand, it seems that the BD can only function in the same way of when used of LabWindows because always display a warning message, which is display only when the values of iHdbc are iHdbc is 11 or iHdbc is 10.

    The software that I use are:

    I know that TestStand is the opening of my DLL locks function it always enter, but failed the part then try to connect to the database.

    I think that this could be a problem of compatibility with LabWindows, TestStand, but I can't find where I can change some options to solve this problem.

    Thanks in advance. Any help you could give is welcome.

    I coud not answer before.

    The solution to my problem with the BD connection function should use NI TestStand 2014 (32-bit) instead of the version of NI TestStand 2014 (64-bit) that I used. Just that.

  • Problem with function "BD" in LabWindows/TestStand

    Hello, good day.

    I am having some problems with the connection BDfunction.

    I had a function called GetSensor , which I know it works because I have used and tested in the LabWindows environment.

    Its function is to return the value of an element in my database to give its input parameter, just that.

    My problem is that when I tried to use this same feature in TestStand, it seems that the BD can only function in the same way of when used of LabWindows because always display a warning message, which is display only when the values of iHdbc are iHdbc is 11 or iHdbc is 10.

    The software that I use are:

    Thanks in advance. Any help you could give is welcome.

    The solution to my problem with the BD connection function should use NI TestStand 2014 (32-bit) instead of the version of NI TestStand 2014 (64-bit) that I used. Just that.

  • Problem with the creation and display of intelligent insights

    I have a problem with the intelligent preview function. I use Lightroom 6.4 on Windows 10.

    • When I hit the "Original Photo" icon under the histogram in the develop Module, nothing happens: the remans icon exactly the same and no record Preview Smart is created in the catalog folder.
    • When I create a Smart overview in the library Module (library-> Previews-> generate Smart previews), a Preview Smart folder is created in the catalog folder, BUT , in the module development, l ' icon below the histogram says still 'Original Photo': it does not seem to recognize that a smart preview is available.

    Any idea?

    Rob.

    If everything works as you want, so you can leave the open Historgram.

  • Hello! Someone has some problem with the haptic on Macbook 12 "2016 function? It does not work on my Mackbook.

    I'm trying to figure if someone has my problem with the haptic on Macbook 12 "2016 function. The option is checked in the preferences system, but it does not work.

    Thank you

    Hello luigi10m,

    Thanks for posting on the Community Support from Apple. From your post, it looks like your haptic feedback does not work when you click using your trackpad and the setting is enabled. I know that this is a great feature and it is important to make it work. I'll be happy to help you.

    First of all, I would like to assure you that in system preferences > Trackpad > clicking silencer is not checked, that might help. In addition, it would be useful to reset the settings of the SCM. You can find instructions here: reset the management system (SCM) controller on your Mac - Apple Support

    I'll also include those for you here:

    1. Stop the Mac.
    2. Plug the MagSafe or USB - C adapter to a power source and to your Mac.
    3. Use the built-in keyboard, press shift-control-Option on the left side of the keyboard, then press the power button at the same time.
    4. All the keys to unlock, then press the power button to turn on your Mac

    Take care!

Maybe you are looking for