change all the user session

Hello..

I wanted to change constantly throughout the user session, so that all users the date and time in "' DD/MM/YYYY HH24:MI:SS
so I did the following AS SYSDBA

ALTER session set nls_date_format = "DD/MM/YYYY HH24:MI:SS";

but whn the other user
Select sysdate double

they still get the date in the format "DD/MM/YYYY '...
their session was' altered nt...

any idea to make it permanent for the whole session...

Hello
You can change all the time as follows:

Step 1: Change your pfile (settings file) file by adding the line:

NLS_DATE_FORMAT = "DD/MM/YYYY HH24:MI:SS.

Step 2: Bounce your database (close and restart).

SQL > shutdown immediate
The database is closed.
The database is dismounted.
ORACLE instance stops.
SQL > startup
ORACLE instance started.

Total System Global Area 289406976 bytes
Bytes of size 1248600 fixed
117441192 variable size bytes
167772160 of database buffers bytes
Redo buffers 2945024 bytes
Mounted database.
Open database.
SQL > alter session set nls_date_format = "DD/MM/YYYY HH24:MI:SS";

Modified session.

SQL > select sysdate to double;

SYSDATE
-------------------
22/02/2011-16:08:23

It will be useful.

Best regards

Rafi.
http://rafioracledba.blogspot.com/

Tags: Database

Similar Questions

  • Changing all the semantic VARCHAR2 length in BYTE to CHAR columns

    Hello

    our database is to use character set AL32UTF8, i.e. multibyte.

    All our VARCHAR2 columns have been specified as VARCHAR (xxx) semantic unspecified length explicit, which makes VARCHAR(xxx BYTE) because NLS_LENGTH_SEMANTICS is set on 'BYTE' (default Oracle).

    I wonder now if it would cause problems to enter and execute the ALTER TABLE statement to change all the columns of VARCHAR2(xxx BYTE) to VARCHAR2(xxx CHAR), leaving the same xxx. For example, if a VARCHAR2 column (100 BYTE) would be amended to be VARCHAR2(100 CHAR).

    If I am not entirely mistaken, - on the contrary - it would make the columns longer, not shorter; I expect to not get errors on the values of existing records being too long to change the specifications of the column in this way (as it may happen when the shortening of a VARCHAR column, for example, of varchar (10) to varchar (5)). So I think the ALTER TABLE statements should go without problem.

    I would also change NLS_LENGTH_SEMANTICS to TANK.

    Are there problems or consequences I might meet when I do this? I'm not worried about the implications for code enforcement external or such, but simply the integrity / performance / etc on the database level.

    It is a 11.2.0.x of Oracle database.

    Thank you

    MSA

    You can make this change to your drawings, but not for Oracle schemas or third party. It would usually not be supported.

    You will not get the errors associated with the data in the table. However, you can encounter errors due to:

    1 index of issues of key length - the maximum length of an index key in bytes (based on the column definitions, no real content column) is limited to about 70% of the size of the block of the tablespace containing the index. If you try to do a column belonging to a larger index key by applying the semantics of length in characters, you get an error if the change causes the index key limit.

    2. some columns cannot be changed. This includes, but may not be limited to, the columns that are referenced by expressions of virtual column and the functional index expressions, columns that have indexes defined on them, and columns field belonging to a partitioning key.

    3. you can not change the columns that store attributes of the type defined by the user in this way. You must change the definition of type instead.

    Also, do not change NLS_LENGTH_SEMANTICS initialization file. Include the keyword CHAR in your scripts or ALTER SESSION SET NLS_LENGTH_SEMANTICS = CHAR in these scripts. Value of the initialization file will affect all the scripts for Oracle products and third-party and can create tables with the semantics of unexpected length. Therefore, for compatibility reasons, this parameter in init.ora/spfile parameters is not recommended.

    Thank you

    Sergiusz

    Post edited by: Sergiusz Wolicki (Oracle)

  • My background changes all the time. How can I get it stays the same?

    The background on my laptop changes all the time. I am constantly going to the control panel and change = ing it and invited her to "Save Changes". This never happens. Can someone tell me why this is happening?

    Hi karey204.

    Office operating system preferences and settings, such as the desktop wallpaper, sounds, themes and screensavers can not be saved if the user account is damaged. Create a new user account to solve the problem.

    Note: If my post answered your question, please mark it as an "accepted Solution".

  • How to list all the users on the Windows 8 Pro welcome screen

    I work for a small company based in the House of my boss of IT services. Because he runs the company, all the computers in the House are on a domain Active Directory (ease of management and control). Because he runs the company from his home, several of these computers are tablets/touch screens for his children, all upgraded to Windows 8 Pro.

    Currently, the default behavior of Windows 8 at startup is to display the Welcome screen showing the last user who opened a session with an option to switch to another user. If "Other user" is selected, a complete login prompt appears requesting a user name and password. This is standard fair for Windows 8, especially on a domain.
    He wants to do me is to find a way to allow a style of Windows XP (workgroup) Welcome screen displaying all the available avatars with user accounts, allowing so a child to click easily their user account and enter a picture password without ever seeing the on-screen keyboard.
    To rephrase: we want the Windows 8 Pro welcome screen to list all the (or specific, if possible) allowing anyone of you users connect to the computer without entering a user name and only enter a password (or picture password).
    I searched the web carefully and it seems that Microsoft can have deprecated this feature in an update of Windows 7 - many people shouting right lose their old welcome screen after an update. I read in the case of registry (removal of corrupt profiles and .default) hacks, security policy settings (interactive logon: do not display last user name = disabled), account policy (control userpasswords2 > uncheck: users must enter a password...) and a few other suggestions that had mixed results, which none apply to the present case , either because the settings are already in place, or because they are not available due to being on a domain.
    I'm open to exploration of any kind of registry or 3rd party software hacks that can provide this functionality. Win8 default behavior is absolutely horrible for tablets - it should be easy for multiple users to connect to a device without using a screen keyboard to enter their username and password. WIN8 is halfway there with passwords of photo, but we still have to enter a user name for all, but the user recently.
    Thanks in advance!

    Hi Jayce Nornin,

    Please be informed that he has no option to list all the users on the Windows 8 Pro welcome screen.

     

    It will be useful. If you have any other questions, feel free to let us know. We will be happy to help you.

    Thank you.

  • undo the groups for changes in the user interface

    Hello guys,.

    Is it possible to use groups of cancellation to make the changes that the user creates in Panel by me?

    Let's suppose I have create a window Panel / were the user can fill some EditText, select the items in a TreeView, etc.. Is it possible that I can use cancel groups for this change?

    Thank you

    Francine

    ScriptUI does not provide this feature natively.

    But you can add several addEventListener() and write all changes to recover, then file txt them.

  • Current version of the data in the database has changed since the user has launched the process of update: tabular

    Hi people

    Version of the apex is 4.2

    Oracle database: 11.2.0.2

    I have created a simple form in a table on a table with the following structure

    {code}

    Name                                                  Null?    Type

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

    TID NOT NULL NUMBER

    TEAM_NAME VARCHAR2 (30)

    EMP_NAME VARCHAR2 (30)

    DATE OF REPORT_DATE

    CATEGORY_NAME VARCHAR2 (30)

    NUMBER OF CATEGORY_HR

    CATEGORY_COMMENT VARCHAR2 (120)

    CREATED_DT                                                     DATE

    CREATED_BY VARCHAR2 (30)

    STATUS VARCHAR2 (1)

    {code}

    In the form of default table is

    {code}

    Select

    TID,

    TID TID_DISPLAY,

    TEAM_NAME,

    EMP_NAME,

    REPORT_DATE,

    CATEGORY_NAME,

    CATEGORY_HR,

    CATEGORY_COMMENT,

    CREATED_DT,

    CREATED_BY

    of ' #OWNER # '. " TIMESHEET.

    {code}

    I wanted to add an additional line inserted in the tabular presentation, that's why I included 'UNION ALL' in the query like this

    {code}

    Union of all the

    Select

    TID, null,

    tid_display null,

    team_name null,

    emp_name null,

    report_date null,

    category_name null,

    category_hr null,

    category_comment null,

    created_dt null,

    created_by null

    of the double

    {code}

    After having done that, I can see a blank line on the form of tables, but each time I fill data in the fields and press the "SUBMIT" button, I get the below error

    Current version of the data in the database has changed since the user has launched the process of update

    Thank you

    Navneet

    Why are you insert an extra line manually in tabular from?  There is a feature to add a line.

    If you want to insert a blank line when the page loads, then create dynamic action, this is a most appropriate feature.

    If you manually insert an extra line so that you have to write the update for this procedure.

    Leave.

  • Currency of the line has changed since the user interface has been made on creating

    Hi all

    I'm ' currency of the line has changed since the user interface has been made. " The key to the planned line was oracle.jbo.Key' error on create action. Use case is simple. He saw table and create a button. When I click the Create button, I get this error. Back button of the browser is never used.

    The strange thing is that I don't get this error when I run my application on your premises. However, after I had it deployed in real development environment, he started up this error and I do not get this error on other pages.

    JDeveloper Version: 11.1.2.2.0 (JSF 2.0)
    Weblogic Version development environment: 11.1.1.6

    Kind regards
    Anil

    Same question: do you have the correct version of the runtime ADF your server?

    Timo

  • To work with the text to the assignment by the cursor of the large fragment of page it is necessary to change all the time down, 'against the judgment", but the page automatically does not start to rise upward, as happens in other browsers. I ask you for

    After the transition to Windows 7, there was a problem with Firefox. To work with the text to the award by the cursor of the large fragment of page it is necessary to change all the time down, 'against the judgment", but the page automatically does not ascend to the top as it was earlier, and like that occurs in other browsers. It is necessary to press the other key "down" which is him very troublesome. Resettlement on an earlier version (8.0) earlier irreproachably working, gave nothing. I ask you to help

    You must activate the module bar (Firefox > Options or view > toolbars;) CTRL + /) or find bar to make Firefox scroll the page while selecting the text (Ctrl + F).

  • I can not open a new tab (empty) I change all the settings. However as I said well can I open a new tab with a link without a link, I can't open a new (empty) tab.

    I can not open a new tab (empty) I change all the settings. However as I said well can I open a new tab with a link without a link, I can't open a new (empty) tab.

    Uninstall the toolbar Ask and it should work again. There is a compatibility issue with the Ask and Firefox toolbar that prevents the opening of new tabs.

    There are a few places to check for the Ask toolbar:

  • I can't seem to connect to my mail, I tried all the user names I can think. where can I get the correct information?

    I can't seem to connect to my mail, I tried all the user names I can think.  where can I get the correct information?

    Sounds like Hotmail you use. Yes?

    If so, repost to Forums Hotmail - Hotmail Sign In IssuesThreads section:

    http://windowslivehelp.com/forums.aspx?ForumID=b782602b-8e7c-40D8-a66b-b44824497a17

  • How to create mailboxes for all the users are in other areas

    Hello
    I have several domains that they are separated from Forrest
    One of these areas installed Exchange server 2010
    Between all the areas I have created as a one-way trust
    How can I use the commands that all the users are in other areas, they connected the box the letters in my field and use the Exchange
    There is a command to create the mailboxes allow users are in my area

    (Get-user |) The value of Enable-mailbox-database)

    But in other areas, users are required to create the linked mailbox

    What is the command?

    Please repost your question in the Group of Discussion Administrative Microsoft Exchange at: http://www.microsoft.com/communities/newsgroups/list/en-us/default.aspx?dg=microsoft.public.exchange.admin&cat=en_us_918744ab-010e-4f16-9665-fe376f2631e4&lang=en&cr=us where the Exchange experts will be more than happy to asist you with your problems.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • All my programs have gone there program default open in Word 2007 how to change all the programs back to defuault there?

    All my programs are passed to the default opening program here as Word 2007 How do I change all the acknowledgement of programs to defuault there? I uninstalled the steps and it made no difference so I reinstalled and opened. Then he did the same as before. How can I get my programs back to default here?
    This problem started as soon as I updated my Windows 7 - 32 bit - please help. :(

    Hello mattyboy1212,

    Thanks for posting on the Microsoft answers Forum.

    Try these steps and see if you can associate the default programs. If they are associated with Word, and then change them to the correct program.

    1. click Start and then click Control Panel.

    2. click on programs link.

    Note: If you see small icons or large icons in the control panel display, you will not see this link. Click on the default programs icon, and then click the link associated with a file type or Protocol with a program . Go to step 4.

    3. click on the link to Open a file in a specific program type always under default programs .

    4. in the set Associations window, scroll down until you see the file extension that you want to change the default for program.

    5. click on the extension of the file to select it, once you have found what you are looking for.

    6. click the button of change... program above the scroll bar.

    The Open with dialog box should appear.

    7. look into options for programs recommended and choose the application you want to open it with the file extension when you double-click on the particular type of the file on your computer.

    Note: Chances are, requests described under the programs recommended will be contain more programs for this type of file, but don't forget to look at the applications under other programs. You may need to click the v to expand the list of these programs.

    Note: Click Browse... to search, through your computer for any program not shown do not want to use.

    8. click OK in the Open with window. Windows 7 is going to update the list of file associations to display the new default program to open this type of file.

    9. click the button close the bottom together associations . You can also close the window of the Control Panel if it is still open.

    10. at this stage, when you double-click on any file with this particular file extension, the program you partner in step 7 will launch and load the particular file.

    Important: Program used to automatically open when these types of files have been launched will again open these types of files. To use a different program, you just need to start the program manually and then browse your computer for the file in particular.

    If please reply back and let us know if know if it helped to solve your problem or if you still need help.

    Sincerely,

    Marilyn
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • Movie Maker grab and changed all the desktop icons for Movie Maker and all isopening Movie Maker

    I have a big problem, I have Windows 7 and I made a film using still photos on my computer now all binding, Movie Maker says that Movie Maker does not support the selected file type, 3 first films went great, but obviously I hit the wrong key, it changed all the icons on my desktop to display the icon of Movie Maker and each icon now opens on seizures to the top of Movie Maker, I tried every troubleshooting and restoration utility, but nothing changes; When I go to Movie Maker hand opens as if she's trying to do something. Can you give me any advice, would be much appreciated I can't do a thing right now.

    VI

    Have you tried to do a system restore
    Safe mode for one hour before the beginning of the question?

    Using Windows 7 or Vista System Restore
    http://www.howtogeek.com/HOWTO/Windows-Vista/using-Windows-Vista-system-restore/

  • Current version of the data in the database has changed since the user initiated the update process.

    Hello

    I get this error message: when I update a table.

    • Current version of the data in the database has changed since the user initiated the update process. version of current line identifier = "4975F66067C6EE412FF51DF46B8C4916" line application version identifier = "31163419BE48C198DE88A34AD12FE4D2".

    I get this message when a process is used to run an update on the same table.

    BEGIN

    RUN IMMEDIATELY "UPDATE CONTRATS_MAINTENANCE SET EMAIL_SENDED = 0 WHERE ID =: 1' WITH THE HELP OF: P27_ID;"

    END;

    There is an automated line (DML) process process on the table on this page.


    I understand that I get this error message because I update the database EMAIL_SENDED in the same table column and tha the automated process line try to update the same table...

    On this page, I want to the column EMAIL_SENDED always has the value 0 (zero). It is a database column

    How to do?

    Thank you for your help.

    Christian

    If you try to make it through a normal form. So in this case email_sended is getting two values one of your FORM and one of your update statement.

    To resolve this problem, you can code in hard EMAIL_SENDED point the value '0' and keep only the database column.

    If the whenver update you will automatically take the value 0.

    Another solution would be to remove this column from your FORM and then update by creating a process after submit.

    BR,

    Patrick

  • I want to change all the adobe cloud programming language (I now use Korean but I want to change all the English program) is my computer OS

    I want to change all the adobe cloud programming language (I now use Korean but I want to change all the English program) is my computer OS

    Hi Parky22317382,

    Please follow the steps mentioned here https://helpx.adobe.com/creative-cloud/help/change-install-language.html

    Let us know if it works!

Maybe you are looking for

  • [Windows 10] Closing lid performs hard stop

    So, I recently broke my computer and after 12 hours of working Windows 10 on it. (Meaning does not go back to Windows 8.1 option)So when I close the lid of my laptop, it performs a hard stop. Look on the forums, I don't have a lot of help. I tried to

  • How can I set up my user name? I found the

    change the password under administration function in the configuration of the router.  So now my username is empty and then I get my password to log in to the router.

  • What's vista osx illegal?

    I just wanted to know if vista osx is leagal or illegal, it makes your computer look like this (open the link to see the photo) vista osx on vista photo you can download vista from different sites. Please answer if it's legal or not, please thank you

  • Crash after 7 pro upgrade to 10. Restarts continually. all lost

    I upgraded to 10 7 pro. Everything was going fine until I got an automatic update. I've tried everything. now I'm back for 7 pro and lost everything! My computer stop, unless you count disconnect. When you turn it on, it continually loads. I got wind

  • Classic BlackBerry how to Auto BCC on classic blackberry?

    Hello I recently upgraed to classic bold9900. When sending emails to the devce I am no more able to Auto BCC myslef and receive messages sent in Outlook for archiving. I have read several articles, but I have not found a simple solution but for the p