Is this a good practice

v_date varchar2(20);
begin
  select
    to_char(sysdate,'dd_mon_yyyy')
  into
    v_date
  from
    dual; found this here
http://www.orafusion.com/art_excel.htm

I'm not sure that I understand what you're asking?
If you really need a string representation of a date, I'd certainly prefer the simpler
v_date := to_char(sysdate,'dd_mon_yyyy');syntax. But I'm not sure that's your question
- I wouldn't want to name a variable that holds a date representation of a string V_DATE. The name of the variable implies that it should be a date not a string.
- I generally would want to avoid converting a date to a string anywhere other than my presentation layer.
- Depending on your internationalization/ globalization settings, I might want to be explicit about my NLS settings in the TO_CHAR call since MON will return different strings depending on the client's NLS settings.
Justin

Similar Messages

  • Overloaded methods-yes or no & is this a good practice

    say i have two methods with the same name that take in the same parameters and have the same return type. the difference between the two is that one is static while the other is not. Also the methods contain different codes.
    are the methods going to function normally when i use em? also if they do function normally, is this essentially a good practice?
    if code is needed to answer this, please do mention it and i will think of a mini scenario where this can be applied and write a small piece of code for that.
    thanx. help will be appreciated.

    avi.cool wrote:
    duffymo wrote:
    each account has its own password that the user sets when the account is created-this password is declared as a state variable in the class file. One password per account? A bad model, IMO. My on-line banking software associates credentials with me, not my accounts. I see several accounts when I log in, and I don't have to log in individually for each one.
    besides that, theres also a bank password-this is declared and initialized as a static state variable in the class file. some of the operations require the bank password for access while others require account password.Static bank password? I'm very glad this is a throw-away student exercise, because you have no idea what you're doing.hahaaa, tru tru, its for a skool assignment for my first ever programming course. though not a throw away, i putting a lot of work into this :-) i m not actually trying to resolve any security issues here or strengthen account security. basically, I am only trying to exhibit a tiny bit of creativity while showing understanding of course contents. so nothing to stress on :-D i know not very creative but its all i got at this stage.
    i was trying to exhibit the use of overloaded methods in my program by having method to check the password that the user enters to access operations.
    now the ones that require account password, i was thinking of having the password check method as a non-static method since its associated with the object.
    while the ones that need bank password, i wanted to have as static method.
    i wanted both methods to have the same name.You've no idea what you're doing.
    how i solved it,
    i decided on having both methods as static methods. the one that checks account password, takes in two parameters, the account name(object name) and the string to be checkd. the one that checks bank password, takes in only one parameter- the string to be checked.Wrong.i would be really thankful if you could help me rectify my mistake and advice on how i should be doing this. is there a conceptual error? i am a bit confused now.
    Its exactly what I told you.. but now, you just have to come on here and post this :p
    and isn't this sort of like cheating? :P I mean this IS our exam you know... You're basically asking other for the arithmetic and logic lol.

  • Good practices for ECC 6.0 wr.t. internal tables..

    hi,
    i am told that when defining internal tables in ecc 6.0, we shud avoid using OCCURS and WITH HEADER LINE.  and always use work areas..
    is this right ? is this a good practice or a must ?
    i followed this and created an internal table without a header line .then i  am using a collect statement in my programn which fails and says that IT is not with header line !!
    COLLECT ITT.
    what to do ?
    thks

    Yes, that is correct.  SAP is pushing the use of ABAP Objects and you can not use OCCURS or HEADER LINEs in the ABAP OO context.  You should always defined explicitly and a work area.
    Data: itab type table of mara.
    Data: wa like line of itab.
    So then you must keep this in mind when doing any operations on internal tables, like in the case of the COLLECT statement, the syntax would be.
    wa-field1 = '1'.
    wa-field2 = '2'.
    Collect wa into itab.
    Regards,
    Rich Heilman

  • Asa good Practice

    Need good practice advice
    Is this a good practice to control traffic coming from internal to the outside, like allowing only http and https by using access rules on the inside interface ?
    Thanks
    Sent from Cisco Technical Support iPhone App

    Nope, as far as I know there is no document, but by default, the ASA will permit everything from inside going to outside (and the return traffic for the connection), but nothing from outside going to inside.
    Since every company have different security policies, there is no way to create an standard of what is allowed and what not. There are some special RFCs that talk about special IP addresses that need to be blocked, but as far as I know, nothing that Cisco have created.
    Mike

  • Good practice question

    there is a procedure p(i in number, o out number) that checks some data and finishes this way if some criteria are met:
    procedure p(i in number, o out number) is
    select count(*) into v_counter
    from ... ;
    if v_counter > 0 then
      o := 123;
      return;
    end if;
    exception
      when others then
      o := 99999;
    end;is this a good practice to finish this way (ie. return) or some other ways would be better in terms of "good practice" (like raising custom exception and handling it in exception block where out variable could be set up)?
    I would appreciate your suggestions about good practices in scenario above.
    thank you

    943276 wrote:
    there is a procedure p(i in number, o out number) that checks some data and finishes this way if some criteria are met:
    ..snipped..
    is this a good practice to finish this way (ie. return) or some other ways would be better in terms of "good practice" (like raising custom exception and handling it in exception block where out variable could be set up)?I would call using out params as exception/error codes wrong. Never mind good or acceptable practise. It is just plain wrong. As wrong in PL/SQL as it would be wrong in Java, C#, Pascal or another language that implements exceptions.
    Why? Because in such a language an exception is raised to indicate an error condition - an exception to the norm has occurred. If code suppresses the exception, that code is now saying that there is no error condition. It explicitly tells the caller that processing was successful and no exceptions to the norm have occurred.
    Returning the error code as an out parameter is not acceptable - as the "contract" in such a language, between the caller and that code, states that errors are handled as exceptions. That is how the language is designed to be used. That is how the run-time of the language works.
    Violating this fundamental concept in such a language makes absolutely no sense.

  • [b]Is this a good a pricatice????[/b]

    Hi All,
    I am currently working on a new project and I just wanted to make use of DAOs and Singletons.
    I just wanted to make sure that what I am doing correct and that it would not cause any problems in the future.
    Here is what I am doing..
    1. I moved all my data base interactions into just one class (UserDAO.java).
    2. I created a factory class ( UserDAOFactory.java ) to make use of singleton.
    And this is what I am doing in the Factory calss
    public class UserDAOFactory {
         private static userDAO cdDAO;
         public static UserDAO getInstance()
                   //For lazy initialization
                   if(userDAO == null){
                        userDAO = new UserDAO();           
                   return userDAO;
    Is this a good practice??
    Since I made "userDAO" as a static variable just wanted to know how would it affect me in the future and what precautions should I take??
    I will really apprecaite any help, ideas and thoughts in this regards and I am a little new to this
    TIA,
    CK

    If the Singleton requires lots of resources but may
    not be used in a given execution of a program. For
    example let's say you have some kind of advanced
    screen in your text editor. When it opens up it
    takes a while to load, lets say 30 seconds. If you
    do this at startup, you added 30 seconds to startup
    for something that may not even be used.I agree in principle, but I've never seen a Singleton that took that long to start up. It's like Bigfoot: there are stories out there, but I've never seen one.
    The good news is that normally, the 'lazy'
    instantiation and the static initialization generally
    occur at the same time, the first time the
    getInstance method is called.Not very lazy, then.
    However, some environments will load a class before
    it is referenced. Sometimes this can cause fatal
    errors (I have dealt with this.)
    We had singletons
    that ran on an app-server (I know you are not
    supposed to do this.) When the server came up, it
    would load the class. However, the required
    resources were not ready and the singleton wouldn't
    initialize properly. So the 'lazy' version was
    required.Okay, I see. Thank you.
    This still doesn't fix double checked locking. Making it thread safe seems impossible.
    %

  • Is it necessary to use this. on objects or is it just good practice?

    Is it necessary to use this. on objects or is it just good practice?

    warnerja wrote:
    yawmark wrote:
    Is it necessary to use this. on objects or is it just good practice?It's good practice to use it when it's necessary.
    ~No, it's only necessary to use it when it's necessary.
    It's good practice to use it when it's good practice.<****/>
    <****/>
    <****/>
    (the sound of one hand, clapping)

  • Please make this a good experiance for my first post on any board.  READ ME

    Hi all. Well first off, let me start by saying that my whole life I've owned PC's. And I'm not hacker Elliet. But I've gotten to know them pretty well. All the way from Windows 3.1 that came out a long time ago (more than 10 years ago)
    So after a while of hearing about MAC's I decided to start small and get an iPod (since they are so popular here in NYC) and see what apple was about. Well I really saw that Apple had a great product and started asking about their computers. And did plenty of research. And before the new Intel Macs came out, I was going to get a powerbook. But I had a feeling a new laptop was coming out and waited a lil while and sure enough. The Macbook Pro came out. So I went out and did all my research (as to this being the first real purchase of a Apple product and knew about the possible implications of a new first gen Intel chip in a apple product litterally making history) I knew I might become a new beta tester.
    So I started looking on these boards and did 2 weeks worth of hard research to see if the Mac Book Pro (MBP) was for me. And after all the problems i saw (ex: The whine, Right speaker distortion, heat coming from it, white line at bottom of screen, etc) I never saw or read anything about AOL connectivity problems. And I know, I know... alot of you are probably going to gripe and complain about AOL sucking and yada yada yada, but please. Cut me some slack. I actually like AOL. I got on it back in 92 when it came out, and really enjoyed it. And have been on it since. I like chatting on there, and so forth. And I hope you help with my problem instead of telling me to go get "a real ISP" I do have a real ISP, but I like my AOL too.
    So now to my problem....
    I have a Sony Viao 1.8ghz PC with 512 ram, 80 gig hard drive, 10/100 ethernet port. Connected to a Belkin Router (more info below on specs of router) connected to Opt Online Broadband Cable internet with VoIP. I use my macbook pro on the wireless network at my home.
    I got a mac book pro 1.83 ghz running 512 ram on Tiger OSX 10.4.6 I thought that I would wait till a connectivity patch (which I thought would have been 10.4.6) fix the airport problems came out till I posted something. But now that I've tried everything, I'm hoping you open this thread and help me and possibly someone else out there as well. I just d/l'd and installed the 10.4.6 update last night and it did'nt help. So here's more info on my specs. I have a belkin router wireless G 2.4 ghz 54mbs router and I have configured the router with it's firewall, wap2 encryption (as it's the only selection the router has that is available that matches what airport comes with in encryption) I hid my network, and have tried to upgrade the firmware on the router.
    Now Here's the real problem. I can connect to AOL on my MBP when I connect the actual ethernet cable to the MBP's Ethernet port (after I have let the cable modem do a hard reset to configure itself to a mac) I can connect to AOL. But when I disconnect the cable and return it to it's normal config, I can't connect to AOL. I can connect to the internet via safari, and firefox, and even AOL's IM on iChat. I can use Itunes all kinds of things. I can even play warcraft 3 wirelessly on battlenet. But connecting to AOL is a pain in the @$$. It's the only proggy I have that won't allow it to connect. I keep getting the error message "Your AOL connection ended because the AOL host was unable to start a new session. Please try to sign on again." Of course All i see for a while is the spinning black and white circle. And it goes through step 1 and 2, goes straight to 6. Then it goes blank, and BAM! That message pops up. And what's so frustrating is that I've tried every possible configuration on AOL, my router and even system preferences, for it to let connect. I even went into system preferences on the mac and went down the the Internet & Network "Sharing" icon and tried 100 possible combinations on that in the services tab, and firewall tab. I've turned them on, off, tried to make exceptions ETC. And no matter how much I play with the personal file sharing and windows sharing advanced settings and sigh every possible combination to make AOL connect via wirelessly. And nothing. I then even tried to fix the connection under AOL in setup. I've gone through and selected TCP Script, Airport Script. Cable Script, And practically every script I can think of. And nothing. I even went on to AOL and downloaded thier alleged fix to wireless accessing AOL. And nothing. I've been searching all over google, AOL's website, and all over these discussion boards and no mention of anyone even having the same problem. But please, someone out there with their infinit knowledge of how Macs run and having more experience than me, Please make this a good experiance for my first post on any board anywhere reguarding a mac. A MBP at that too.
    An update to this, But amazingly enough, I actually got it to connect to AOL wirelessly for the first time yest. But I have no Idea how i did it. I tried for 3 hours to reproduce it and no luck. I was accessing my router at it's website config screen and somehow I clicked on connect to AOL and while it was trying to connect to it, i reset the router and BAM, it connected to AOL. And I was in shock. I thought I solved it. Somewhere while it was reseting the router it connected and stayed connected to AOL till I signed off and tried to sign back on to see if I could now connect, and guess what. The same dumb message keeps popping up "Your AOL connection ended because the AOL host was unable to start a new session. Please try to sign on again." And all I did was sign off to test it, thinking I had fixed the problem. I tried for 3 hours like I stated above, and BAM got it connected to AOL wirelessly again (somehow while the router was resetting). And thinking I fixed it, or figured out the trick to getting it to work, signed off... I kissed aol goodbye again. And have been unable to reproduce the "glitch". SIGH Can someone out there please help me?
    I think I've made this message as detailed as possible, but please, can someone give me some constructive criticism on how to fix my AOL wireless connectivity problems. Do you know if it's my router? My MBP? AOL software? BTW, I got AOL software version 10.3.7 (Rev 4136.310 US) The latest version I D/L'ed from the AOL website. Anyone know If I should turn on or off some things such as personal fire sharing on, or firewall off or on? ANYTHING. Please. I've put alot of time into writing this post and making it as detailed as possible. And been having this problem for the past 3 weeks that I've had my MBP, and have waited long enough to use my AOL. If you need any further information or suggestions on making AOL work, please let me know. Thank you for taking the time to read all of this, and I really appreciate all of you in the time you take in responding back in trying to help me. I'll be monitoring this post almost hourly. So I hope someone out there can help. Thanks so much again. And help me make this transition to Mac a pleasant one knowing that there is a mac community out there willing to help a new mac client. Again, Many thanks
    In Heath and Wealth,
    Bruce
    Mac Book Pro 1.83 GHZ 512 Ram   Mac OS X (10.4.5)  

    I FIXED IT!
    FYI for the rest of you that might be having the same problem. DON'T USE A BELKIN ROUTER WITH AOL ON A MBP!!!!! It ***** wirelessly. or even hard connected, it won't connect. I went to best buy today, and got a refund on the belkin. I then went to J&R and got a D-Link router. And now it works perfect. I can now chat on AOL yet again, and I tried all the other web browsers I have and messengers, and warcraft 3 online via battlenet. And it works great. I want to give you guys a special thanks for taking time out to answer back to my post. FYI! Belkin wireless G routers do not connect you to AOL wirelessly on MBP's. No matter how much you mess around on them. I highly recommend a D-Link Router. They are easy to set up as long as you READ ( AND I MEAN IT!!!) read the instructions before you set anything up on it. Use the CD that it comes with, and you'll be good to go. Set it up and it works great Almost no dead zones in the house, and now I can use the MBP with all it's cababilities. Thanks people. I really appreciate it.
    P.S. I called belkin last night when i decided to get a refund on my router for today and when i talked to the tech, after puersuading him to tell me the truth. And stop BS'ing me, he broke down and admited that AOL does not work wirelessly on MBP's. So to make a long story short this time, There you go. And one last note, I'm very happy now with my d-link router. I honestly thought it would suck. Not being a brand name router or anything. But amazingly, it works like a brand name item! Again, many thanks all.
    Bruce

  • Is VHDX for data drive considered good practice on a client PC?

    Hi!
    I don't like putting user's data files (documents, etc.) inside the user's Documents directory on C:. Instead I prefer having them on a D: disk, separate from the OS. On the other hand I don't want to create a fixed size partition as I consider it a waste
    of space, especially when everything is on a rather small SSD.
    Therefore, I consider creating a virtual hard disk (VHDX) on my C: drive and making it dynamically expanding. This would allow me to store data on that "separate" disk which is actually an expanding VHDX file on C:. One problem is that for some
    unknown reason Windows 8.1 is not able to auto-attach such disks on startup, but I have seen some workarounds to auto-mount them through tasks.
    My question is the following: Is it considered good practice to put all data files on such a dynamic VHDX instead on a separate partition? Reading the VHDX explanations it looks like this file format is very stable (even in case of power loss) and is widely
    used in virtual servers. Performance should be also very good. Therefore I don't see any reason to not use it for my data drive. Or are there any drawbacks?
    Thanks in advance for any help.
    Best regards,
    Anguel

    Hi,
    Since the VHDX is created on C which should be the system partition, I don’t think it is more safety than separate partition.
    Please consider that once the system corrupted and we have to format the C to reinstall the System, it may be difficult for us to recovery the date. But the separated partition will be easily stayed without changes.
    You can try to shrink the C volume in Disk management to create a new partition.
    Just my thought.  
    Kate Li
    TechNet Community Support

  • My name is Mike. I live in New Zealand. My username is waipukurau1. I downloaded MacBook booster from the prompts. Was this a good idea and good for my MacBook Pro? Please answer.

    My name is Mike. I live in New Zealand. My username is waipukurau1. I downloaded MacBook booster. I write to ask was this a good idea? Was this good and correct for my MacBook Pro. Please answer.

    ashish35,
    No one from Apple here - we're just users like you. All I can tell you is that electronic fail and with MacBook Pros (and most notebooks) the components are so integrated as to make a repair to the logic board practically impossible, hence the high prices charged for repairs.
    Only you can decide if you want to have your computer repaired or put the money towards the purchase of a new computer. If you do decide to purchase a new unit I would suggest that you also purchase the AppleCare Protection Plan which increases your warranty from one year to three years.
    Sorry and good luck,
    Clinton

  • What is a good practice to handle LOV in jdev apps?

    Hi, experts,
    In jdev 11.1.2.3,
    In our projects, there are many LOVs which the value are stored in a common dictionary table, for example in table refcode:
    refcode(id, low_value,high_value,meaning,domain_no),
    Different LOVs will retrieve value pairs(low_value,meaning) , or (high_value,meaning) from refcode table by using domain_no as the filtering criteria.
    In the end user's UI, the code/number field values should be displayed by a meaning word from refcode,
    To accomplish this goal, I will create numberous associations between different tables with refcode,
    and create VOs to have refcode entity view as a secondary entity view.
    I feel some odd in doing so(because so many associations with the same refcode table),
    Is that a good practice to handle LOV this way ?
    Thanks.

    On Fusion Developer's Guide for Oracle Application Development Framework
    10.3 Defining a Base View Object for Use with Lookup Tables
    (http://docs.oracle.com/cd/E37975_01/web.111240/e16182/bclookups.htm#BABIBHIJ)
    10.3.3 How to Define the WHERE Clause of the Lookup View Object Using View Criteria
    There are valuable information and suggestions on implement lookup features, especially by using view criteria
    (the View Criteria and View accessor is one of important and great idea in ADF)
    I think, by using of view criteria, the derivative attribute to display fk information can be implemented in a convinent way without FK associations definition.

  • JTable: RFC on good practice (SQL queries from cell editor)

    I usually add/remove/edit JTable data from an external panel. But in this scenario, my client would like to be able to click on the first column of an empty row and enter a product number. Within the cell editor, I must make an SQL query to the database in order to determine if the product number is valid and if so, use part of the SQL data to populate other cells of the current row (like product description).
    My problem is that this just doesn't seem right! Isn't the cell editor executed on the only Swing thread? Also, if the product number is not valid, I correctly implement the stopCellEditing() method but for some reason, you can still navigate the table (click on any other cell or press the TAB key, etc)... weird!!
    Does anyone have a good practice on how to perform the SQL query in a better place and force a cell to be selected until you enter a valid number or press the CANCEL key?
    I was looking at implementing the TableModelListener's tableChanged(...) method but I'm not sure if that would be a better place either.
    I personally would edit outside of the table, but good practice seems hard when the requirement is to edit from a cell editor!!
    Any suggestion would be greatly appreciated!
    Thanks!

    maybe you could write an input verifier for the column that does the query and rejects invalid entries.
    maybe you could send the query off in a worker thread.
    as far as making the table so you can't select any cells, hmm. not sure.
    you could disable
    .setEnabled(false);the table until the query comes back, something like that.

  • What is good practice for playing multiple video's in a single swf?

    Hello,
    I have build in the past a video wall with video's inside. After building this i came across some problems.
    If you have too many video players loading at once it takes a lot of processing and the tweens in the
    page while loading the video's where not moving fluidly, but more in a stuttering way.
    After lot's of test i found a good working solution.  I imported the flv video's into flash en exported them on the timeline
    as a embedded swf.  Then i externally loaded these swf files and that performed much better.
    Is it even good practice to load multiple video instances at once? I used this time the LoaderMax of greensock but the video's
    only play after it's completely loaded. I would like to find a way to progressive play all video's at.
    Does someone has experience with this?
    Regards,
    Chris.

    How about an XML file which supplies the title for each movie and the location or source of the video to be played?  Simple version below.
    <?xml version="1.0" ?>
    - <playlist>
    <video src="Gfx/video/Alex1.f4v" title="John Deere 330" />
    <video src="Gfx/video/Benni1.f4v" title="Hitachi Z240F" />
    <video src="Gfx/video/Scotti1.f4v" title="Hitachi Z350F" />
    <video src="Gfx/video/Scotti2.f4v" title="Hitachi Z350F" />
    </playlist>
    JR

  • Is it good practice to auto submit forms?

    My users use forms that involve lots of textual matter and sometimes when after working for hours typing into the forms they might move out to some other links there by not submitting the form.
    Is it a good practice to auto save the contents of the form if there has been no inactivity for 5 minutes?
    What are the pros and cons of this approach?
    One problem the above approach could throw is if the user actually types in some data and forgets to close the browser window, the forms keeps on getting submitting unintentionally. This is ok with the user.
    Other alternatives like prompting the user for saving at frequent intervals have been thought of.

    as long as you can determine there's been no activity (simple enough with onblur/onfocus and other events in the fields) and can save the contents in a way that is not a submission, then it's not a bad idea. I wouldn't save after X minutes while the user is doing some entry, cuz it may interrupt what they are doing. Or you could use hidden frames and JS to save things without affecting the user.

  • Is it the good practice?

    Hi,
    With OIM 11g, I try to implement different UI requests for user creation.
    A request for external users and a request for internal users.
    For both of them, UI displays only :
    -Last name
    -First name
    -Birth Date
    For external user request, email is generated by firstname an lastname and prefixed by external.
    For internal user request, email is generated by firstname an lastname and not prefixed.
    To do that, I would like to use the request API "Platform.getService(RequestService.class)" in an event handler to get the request template name and generate the mail according to the template name.
    Can I get the request id in the event handler?
    Is it the good practice?
    Regards,
    Pierre.

    user1214565 wrote:
    thank you very much bbagaria,
    Can I use different datasets for user creation, one for external user, one for internal (I thought I could only modify and use the default dataset: /metadata/iam-features-requestactions/model-data/CreateUserDataSet.xml for all creation request)?
    If yes, how? (I tried to import MyCreateInternalUserDataSet.xml but it didn't work)
    With the default dataset, I expected to create two request templates, one for internal and one for external and get the template name in the a preprocess event handler.
    Regards,
    PierrePierre,
    I would suggest that you just modify the CreateUserDataSet.xml (not rename but import it back at same location in MDS [over-write]) to add additional field for type of user (hidden if you want) and use prepopulate with the type of user internal or external based on the template selection. The prepopulate adapter takes in RequestData object and that has getRequestTemplateName() method. Or just populate the email based on the template selection.
    I haven't tried this but theoretically it seems that you can user this.
    http://download.oracle.com/docs/cd/E17904_01/apirefs.1111/e17334/oracle/iam/request/vo/RequestData.html#getRequestTemplateName__
    HTH,
    BB

Maybe you are looking for

  • Can't copy to mini after desktop drive replacement

    I had my mini set up to sync its Podcasts folder with my desktop PC at work (WinXP). The disk failed on that PC, and after rebuilding my system and installing iTunes, I am unable to copy Podcasts from the new desktop drive to the iPod. I had iTunes 7

  • Syncing checked podcasts

    I've read about a solution for syncing only checked podcasts and manually managing music in iTunes 7 (this was easily accomplished in iTunes 6). However, the first step makes me nervous -- it is to uncheck the "manually manage music" box in the iPod

  • I keep getting the the following responses "400 Bad request" "Your browser sent an invalid request" on various Sites; what is happening?.

    There is really nothing that I can add apart from the fact that I am using an HP TouchSmart 310 which I have had for about two months and the problem started about three weeks ago.

  • Iweb dropped by Apple

    I'm nervious about Apple no longer supporting IWeb. What is the urgency to convert my site to another website builder?

  • Cisco ISE SMS to Guest

    Hi, I would like to check if ISE may support sending of SMS to appliances in the format of <guest mobile number@sms_gateway> to the sms gateway instead of just specifying the sms gateway ip address? I have attached a screen capture of it. Thanks.