Two gradients on one object?

Hi,
Is it possible to apply to Linear gradients on one object? For example one LinearGradient from left to right, another from top to bottom?
kaliif

No, the fill variable accepts only one Paint (Color, LinearGradient, RadialGradient) object.
Now, you can do your own [Custom Paints|http://today.java.net/pub/a/today/2009/07/30/javafx-custom-paints.html]...
Or just use a fast workaround, by superposing two rectangles with transparent gradient:
var group: Group = Group {
  content: [
    Rectangle {
        x: 0 y: 0 width: 100 height: 100
        fill: LinearGradient {
            startX: 0.0, startY: 0.0, endX: 1.0, endY: 0.0
            proportional: true
            stops: [ Stop { offset: 0.0 color: Color.ORANGE },
                     Stop { offset: 1.0 color: Color.RED } ]
  onMousePressed: function (evt: MouseEvent): Void
    insert
      Rectangle {
          x: 0 y: 0 width: 100 height: 100
          fill: LinearGradient {
              startX: 0.0, startY: 0.0, endX: 0.0, endY: 1.0
              proportional: true
              stops: [ Stop { offset: 0.0 color: Color.rgb(0, 0, 0xFF, 0.5) },
                       Stop { offset: 1.0 color: Color.rgb(0, 0xFF, 0, 0.5) } ]
    into group.content;
}(partially re-using Gradient reference's example).

Similar Messages

  • Re: How to create More two class with one object

    haii,
             i have small information How to create More two class with one object,
    bye
    bye
    babu

    Hello
    I assume you want to create multiple instance of your class.
    Assuming that you class is NOT a singleton then simply repeat the CREATE OBJECT statement as many times as you need.
    TYPES: begin of ty_s_class.
    TYPES: instance   TYPE REF TO zcl_myclass.
    TYPES: end of ty_s_class.
    DATA:
      lt_itab      TYPE STANDARD TABLE OF ty_s_class
                     WITH DEFAULT KEY,
      ls_record  TYPE ty_s_class.
      DO 10 TIMES.
        CLEAR: ls_record-instance.
        CREATE OBJECT ls_record-instance.
        APPEND ls_record TO lt_itab.
      ENDDO.
    Regards
      Uwe

  • Selecting more than one object at a time

    Hi guys and girls
    I am trying to select more than one object on my artboard and Shift+clicking on the next one isn't working...
    I am creating an interactive form in Indesign and realised that I have everything on one layer... I have radio buttons for yes/no questions and I wanted to move them to a new layer for ease of selection and editing...
    I have tried selecting one and then Shift+Click on the next but it just moves which one is selected...?
    I even tried creating a new layer and dragging them up to the new layer...no Dice?
    Has anyone any ideas....Please!
    bookie56
    P.S. Just realised that the radio buttons are part of the text? Could this be the reason why I can't move them. Doesn't solve the question about selection though

    Hi AnshulJain19
    OK! sort of guessed that....thanks for coming by.
    I am still on this form and have created multiline text boxes for two of my text boxes.... have checked the positioning of the boxes - but when I write in the box in Adobe Acrobat the text is quite a long way above the line...this is only happening with the multiline boxes.
    Is there a way to export a font colour for the boxes or does this need to be done in Acrobat Reader...?
    I have a standard dark background for my page and that needs a White font...when I fill the form in it is black...
    bookie56

  • Using the content aware move tool, I want to move an item from one image to another image but it does not seem to work. I think I need two layers on one document so how do I do this

    Using the content aware move tool, I want to move an item from one image to another image but it does not seem to work. I think I need two layers on one document so how do I do this

    Good day!
    A simple Paste does not work for you?
    It should place the clipboard content as a new Layer which you can then move around.
    If there is any chance that the elements need to be scaled, rotated etc. I would prefer to place them as Smart Objects (File > Place …) and do the masking that is specific to the images themselves in those.
    Regards,
    Pfaffenbichler

  • In my class i am suppose to do a before and after shot, how do i have two photos on one page

    before and after shots..how do i put two photos on one page?? please help

    Good day!
    As Photoshop is not a page layout application but primarily image editing software the concept of "page" has limited relevance.
    Anyway, you could increase the canvas (Image > Canvas Size) and place the other image (File > Place …) or drag and drop it.
    Or create a new image and place both images. Whether doing so as Embedded or Linked Smart Objects makes more sense depends on your workflow, I guess.
    File > Automate > Contact Sheet II would be another option.
    Regards,
    Pfaffenbichler

  • Control two functions on one button click

    Hello,
    first off, I am relatively new to actionscript 3.0. I was
    wondering if anyone knows how I can control two events on one (the
    same) button click. On click, the first function must jump the user
    to a particular frame label and at the same time trigger a second
    function which is a movie clip on that particular frame. I must
    note that the event listener is attached to an actual Button and
    not a movie clip.
    Any help would be greatly appreciated.

    Thanks for the quick response. I tried out your solution but
    I get the following error...
    TypeError: Error #1009: Cannot access a property or method of
    a null object reference.
    at index_fla::MainTimeline/rev()
    at index_fla::MainTimeline/resources()
    I also tried to create another event listener on Mouse_UP
    ex:
    topNav1_btn.addEventListener(MouseEvent.CLICK, resources);
    topNav1_btn.addEventListener(MouseEvent.MOUSE_UP, rev);
    but I get another strange error...
    ## [Tweener] Error: [object MovieClip] raised an error while
    executing the 'onComplete'handler.
    TypeError: Error #1009: Cannot access a property or method of
    a null object reference.
    at MethodInfo-218()
    at Function/
    http://adobe.com/AS3/2006/builtin::apply()
    at caurina.transitions::Tweener$/updateTweenByIndex()
    at caurina.transitions::Tweener$/updateTweens()
    at caurina.transitions::Tweener$/onEnterFrame()
    ## [Tweener] Error: [object MovieClip] raised an error while
    executing the 'onComplete'handler.
    TypeError: Error #1009: Cannot access a property or method of
    a null object reference.
    at MethodInfo-241()
    at Function/
    http://adobe.com/AS3/2006/builtin::apply()
    at caurina.transitions::Tweener$/updateTweenByIndex()
    at caurina.transitions::Tweener$/updateTweens()
    at caurina.transitions::Tweener$/onEnterFrame()
    any other thoughts? Thanks in advance.

  • Two tables in one? OR convert an entity between two tables OR one identity

    Hello.
    we have two container entities with children, each on different tables. we want to be able to have a container start as either type, have children of either type and be able to be "converted" to the other kind. if they are stored seperately, then you could an item to one and its mirror/shadow of the other kind wouldnt be the same. so if these two things are on one table (and child table) then we have a table that has duplicate columns (ex. nameA, nameB, dateA, dateB, etc). that seems wrong. they for every tense and purpose are different tables, but we need their identities to be unique.. so i can't have an A12 and a B12.. #12 must refer to only one object. i haven't run into an entity like this before. any thoughts? there are lots of options, but which is right? at this point we are choosign one table with duplicate columns. we get the single identity then and we have one list of children, so they are never out of sync. but nowwe have the dupliate columns, which looks silly.

    Hi Nick.
    Hmmm. Shake. It's about 500.00. Wondering if something in Motion would do that, since it is part of FCS.
    I'm just trying to get rid of one frames worth of artifacts. The Photoshop method seems possible but I watched a few AdobeTV videos, and it looks like export would be where all my questions would come up if I go that route.
    I did do an experiment (AKA poor man's fix) just doing a freeze frame and place one frame over the offending frame and that seemed to work pretty well, but if there is any kind of motion, I suspect there would be a 30th second where you might see a slight "jump". I found this to look beeter than the artifacts.
    Jonathan

  • LMS 4.2 - Two notifications for one alarm.

    Currently when a device, say a router goes offline we receive two Active 'Unresponsive' alarms for the router and then when it comes back online we receive two Cleared 'Unresponsive' alarms. All have their own unique Event ID. (shown below)
    I was wondering if anyone could help me to config LMS to send only one Active 'Unresponsive' notification when a device is offline and then one Cleared 'Unresponsive' when the device is back online.
    Here's an example of the Active 'Unresponsive' alarms I receive when I power the router off:
    Notification 1
    EVENT ID               = 0002BI5
    TIME                   = Thu 29-Nov-2012 15:26:32 EST
    STATUS                 = Active
    SEVERITY               = Critical
    MANAGED OBJECT         = router.domain
    MANAGED OBJECT TYPE     = Routers
    EVENT DESCRIPTION       = Unresponsive::Component=172.16.1.254 [router.domain];ComponentClass=IP;ComponentEventCode=1098;InterfaceType=ETHERNETCSMACD;InterfaceMode=NORMAL;InterfaceAdminStatus=UP;Address=172.16.1.254;IPStatus=TIMEDOUT;InterfaceOperStatus=UP;Ne
    CUSTOMER IDENTIFICATION = COMMS TEAM
    CUSTOMER REVISION       = 1
    NOTIFICATION ORIGINATOR = Fault Management Module
    Notification 2
    EVENT ID               = 0002BI6
    TIME                   = Thu 29-Nov-2012 15:26:57 EST
    STATUS                 = Active
    SEVERITY               = Critical
    MANAGED OBJECT         = router.domain
    MANAGED OBJECT TYPE     = Routers
    EVENT DESCRIPTION       = Unresponsive::Component=router.domain;ComponentClass=Router;ComponentEventCode=1101;SystemObjectID=.1.3.6.1.4.1.9.1.569;Description=Cisco IOS Software, C870 Software (C870-ADVIPSERVICESK9-M), Version 12.4(15)T13, RELEASE SOFTWARE (
    CUSTOMER IDENTIFICATION = COMMS TEAM
    CUSTOMER REVISION       = 1
    NOTIFICATION ORIGINATOR = Fault Management Module
    Any suggestions?

    Am I alone with this issue of receiving two notifications for one Unreachable event?

  • How to create two respone for one request

    Hi
    is there any way for us to create two response for one request
    the scenario is as below
    1. user click on update button for particular record in the datatable (
    after its get updated and status get updated = 'UPDATED' it will remove the object from ObjectListDataProvider and clear the tablePhaseListener ).
    2. After it gets updated successfuly , i want to prompt the user with generateExcel function which using response.getOutputStream() using Apache POI.
    How can we combine 1 and 2 together
    Here what i have tried and didnt work
    1. i tried to put the generateExcel function in destroy() method after page is rendered but it gives me Exception
    2. i tried to put the generateExcel function in prerender() method
    but the page will only execute the generateExcel function
    - the data still get updated to the database but it doesnt refresh the page ( i meant the removing object and tablephaseListener.clear() doesnt work )
    3 . i tried to put generateExcel Function after it process the data
    public String updateData()
           //update data
           if(success){
                // prompt user to save excell sheet
            return null;
         }This one also doesnt work and gives the same behaviour as number 2
    The Prompt to save excel sheet still gets popped up
    but the page just doesnt get refreshed
    Thanks
    is anybody know the workaround?

    yea i did set some alert message and clear the table by calling
    provider.removeRow and commitChanges
    it just doesnt reflected in the page that we see
    by actually is already removing the row from the provider
    Thanks

  • I have two problems. One with LTE and another with iCloud terms and conditions.

    I haven't had some of the bigger problems with the 6 as some. But I am having two issues that are getting annoying. One is a pop up every 5-10 minutes that says I cannot use icloud without accepting terms and conditions. However it won't let me accept any. The other is lte is not working on my phone, but is fine with my husbands. Any ideas? Thanks!

    klawson88 wrote:
    I have 3 classes fully defined: GameWindow(extends JFrame...parameter: FileLoader f) NumberOfPlayersDialog (extends JDialog and implements ActionListener...parameter: GameWindow g), PlayerRollDialog(extends JDialog and implements ActionListener...parameters: GameWindow g and NumberOfPlayersDialog n).Word of advice: avoid having your GUI classes implement Listener interfaces as this makes for the creation of [low cohesion classes,|http://en.wikipedia.org/wiki/Cohesion_%28computer_science%29] and this is a "Bad Thing".
    PlayerRollDialog has one button that has an action listener. The user rolls dice for several player objects by pressing the button and the result (which player object has the highest roll) is displayed on the screen. At that point, the button text changes to "Start Game!". What I WANT to do is have a subsequent click on the button close the dialog (to reveal the gameWin underneath). Is it possible to do this? Wouldn't this require two actionPerformed for one event? No, you could do this with a single ActionListener. You will change the button's text and possibly its actionCommand String. Simply query the button for its text and perform the appropriate action based on this.
    How can I implement a second actionPerformed for the same event?Again, you don't need to do this.
    My second problem is that I want to be able to close the entire program if the user exits out of either dialog without performing an action (clicking on the X button). I try specifying EXIT_ON_CLOSE as their default close operations, but it can't compile. It gives me:Yeah, you can't do that. You can give the classes that hold the dialog a state, say exitOK, and initialize it to false. If the proper buttons were pressed you would change exitOK to true. Then after the dialogs have closed you could then use a public getter, isExitOK(), to check this state and then have your GUI behave accordingly. These dialogs are model, correct?

  • If possible, one SoftReference refer to more than one object?

    Hello,
    I want design a cache to keep huge number objects.
    If create a new SoftReference intance for each object,
    will take a lot of space and time.
    So, one SoftReference refer to more than one object, if possible?

    or arrange your objects into buckets somehow and have
    soft references to the bucketsEn, It's a good idea. but I think it doesn't work.
    My problem is:
    There are many caches(cache1, cache2.......), they may cache a lot of same object instance.
    then, I want to keep a object pool, and try to get the equal object from pool before put a object into a cache, if there is an equal object, put the equal object into cache, if there is no equal object, put the target object into pool and cache. the object pool may very huge because there is lot of objects. So it's necessary to release the object in the pool if no cache referes to the object(the caches contain the object may removed). Then SoftReference come into my mind. I try to create a SoftReference for each object in the pool, but soonly, I find there are two problems:
    1, A lot SoftReference instances take much memory.
    2, Need some time to new and reclaim the SoftReference intances.
    I think SoftReference may work fine to cache the object frequently used,
    but the object number can't be too large.
    Now, I don't use object pool. replace starting a thread to scan those cache s and combine the same objects intervally. It can scan about 2000,000 objects one second in my pc. It's ok for my project. But I am looking for some better way still.

  • ATTACHING one object to another - best way?

    Whats the best way to ATTACH one object to another in my 3D composition?
    For example, I have a circular logo which I am spinning and moving in 3D space. I want to attach a lens flare graphic to it at it's right edge.
    I will then animate the brightness of this lens flare for a few seconds.
    How do I make sure BOTH of these graphics are spinning and moving married together x,y,z all the time?
    Thanks,,
    Message was edited by: Bansaw

    Howdy,
    As Certified said, grouping multiple elements and animating the group is ideal, but as you pointed out, you often animate one object and only later decide to include more elements in the animation.
    You can copy and paste the keyframes/behaviors or drag-and-drop the animated channels from one object to the next, but that means having to update a bunch of elements every time you want to make a change. The best solution: the Match Move behavior (sound of trumpets).
    In addition to pixel-based tracking, Match Move can tell one object to simply match the transforms of another. It has two modes: attach and mimic. Attach basically nails the match-moved object to its source. Mimic has the match-moved object perform the same animation as the source. A movie that better shows the distinction can be found here.
    This works for position, scale and rotation transforms. By default, Match Move will set the next object down in the Layers List to be the source. Just drag and drop a new source (if need be) and you're good to go. Keep in mind that the behavior is overriding the targeted transforms channels on the object, so any other animation on those channels will be ignored. This is why doing the group thing is the most flexible.

  • If you registrate one Apple ID for each iPhone/iPad, you'll get 5GB on iCloud for each Apple ID, right? I have two iPhones and one iPad  with the same Apple ID, why can't I get 5 GB fo each of them?

    If you registrate one Apple ID for each iPhone/iPad, you'll get 5GB on iCloud for each Apple ID, right? I have two iPhones and one iPad  with the same Apple ID, why can't I get 5 GB fo each of them?

    Actually, everyone missed one point, when a device is priced, the cost of icloud storage space for that device is also included in it that is why they are able to give you 5gb each for each user ID, in nutshell there is nothing free coming with apple device purchase, it is paid for.  What they are trying by giving only 5gb per user ID irrespective of the number of devices used is pure broadlight looting, they take money from you when you buy each device and give you nothing, This is a case of goods and services bought but not fully deliverd ie apple can be suied for discreminatory treatment towards it's users. I wonder why no one tried this yet in America where everyone sue everyone for petty things..... there is no one to take up this issue? . if tim got any love for the guys who shell out money for the devices his company makes, he should be implimenting this as priority before someone wake up from sleep and sue him.

  • I have a 3 year old MacBook Pro with MAC OSX 10.6.8, iPhoto '09 version 8.1.2 and have downloaded two software programs: one is Aperture 3.2 and the other is Photoshop Elements 9 (which I got from a friend who didn't need it). I am totally happy with the

    I have a 3 year old MacBook Pro with MAC OSX 10.6.8, iPhoto ’09 version 8.1.2 and have downloaded two software programs: one is Aperture 3.2 and the other is Photoshop Elements 9 (which I got from a friend who didn’t need it).
    I am totally happy with the way iPhoto organizes my photos and how I can work with iMovie to create slide shows with music from iTunes, etc.
    I have been shooting mostly high resolution jpegs and I continue to learn more and more about photography, post processing etc. I realize that the small adjustments I can make in iPhoto are good, and are adequate most of the time. However, a have started to experiment with shooting RAW images and would like to go the next step, ie. post processing.I am totally technically challenged and need SIMPLE, INTUITIVE programs and am certainly NOT anywhere ready for Photoshop CS whatever!
    After having these programs sit on my computer, I decided to try to see if I could figure them out. When I opened Aperture, this is what first comes up.
    “Welcome to Aperture 3.2
    Your library needs to be upgraded to work with this version of Aperture. Once upgraded, you will not be able to use this library with previous versions of Aperture.
    Upgrading a library from previous versions of Aperture 3 generally takes a few minutes or less, though larger libraries will take longer. After that, Aperture 3.2 will upgrade your library's thumbnails, but you can use the application during that time.
    Tip: To open a different library, quit Aperture and hold the Option key down while starting Aperture
    Current Library Location:
    Jadzia (home)   -----Pictures------Aperture Library
                                                      QUIT             UPGRADE”
    I have heard horror stories  about moving your entire library to Aperture, ending up with 2 libraries, etc. etc. hence my previous reluctance in attempting Aperture. In addition, many of my photography friends are saying: Go with Lightroom 3.....you’ll love it!
    So here is my dilemma.  I don’t want to mess around with my iPhoto library. All I want to be able to do, is to isolate a few photos, export them to Aperture, Elements, and work on them there, then bring them back into iPhoto.
    Can I do this? Should I forget about Aperture and Elements and look at purchasing yet another program like Lightroom?

    Export those few photos via the File ➙ Export ➙ File Export menu option with Kind = Original to the Desktop.  Then import them into the Aperture library. That would keep one copy in your iPhoto library and another in your Aperture library to edit, etc.
    You can use Photoshop Elements 9 from within iPhoto as your editor of choice. However, if you edit a raw file in iPhoto with PSE9 the resulting edited version must be saved outside the iPhoto Library and imported back in as a new file.  For editing jpegs just do a Save (not a Save As) and it all will be kept within iPhoto. 
    Using Photoshop or Photoshop Elements as Your Editor of Choice in iPhoto.
    1 - select Photoshop or Photoshop Elememts as your editor of choice in iPhoto's General Preference Section's under the "Edit photo:" menu.
    2 - double click on the thumbnail in iPhoto to open it in Photoshop.  When you're finished editing click on the Save button. If you immediately get the JPEG Options window make your selection (Baseline standard seems to be the most compatible jpeg format) and click on the OK button. Your done. 
    3 - however, if you get the navigation window
    that indicates that  PS wants to save it as a PS formatted file.  You'll need to either select JPEG from the menu and save (top image) or click on the desktop in the Navigation window (bottom image) and save it to the desktop for importing as a new photo.
    This method will let iPhoto know that the photo has been editied and will update the thumbnail file to reflect the edit..
    NOTE: With Photoshop Elements  the Saving File preferences should be configured as shown:
    I also suggest the Maximize PSD File Compatabilty be set to Always.  In PSE’s General preference pane set the Color Picker to Apple as shown:
    Note:  to switch between iPhoto and PS or PSE as the editor of choice Control (right)-click on the thumbnail and select either Edit in iPhoto or Edit in External Editor from the contextual menu. If you use iPhoto to edit more than PSE re-select iPhoto in the iPhoto General preference pane. Then iPhoto will be the default editor and you can use the contextual menu to select PSE for your editor when desired.
    OT

  • How to configurate system for two database under one server

    Hi Friends,
    I installed abd created A database by oracle 10GR4 in window 32 bit 2003.
    it works.
    Then i created other B database by DBCA under this server.
    When I shutdown immediate database.
    it works well. But I can not startup mount ot startup A database again,
    I got below message as
    SQL> startup mount;
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist
    SQL> startup;
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist
    SQL> startup;
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist
    From EM, I saw as
    A listen Status Up
    LISTENER
    Oracle Home          
    C:\oracle\product\10.2.0\db_1\BIN
    Location          
    C:\oracle\product\10.2.0\db_1\BIN\network\admin
    BUT agent connect Status          
    Failed
    Details          ORA-12505: TNS:listener does not currently know of SID given in connect descriptor (DBD ERROR: OCIServerAttach)
    A database instance down
    Host     salerpt.net
    Port 1521
    SID SALERPT
    Oracle Home C:\oracle\product\10.2.0\db_1\BIN
    Also I try to connect as
    SQL> connect sys/salel@salerpt as sysdba;
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    Form EM, I saw listen start up.
    Then I stop it. then restart it
    I can saw B db listen and can not see A db listen.
    also
    I saw that other B database works.
    My listen info as***************
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\product\10.2.0\db_1\BIN)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = SALERPT.NET)(PORT = 1521))
    I check physical, two database use one common bin directory .
    I do not have any experience to handle two database under one oracle server.
    How to check and configurate DB server system?
    Thanks for help.
    Edited by: user589812 on Jan 4, 2009 8:17 AM

    Jim,
    Before starting the database A, did you set ORACLE_SID=A from command line? You can run as many instances you want from single server provided you enough memory, processing power. Also try starting your instances usign window services and check and post some lines from alert.log for database A.
    tnsnames.ora entry
    DATABASE_A =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = salesrpt.net)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = DATABASE_A)
    DATABASE_B =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = salesrpt.net)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = DATABASE_B)
      )Regards
    Edited by: OrionNet on Jan 5, 2009 10:55 AM

Maybe you are looking for

  • How many e-mails can i send through Bex Broadcaster?

    Dear Experts I would like to know to how many e-mail address i can send a query through "broadcast e-mail" function with BEx Broadcaster. In other words, what's the maximum number allowed of recipients? I'm using BI version 7.0. Thank you in advance

  • How do I set LPX to send standard MIDI Clock to my keyboard on USB port 1?

    HI guys! I'm trying to sync a Yamaha MOXF to LPX so that the MOXF will be able to receive and follow Start/Stop commands from LPX. I need to set LPX to send standard MIDI Clock to my MOXF on USB port 1. How do I do that? Thanks

  • I-MAC POWER pcG5 10.5.8 I-MOVIE VIDEO COMPRESSION?

    I download photos and video files to i-photo with no problem.  I open i-movie (old version) and drag video file in. If I SHARE to email the video is VERY SMALL.  If i share to quicktime the file is too big for Cox internet service to handle. I don't

  • Facetime on my iPhone and iPad

    Can I use the same sign in name to use Facetime on my iPhone and my iPad 2?

  • Update script taking long time....

    Dear all, I have to update more then 2 mil records in a table but below update script took whole day still did not finish, is there any other way to enhance this update statement. update  customer_table  p   set P.ic_no   = fn_change_iden_no_dirct(p.