OS X.4 Clients didn't update it's date & time when using OS X.5 NTP Server
Yesterday, I posted the problem we are having with the X.4 Clients that do not update their time & Date from the X.5 Leopard Server. We just installed and setup the file sharing part of our Mac OS X Server 10.5 Leopard on a PowerMac G5 and is working fine so far. Now I'm trying to setup the clients to synchronize their time with the server. I followed the instructions in the Network Services Admin paper, including the Enable Network Time Server (NTP) in the General Tab of the Server Admin program and pointing the clients to the network ip address of the server. It doesn't work. Yesterday, I thought that it was because i tried to do it after the start up and they were already synchronized, but today after a cold start today, still nothing happened. Probably it's because the server is not connected to the internet and we are updating the time on the server manually, it is connected to the LAN using a fixed IP Address entered manually. This work for the File Sharing but apparently not for NTP. It is a problem for us cause we have time dependent applications running. Any help will be greatly appreciatted.
Thanks.
Mike -
See this:
http://discussions.apple.com/thread.jspa?messageID=6712727#6712727
Similar Messages
-
Update license at first time when installed SAP ECC 5
Hi Expert
How to update license at first time when installed SAP ECC 5 Unicode System, license expiration period only one month.
Regds.
RahulHello,
SAPKIPYJ63 is PI_BASIS 2005_1_640: patch 0003.
Apparently you have included this support package in the upgrade. But have you installed or upgrade the component PI_BASIS to 2005_1_640 during the IS_SELECT phase? This is required for support package SAPKIPYJ63.
Regards,
Joe -
Hello,
I have a question that I had not found an answer to yet. I would like to use the OS X caching server, and I know that it caches a software update as soon as the first computer downloads it. If an application requires authentication using an Apple ID, and the first computer authenticates and downloads that update, do the rest of the computers have to authenticate as well, even though the update is downloaded from the caching server?
I am looking for a solution in that regard. For the company that I work, I would like a solution for users to be able to download software updates (OS or Application), without having to authenticate with the company Apple ID, for security reasons.
Would anybody be able to help?Yes. You still need to authenticate on the subsequent machines if you are interactively applying the updates. Caching server stores the application data, not the App Store authorization information.
You have some alternatives.
1: If you are using a single "corporate" Apple ID to claim your free apps (iMovie, iPhoto, etc), then you can download them on your master machine and then user ARD, JAMF, or other tool to push the full application packages out to all the clients. They will already be tagged to the Apple ID and since the push is happening in the background, as long as the user is not using the application, they will not know you are updating. Remember, App Store updates are the entire application, not update packages. So pushing the entire .app bundle is effective.
2: If you are looking to distribute purchased apps, you really should look at the VPP (volume purchase plan) from Apple (http://www.apple.com/business/vpp/) (there is also one for education but you mentioned company). This allows you as the organization to purchase the correct number of copies and then control the distribution of the apps to your end users. They can use their own Apple ID to claim the apps but you can reclaim the license should the user leave the organization.
Reid
Apple Consultants Network
Apple Professional Services
Author "Mavericks Server – Foundation Services" :: Exclusively available in Apple's iBooks Store -
I can't update my apps each time it asks for password when entered it goes straight back to update. I don't think I am alone in this. I have tried changing the date, rebooting, switching off and on signing out and nothing works. Does anyone know of a solution or will I have to take it to an apple shop. My misses has no trouble with her updates, they are both on iOS 6. Hope someone can help.
Tried that just said cant connect to iTunes Store which was different.
-
Running BitLocker/MBAM 1.0.1237.1.
About 1 month ago, "Last Contact" date/time listed in MBAM "Enterprise Compliance Report" stopped updating (last updated 1 month ago) for all systems. However, reporting against these exact same systems individually via
"Computer Compliance Report" shows current/correct "Last Contact" date/time (last updated today).
Have tried http://support.microsoft.com/kb/2620269/en-us but no luck.
Hoping someone has experienced this before, fixed, and can share insights.
Thx,
DCLYou may want to look for communication errors under the MBAM node in Event Viewer.
You may also want to review the registry settings discussed under the
Configure Lab Computers for MBAM Evaluation section of this TechNet article:
HKLM\Software\Policies\Microsoft\FVE\MDOPBitLockerManagement\ClientWakeupFrequency
HKLM\Software\Policies\Microsoft\FVE\MDOPBitLockerManagement\StatusReportingFrequency
HKLM\Software\Microsoft\MBAM\NoStartupDelay
Specifically the StatusReportingFrequency
key.
Brandon
MDOP on the Springboard Series on TechNet -
EXIT_SAPMF02K_001: Update customer on the time when vendor adress data chan
Hello,
I want to update the adress data of a assign customer, if someone changed adress data in vendor master.
For this proposal I use the exit: EXIT_SAPMF02K_001
But my issue is now: Where can I get the temp data. Means where in which structure can I see the new data.
In the exit itself I have I_lfa1 and some other importing parameters, but this structure dont't have the new data.
Does anyone have an idea?
Thanks in advance,
MichaelHI,
Since the user exit was not implemented, i cant debug and say the exact answer, but looks like you can see in I_LFA1 only.
*"*"Lokale Schnittstelle:
*" IMPORTING
*" VALUE(I_LFA1) LIKE LFA1 STRUCTURE LFA1
*" VALUE(I_LFB1) LIKE LFB1 STRUCTURE LFB1
*" VALUE(I_LFM1) LIKE LFM1 STRUCTURE LFM1
*" VALUE(I_ADDRHANDLE) LIKE ADDR1_SEL-ADDRHANDLE
*" OPTIONAL
*" TABLES
*" T_LFBK STRUCTURE LFBK OPTIONAL
*" T_LFB5 STRUCTURE LFB5 OPTIONAL
*" T_LFZA STRUCTURE LFZA OPTIONAL
*" T_LFBW STRUCTURE LFBW OPTIONAL
*" T_LFAS STRUCTURE LFAS OPTIONAL
*" T_LFAT STRUCTURE LFAT OPTIONAL
*" T_LFLR STRUCTURE LFLR OPTIONAL
*" T_LFM2 STRUCTURE LFM2 OPTIONAL
*" T_WYT1 STRUCTURE WYT1 OPTIONAL
*" T_WYT1T STRUCTURE WYT1T OPTIONAL
*" T_WYT3 STRUCTURE WYT3 OPTIONAL -
Hi Everyone,
i am facing one problem ...
when i am updating an SharePoint List item, it is throwing above error....
This is my code......
try
tbl = getListDateTable("NCR");
DataTable dt = tbl;
oWebsite = mysite.OpenWeb();
oList = oWebsite.Lists["NCR"];
SPListItem itemToUpdate = null;
foreach (SPListItem listItem in oList.Items)
listItem.Update();
workOrderID = Convert.ToInt32(txtTitle.Text);
itemToUpdate = listItem;
//SPListItem itemToUpdate = oList.GetItemById(workOrderID);
//itemToUpdate.Fields["Title"].ReadOnlyField = false;
//string str = ddlStatus.SelectedValue;
itemToUpdate["Title"] = txtTitle.Text;
itemToUpdate["JobNumber"] = txtJobNumber.Text;
itemToUpdate["PartNumber"] = txtPartNumber.Text;
itemToUpdate["PartDescription"] = txtPartDescription.Text;
//itemToUpdate["RequiredBy"] = txtRequiredBy.Text;
itemToUpdate["ReportedBy"] = txtReportedBy.Text;
itemToUpdate["WrittenBy"] = txtWrittenBy.Text;
//itemToUpdate["DateOpened"] = txtDateOpened.SelectedDate;
//itemToUpdate["DateClosed"] = txtDateClosed.SelectedDate;
itemToUpdate.Update();
oList.Update();
// bind();
catch (Exception ex)
throw ex;
Thanks
viswanathHi Viswanath,
If you are using People/User Type Field Column then use below code methord
SPUser user = web.EnsureUser(loginName);
item["UserTypeFieldName"] = user;
Lookup Type Field Column then use below code methord
public static SPFieldLookupValue GetLookupFieldFromValue(string lookupValue,string lookupSourceColumn, SPList lookupSourceList)
SPFieldLookupValue value = null;
SPQuery query = new SPQuery();
query.Query = "<Where><Eq><FieldRef Name='" + lookupSourceColumn + "'/><Value Type='Text'>" + lookupValue + "</Value></Eq></Where>";
SPListItemCollection listItems = lookupSourceList.GetItems(query);
if(listItems.Count > 0 )
value = new SPFieldLookupValue(listItems[0].ID,lookupValue);
return value;
item["LookupField"] = GetLookupFieldFromValue(lookupfieldValue, lookupSourceColumn, listName);
Please mark the replies as answers if they help or unmark if not. -
Devtools update causes problems with sudo when used in a script?
I'm a little confused by this one, but I'm not convinced that it's a bug.. yet.
Long story short, I compile packages using the ABS via a script/wrapper which uses devtools. The script is available here: https://github.com/WorMzy/compilepackage
Now, this script is far from perfect, but has worked perfectly well (in various states of completeness) for the past year or so. However, with the recent update of devtools (20120720-1 => 20121013-1), my script fails to execute correctly. After entering the password when prompted (by sudo, at this line: https://github.com/WorMzy/compilepackag … tions#L107), the script terminates unexpectedly.
Downgrading devtools "fixes" this problem, but I'm not sure if this is a bug in devtools, sudo, zsh, my script, or something else.
Here is the full output from the compilation of "arch-install-scripts":
build@sakura[pts/10]:~/builds/devtools$ . ~/.scripts/compilepackage arch-install-scripts
==> Downloading sources
==> arch-install-scripts directory already exist. Replace ? [Y/n]
==> Download arch-install-scripts sources
receiving file list ... done
sent 28 bytes received 70 bytes 39.20 bytes/sec
total size is 656 speedup is 6.69
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
there is nothing to do
==> Building in chroot for [extra] (x86_64)...
==> Creating clean working copy...done
==> Making package: arch-install-scripts 8-1 (Fri Oct 19 23:45:52 BST 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Found arch-install-scripts-8.tar.gz
-> Found arch-install-scripts-8.tar.gz.sig
==> Validating source files with md5sums...
arch-install-scripts-8.tar.gz ... Passed
arch-install-scripts-8.tar.gz.sig ... Passed
==> Verifying source file signatures with gpg...
arch-install-scripts-8.tar.gz ... FAILED (unknown public key 1EB2638FF56C0C53)
==> WARNING: Warnings have occurred while verifying the signatures.
Please make sure you really trust them.
==> Extracting Sources...
-> Extracting arch-install-scripts-8.tar.gz with bsdtar
==> Starting build()...
make: Entering directory `/build/src/arch-install-scripts-8'
GEN arch-chroot
GEN genfstab
GEN pacstrap
make: Leaving directory `/build/src/arch-install-scripts-8'
==> Entering fakeroot environment...
==> Starting package()...
make: Entering directory `/build/src/arch-install-scripts-8'
install -dm755 /build/pkg/usr/bin
install -m755 arch-chroot genfstab pacstrap /build/pkg/usr/bin
install -Dm644 zsh-completion /build/pkg/usr/share/zsh/site-functions/_archinstallscripts
make: Leaving directory `/build/src/arch-install-scripts-8'
==> Tidying install...
-> Purging unwanted files...
-> Compressing man and info pages...
-> Stripping unneeded symbols from binaries and libraries...
==> Creating package...
-> Generating .PKGINFO file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: arch-install-scripts 8-1 (Fri Oct 19 23:45:54 BST 2012)
==> Installing package arch-install-scripts with pacman -U...
loading packages...
resolving dependencies...
looking for inter-conflicts...
Targets (1): arch-install-scripts-8-1
Total Installed Size: 0.03 MiB
Proceed with installation? [Y/n]
(1/1) checking package integrity [######################################################################] 100%
(1/1) loading package files [######################################################################] 100%
(1/1) checking for file conflicts [######################################################################] 100%
(1/1) installing arch-install-scripts [######################################################################] 100%
resolving dependencies...
looking for inter-conflicts...
Targets (5): elfutils-0.155-1 pyalpm-0.5.3-2 python-3.3.0-1 python-pyelftools-0.20-2 namcap-3.2.4-2
Total Installed Size: 99.58 MiB
Proceed with installation? [Y/n]
(5/5) checking package integrity [######################################################################] 100%
(5/5) loading package files [######################################################################] 100%
(5/5) checking for file conflicts [######################################################################] 100%
(1/5) installing python [######################################################################] 100%
Optional dependencies for python
tk: for tkinter
sqlite
(2/5) installing pyalpm [######################################################################] 100%
(3/5) installing elfutils [######################################################################] 100%
(4/5) installing python-pyelftools [######################################################################] 100%
(5/5) installing namcap [######################################################################] 100%
Checking PKGBUILD
Checking arch-install-scripts-8-1-any.pkg.tar.xz
arch-install-scripts W: Dependency bash included but already satisfied
arch-install-scripts W: Dependency included and not needed ('coreutils')
arch-install-scripts W: Dependency included and not needed ('pacman')
arch-install-scripts W: Dependency included and not needed ('util-linux')
==> Compilation complete, installing...
Password:
loading packages...
warning: arch-install-scripts-8-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...
Targets (1): arch-install-scripts-8-1
Total Installed Size: 0.03 MiB
Net Upgrade Size: 0.00 MiB
Proceed with installation? [Y/n] % build@sakura[pts/10]:~/builds/arch-install-scripts$
That "%" is inverted, just like what you get when you run
echo -n "text"
in zsh. Incidentally, here is my .zshrc: https://github.com/WorMzy/Config-files/ … ter/.zshrc, however, the problem persists with a new user with an unconfigured zsh.
Here is my sudoers too:
## sudoers file.
## This file MUST be edited with the 'visudo' command as root.
## Failure to use 'visudo' may result in syntax or file permission errors
## that prevent sudo from running.
## See the sudoers man page for the details on how to write a sudoers file.
## Host alias specification
## Groups of machines. These may include host names (optionally with wildcards),
## IP addresses, network numbers or netgroups.
# Host_Alias WEBSERVERS = www1, www2, www3
## User alias specification
## Groups of users. These may consist of user names, uids, Unix groups,
## or netgroups.
# User_Alias ADMINS = millert, dowdy, mikef
## Cmnd alias specification
## Groups of commands. Often used to group related commands together.
# Cmnd_Alias PROCESSES = /usr/bin/nice, /bin/kill, /usr/bin/renice, \
# /usr/bin/pkill, /usr/bin/top
## Defaults specification
## You may wish to keep some of the following environment variables
## when running commands via sudo.
## Locale settings
# Defaults env_keep += "LANG LANGUAGE LINGUAS LC_* _XKB_CHARSET"
## Run X applications through sudo; HOME is used to find the
## .Xauthority file. Note that other programs use HOME to find
## configuration files and this may lead to privilege escalation!
# Defaults env_keep += "HOME"
## X11 resource path settings
# Defaults env_keep += "XAPPLRESDIR XFILESEARCHPATH XUSERFILESEARCHPATH"
## Desktop path settings
# Defaults env_keep += "QTDIR KDEDIR"
## Allow sudo-run commands to inherit the callers' ConsoleKit session
# Defaults env_keep += "XDG_SESSION_COOKIE"
## Uncomment to enable special input methods. Care should be taken as
## this may allow users to subvert the command being run via sudo.
# Defaults env_keep += "XMODIFIERS GTK_IM_MODULE QT_IM_MODULE QT_IM_SWITCHER"
## Uncomment to enable logging of a command's output, except for
## sudoreplay and reboot. Use sudoreplay to play back logged sessions.
# Defaults log_output
# Defaults!/usr/bin/sudoreplay !log_output
# Defaults!/usr/local/bin/sudoreplay !log_output
# Defaults!/sbin/reboot !log_output
Defaults timestamp_timeout=0,passwd_timeout=0,passprompt="Password:",badpass_message="Incorrect password",editor=/usr/bin/vim:/usr/bin/vi,targetpw
## Runas alias specification
## User privilege specification
root ALL=(ALL) ALL
build sakura=/usr/bin/pacman-color -U *,/usr/bin/pacman-color -Sy,/usr/bin/pacman-color -Syy
build sakura=/usr/bin/pacman -U *
build sakura=NOPASSWD: /usr/bin/extra-x86_64-build,/usr/bin/multilib-build,/usr/sbin/makechrootpkg
## Uncomment to allow members of group wheel to execute any command
%wheel sakura=(ALL) ALL
## Same thing without a password
#%wheel ALL=(ALL) NOPASSWD: /sbin/sdshutdown, /sbin/sdreboot
## Uncomment to allow members of group sudo to execute any command
# %sudo ALL=(ALL) ALL
## Uncomment to allow any user to run sudo if they know the password
## of the user they are running the command as (root by default).
# Defaults targetpw # Ask for the password of the target user
# ALL ALL=(ALL) ALL # WARNING: only use this together with 'Defaults targetpw'
## Read drop-in files from /etc/sudoers.d
## (the '#' here does not indicate a comment)
#includedir /etc/sudoers.d
Further information will be provided on request. Suggestions for improving the script will also be appreciated.
Thanks.Update: It appears that the cause is systemd's nspawn. Disabling it in mkarchroot (have_nspawn=0) resolves the problem.
However, I don't understand why it's causing this behaviour. User input works fine for the sudo password prompt, but then fails for the pacman user prompt? Do they use different input buffers or something? Does that question even make sense?
Anyway, I'll open a bug report on flyspray and upstream about this when I get the chance. -
How to update master pay data in HR using ABAP
Hi,
My requirement is that I need to update the master pay data for all the employees. The pay scale has been revised and so the pay scale needs to be changed. This means that the configuration needs to be done.
Once this config is done, the pay scale master data for all the existing employees also needs to be updated.
Can anyone please tell me where all do I need to go and make the changes? I have got this confrmed that PA0008 (Infotype for Basic Pay) does not have to be changed. So, where else do I need to make changes so that, this change reflects in the existing employees data going forward. The amout of salary needs t be changed.
Does this change requires a change in any infoype data or do we need to change the data of some transaction.
Please help as soon as possible as this is very important.
Regards,
NamrataHi Namrata,
It is not advisable to change te pay data using ABAP coding. It should be done from functional side.
To updat the master pay data just go to PA30, enter the employee number and select the infotype 8 (Basic Pay). Once in change mode you can update the data.
Regards,
Firoz. -
[Solved] glibc-Update-fail and broken system when using custom kernel
I had a similar issue with the glibc-update as described in several threads.
I guess, the reason why I ran into the problem was that I'm using a custom-built kernel. So the kernel modules (drivers etc.) under /lib/modules/custom-kernel/ are owned by no pacman package.
At my system, after upgrating via
# pacman -Syu --ignore glibc
# pacman -Su
The upgrade failed and /lib/modules/ and the files, owned by the glibc-package remained at the still existing directory /lib.
Rebooting the computer in this situation causes a sytem freeze.
Now, here is my sucessful repair, briefly described. Maybe it will help someone:
1. Booting the computer with the Arch Linux net Install image
2. mounting my root partition manually at /mnt
3. performing the following commands:
# cd /mnt
# cp -ar lib/* usr/lib/
# rm -rf lib
# ln -s usr/lib lib
7. removing net install image and rebooting the computer
==> the system works again, but:
# pacman -Su
still produces error messages like:
error: failed to commit transaction (conflicting files)
glibc: /lib exists in filesystem
glibc: /usr/lib/ld-2.16.so exists in filesystem
glibc: /usr/lib/ld-linux.so.2 exists in filesystem
glibc: /usr/lib/libBrokenLocale-2.16.so exists in filesystem
glibc: /usr/lib/libBrokenLocale.so.1 exists in filesystem
Now at the last step I did is, what the wiki is seriosly discouraging from I use --force:
# pacman -f -Su
After that my system was repaired
I think using force at that point is OK, because the files will only be replaced which are already moved to the right location.If you use a custom-built kernel you should really package it up so you can easily avoid this sort of thing just by repackaging.
-
How to update around 12 lac record when using co-related update
Hello Everyone
I have two tables and 14 columns in them are similar, I mean have the same name
Now I want to update 1 column using the records in the other table by using join condition so I wrote a code but as the records are around 12 lac which need to be updated so my code hangs after 25%
UPDATE TABLE A
SET A.COLUMN1=(SELECT B.COLUMN1
FROM TABLEL B
WHERE B.COLUMN2 = A.COLUMN2
AND B.COLUMN3 = A.COLUMN3
AND B.COLUMN4= A.COLUMN4
AND B.COLUMN5 =A. COLUMN5
AND B.COLUMN6 = A.COLUMN6
AND B.COLUMN7=A.COLUMN7
AND B.COLUMN8 = A.COLUMN8
AND B.COLUMN9 = A.COLUMN9
AND B.COLUMN10 = A.COLUMN10
AND B.COLUMN11 = A.COLUMN11
AND B.COLUMN12 = A.COLUMN12
AND B.COLUMN13 = A.COLUMN13
AND A.PLAN_ID = 1000000300
AND B.PLAN_ID = 1000000300)
WHERE COLUMN14= 1000000300
AND COLUMN15=1000000002please suggest a way that the update could be done easily
Edited by: Peeyush on Feb 8, 2011 5:56 AM
Edited by: Peeyush on Feb 8, 2011 5:57 AMYou can rewrite it using a merge statement, to prevent starting that subquery numerous times.
Here is an example that mimics your situation, with two tables containing only 10 rows:
SQL> create table table_a
2 ( column1
3 , column2
4 , column3
5 , column4
6 , column5
7 , column6
8 , column7
9 , column8
10 , column9
11 , column10
12 , column11
13 , column12
14 , column13
15 , column14
16 , column15
17 , plan_id
18 )
19 as
20 select -1
21 , level
22 , 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
23 , 1000000300
24 , case mod(level,2) when 0 then 1000000002 else 1000000000 end
25 , 1000000300
26 from dual
27 connect by level <= 10
28 /
Table created.
SQL> create table table_b
2 as
3 select rownum column1
4 , column2
5 , column3
6 , column4
7 , column5
8 , column6
9 , column7
10 , column8
11 , column9
12 , column10
13 , column11
14 , column12
15 , column13
16 , column14
17 , column15
18 , plan_id
19 from table_a
20 /
Table created.
SQL> select * from table_a
2 /
COLUMN1 COLUMN2 COLUMN3 COLUMN4 COLUMN5 COLUMN6 COLUMN7 COLUMN8 COLUMN9 COLUMN10 COLUMN11 COLUMN12 COLUMN13 COLUMN14 COLUMN15 PLAN_ID
-1 1 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000000 1000000300
-1 2 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000002 1000000300
-1 3 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000000 1000000300
-1 4 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000002 1000000300
-1 5 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000000 1000000300
-1 6 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000002 1000000300
-1 7 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000000 1000000300
-1 8 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000002 1000000300
-1 9 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000000 1000000300
-1 10 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000002 1000000300
10 rows selected.
SQL> alter session set statistics_level = all
2 /
Session altered.
SQL> UPDATE TABLE_a A
2 SET A.COLUMN1=(SELECT B.COLUMN1
3 FROM TABLE_b B
4 WHERE B.COLUMN2 = A.COLUMN2
5 AND B.COLUMN3 = A.COLUMN3
6 AND B.COLUMN4= A.COLUMN4
7 AND B.COLUMN5 =A. COLUMN5
8 AND B.COLUMN6 = A.COLUMN6
9 AND B.COLUMN7=A.COLUMN7
10 AND B.COLUMN8 = A.COLUMN8
11 AND B.COLUMN9 = A.COLUMN9
12 AND B.COLUMN10 = A.COLUMN10
13 AND B.COLUMN11 = A.COLUMN11
14 AND B.COLUMN12 = A.COLUMN12
15 AND B.COLUMN13 = A.COLUMN13
16 AND A.PLAN_ID = 1000000300
17 AND B.PLAN_ID = 1000000300)
18 WHERE COLUMN14= 1000000300
19 AND COLUMN15=1000000002
20 /
5 rows updated.
SQL> select * from table(dbms_xplan.display_cursor(null,null,'allstats last'))
2 /
PLAN_TABLE_OUTPUT
SQL_ID 2xky09vcgyzpr, child number 0
UPDATE TABLE_a A SET A.COLUMN1=(SELECT B.COLUMN1 FROM
TABLE_b B WHERE B.COLUMN2 = A.COLUMN2
AND B.COLUMN3 = A.COLUMN3 AND B.COLUMN4= A.COLUMN4
AND B.COLUMN5 =A. COLUMN5 AND B.COLUMN6 =
A.COLUMN6 AND B.COLUMN7=A.COLUMN7 AND
B.COLUMN8 = A.COLUMN8 AND B.COLUMN9 = A.COLUMN9
AND B.COLUMN10 = A.COLUMN10 AND B.COLUMN11 =
A.COLUMN11 AND B.COLUMN12 = A.COLUMN12
AND B.COLUMN13 = A.COLUMN13 AND A.PLAN_ID = 1000000300
AND B.PLAN_ID = 1000000300) WHERE COLUMN14= 1000000300 AND
COLUMN15=1000000002
Plan hash value: 4173428670
| Id | Operation | Name | Starts | E-Rows | A-Rows | A-Time | Buffers |
| 1 | UPDATE | TABLE_A | 1 | | 0 |00:00:00.01 | 25 |
|* 2 | TABLE ACCESS FULL | TABLE_A | 1 | 5 | 5 |00:00:00.01 | 3 |
|* 3 | FILTER | | 5 | | 5 |00:00:00.01 | 15 |
|* 4 | TABLE ACCESS FULL| TABLE_B | 5 | 1 | 5 |00:00:00.01 | 15 |
Predicate Information (identified by operation id):
2 - filter(("COLUMN14"=1000000300 AND "COLUMN15"=1000000002))
3 - filter(:B1=1000000300)
4 - filter(("B"."COLUMN2"=:B1 AND "B"."COLUMN3"=:B2 AND "B"."COLUMN4"=:B3 AND
"B"."COLUMN5"=:B4 AND "B"."COLUMN6"=:B5 AND "B"."COLUMN7"=:B6 AND
"B"."COLUMN8"=:B7 AND "B"."COLUMN9"=:B8 AND "B"."COLUMN10"=:B9 AND
"B"."COLUMN11"=:B10 AND "B"."COLUMN12"=:B11 AND "B"."COLUMN13"=:B12 AND
"B"."PLAN_ID"=1000000300))
Note
- dynamic sampling used for this statement
40 rows selected.Note that you have 5 starts of operation 4, meaning 5 full table scans.
SQL> select * from table_a
2 /
COLUMN1 COLUMN2 COLUMN3 COLUMN4 COLUMN5 COLUMN6 COLUMN7 COLUMN8 COLUMN9 COLUMN10 COLUMN11 COLUMN12 COLUMN13 COLUMN14 COLUMN15 PLAN_ID
-1 1 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000000 1000000300
2 2 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000002 1000000300
-1 3 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000000 1000000300
4 4 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000002 1000000300
-1 5 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000000 1000000300
6 6 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000002 1000000300
-1 7 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000000 1000000300
8 8 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000002 1000000300
-1 9 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000000 1000000300
10 10 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000002 1000000300
10 rows selected.
SQL> rollback
2 /
Rollback complete.
SQL> merge into table_a a
2 using table_b b
3 on ( a.column2 = b.column2
4 and a.column3 = b.column3
5 and a.column4 = b.column4
6 and a.column5 = b.column5
7 and a.column6 = b.column6
8 and a.column7 = b.column7
9 and a.column8 = b.column8
10 and a.column9 = b.column9
11 and a.column10 = b.column10
12 and a.column11 = b.column11
13 and a.column12 = b.column12
14 and a.column13 = b.column13
15 and a.plan_id = 1000000300
16 and b.plan_id = 1000000300
17 and a.column14 = 1000000300
18 and a.column15 = 1000000002
19 )
20 when matched then
21 update set a.column1 = b.column1
22 /
5 rows merged.
SQL> select * from table(dbms_xplan.display_cursor(null,null,'allstats last'))
2 /
PLAN_TABLE_OUTPUT
SQL_ID by8mwr4pxfv46, child number 0
merge into table_a a using table_b b on ( a.column2 = b.column2 and a.column3 = b.column3
and a.column4 = b.column4 and a.column5 = b.column5 and a.column6 = b.column6 and
a.column7 = b.column7 and a.column8 = b.column8 and a.column9 = b.column9 and
a.column10 = b.column10 and a.column11 = b.column11 and a.column12 = b.column12 and
a.column13 = b.column13 and a.plan_id = 1000000300 and b.plan_id = 1000000300 and
a.column14 = 1000000300 and a.column15 = 1000000002 ) when matched then update set
a.column1 = b.column1
Plan hash value: 1110892605
| Id | Operation | Name | Starts | E-Rows | A-Rows | A-Time | Buffers | OMem | 1Mem | Used-Mem |
| 1 | MERGE | TABLE_A | 1 | | 1 |00:00:00.01 | 13 | | | |
| 2 | VIEW | | 1 | | 5 |00:00:00.01 | 6 | | | |
|* 3 | HASH JOIN | | 1 | 1 | 5 |00:00:00.01 | 6 | 778K| 778K| 573K (0)|
|* 4 | TABLE ACCESS FULL| TABLE_A | 1 | 5 | 5 |00:00:00.01 | 3 | | | |
|* 5 | TABLE ACCESS FULL| TABLE_B | 1 | 10 | 10 |00:00:00.01 | 3 | | | |
Predicate Information (identified by operation id):
3 - access("A"."COLUMN2"="B"."COLUMN2" AND "A"."COLUMN3"="B"."COLUMN3" AND "A"."COLUMN4"="B"."COLUMN4"
AND "A"."COLUMN5"="B"."COLUMN5" AND "A"."COLUMN6"="B"."COLUMN6" AND "A"."COLUMN7"="B"."COLUMN7" AND
"A"."COLUMN8"="B"."COLUMN8" AND "A"."COLUMN9"="B"."COLUMN9" AND "A"."COLUMN10"="B"."COLUMN10" AND
"A"."COLUMN11"="B"."COLUMN11" AND "A"."COLUMN12"="B"."COLUMN12" AND "A"."COLUMN13"="B"."COLUMN13")
4 - filter(("A"."PLAN_ID"=1000000300 AND "A"."COLUMN14"=1000000300 AND "A"."COLUMN15"=1000000002))
5 - filter("B"."PLAN_ID"=1000000300)
Note
- dynamic sampling used for this statement
36 rows selected.And with the merge you have only one.
SQL> alter session set statistics_level = typical
2 /
Session altered.
SQL> select * from table_a
2 /
COLUMN1 COLUMN2 COLUMN3 COLUMN4 COLUMN5 COLUMN6 COLUMN7 COLUMN8 COLUMN9 COLUMN10 COLUMN11 COLUMN12 COLUMN13 COLUMN14 COLUMN15 PLAN_ID
-1 1 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000000 1000000300
2 2 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000002 1000000300
-1 3 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000000 1000000300
4 4 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000002 1000000300
-1 5 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000000 1000000300
6 6 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000002 1000000300
-1 7 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000000 1000000300
8 8 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000002 1000000300
-1 9 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000000 1000000300
10 10 1 1 1 1 1 1 1 1 1 1 1 1000000300 1000000002 1000000300
10 rows selected.On 1.2M rows, the savings should be considerable.
Regards,
Rob. -
N95 CANNOT UPDATE TO VERSION 30 ERROR WHEN USING N...
Firstly i have bought a N95 with version 10 on and my product code is 0535053 which says i can update to
30.0.015
It was on 02 but seems unlocked as i have used it abroad with different sims
I am currently in Thailand although it a u.k phone and have tried everything to sort this out
I have un-installed all nokia programs -re-installed and still it fails to complete
I have the latest NSU but do not see the amount of time to complete just the amount of data sent and it gets about 50% of the way and then i get the failed message and do i want to retry
Please help as i think the phone is great but is it much much better with version 30?
Thanks in advanceHey please help still trying
-
Updating table with Modified date/time when updating any row
Hi guys,
What I am trying to do is this. I have a several rows in my table, alongwith the field 'Modified_date'. I want to insert a modified_date if and when I update the row in the table. Here's my code, but it's not working:
PROCEDURE ip_maint_save (p_submit IN VARCHAR2 DEFAULT NULL ,
p_user_no IN varchar_array_type,
p_user_id IN varchar_array_type,
p_ip_first IN varchar_array_type,
p_ip_last IN varchar_array_type,
p_user_type IN varchar_array_type,
p_user_language IN varchar_array_type,
p_blue_jays IN varchar_array_type,
p_created_by IN varchar_array_type,
p_modified_by IN varchar_array_type,
p_modified_date IN DATE := SYSDATE
IS
v_count_rec PLS_INTEGER := 0;
BEGIN
FOR i IN NVL (p_user_no.FIRST, 1) .. NVL (p_user_no.LAST, 0) LOOP
IF p_user_id (i) IS NOT NULL THEN
BEGIN
UPDATE IP_MAP
SET IP_FIRST = p_ip_first (i),
IP_LAST = p_ip_last (i),
USER_ID = p_user_id (i),
USER_TYPE = p_user_type (i),
USER_language = p_user_language (i),
IP_FIRST_number = Mr_Ip_Maint.ip_to_number (p_ip_first (i)),
IP_LAST_number = Mr_Ip_Maint.ip_to_number (p_ip_last (i)),
MODIFIED_DATE = p_modified_date (i)
WHERE USER_NO = p_user_no (i);
.....rest of the code/exceptions follow....
It's not working. Although, I am able to update a row, but it's not inserting/updating the modified_date field in the table for which the row is updated.
Thanks in advance.Hi,
As per my understanding, you are passing many values at a time to be updated using varchar_array_type type. In such scenario if your User_no is 100,101,102 all are being looped and the table is updated. But where are you checking the updated field or on what bases you will come to know that this particular field is updated.
I will suggest you to use before update triggers. As in triggers you can check the rows old and new value and then set sysdate for modified_date column.
Something like this,
create or replace trigger trg_IP_MAP on IP_MAP
before update
For Each Row
Begin
If (:OLD.IP_FIRST != :NEW.IP_FIRST OR
:OLD.IP_LAST != :NEW.USER_ID OR
:OLD.USER_TYPE != :NEW.USER_TYPE OR
:OLD.USER_language != :NEW.USER_language OR
:OLD.IP_FIRST_number !=:NEW.IP_FIRST_number OR
:OLD.IP_LAST_number != :NEW.IP_LAST_number) THEN
:NEW.MODIFIED_DATE = SYSDATE
END IF;
END;Twinkle -
Since updating my Itunes software some time ago, I've not been able to add my own artwork,ie album covers, to my own personal albums.Used to be able to go to "File," "Get Info" and drag/drop my photo into the artwork box, hit save/OK and Voila! No longer and it's Really frustrating. It will let me drag it there but it
won't save it or display it. (Why they go and break somethin' that was working fine?....just an aside) What must one do now to display their own artwork for albums that are non purchasable online?Winter 7 wrote:
Thanks again. Though I'm not really tech savy, I don't believe this issue has to do with Tags.
it has everyrhing to do with tags.
The artwork is stoed in the Artwork tag field.
Since WAV files do not have tags, there is no where to store the tags.
If you use iTunes to get artwork for WAV files, it puts themn into the AlbumArt folder adn links it to the correct files via the iTunes library.itl file.
All other formats (MP3, AAC, AIFF, Apple Lossless) have na artwork tag to store the artwork in the media file itself.
in the past, to add my own personal artwork,
Not to WAV files. You must have imported them as a different format. -
Update file date/time stamp using java
Let me explain you what I am going through:-
I have created a java based installer using Jexpress tool and after I do the installation of my files, the files takes the current date rather then taking the date when it was created or modified.
Everything goes into JAR and I heard that Jar file do not retain the date/time stamp of the file.
I would like to know if we can change the date and time stamp of the files using Java.
Is there any method to do that or can we do this by writing the java class?
Thank You
MehulDid you check it?
I did.
$ jar cvf ~/ui *.m3u
added manifest
adding: Amollhgv.m3u(in = 42) (out= 24)(deflated 42%)
adding: Brand1.m3u(in = 56) (out= 27)(deflated 51%)
adding: Brand2.m3u(in = 42) (out= 24)(deflated 42%)
adding: Brand3.m3u(in = 42) (out= 24)(deflated 42%)
adding: Brand4.m3u(in = 42) (out= 24)(deflated 42%)
adding: Brand5.m3u(in = 42) (out= 24)(deflated 42%)
adding: Brand6.m3u(in = 42) (out= 24)(deflated 42%)
adding: Edurhgv.m3u(in = 42) (out= 24)(deflated 42%)
$ unzip -l ~/ui
Archive: /home/ijbalazs/ui
Length Date Time Name
0 12-04-03 17:53 META-INF/
71 12-04-03 17:53 META-INF/MANIFEST.MF
42 08-26-02 01:03 Amollhgv.m3u
56 11-22-98 01:15 Brand1.m3u
42 08-26-02 01:04 Brand2.m3u
42 08-26-02 01:04 Brand3.m3u
42 08-26-02 01:04 Brand4.m3u
42 08-26-02 01:04 Brand5.m3u
42 08-26-02 01:04 Brand6.m3u
42 08-26-02 01:04 Edurhgv.m3u
421 10 files
Maybe you are looking for
-
Hello, I live in Australia. Since May 5 after the Security Update 2014-002 ALL my Mac devices (computers, laptop,ipad, iphone) stopped finding ALL yahoo servers. So I can't open ANY yahoo website. I can receive emails in my mail app but I can't sen
-
ITunes playing repeating same song, wont play thru list
I have restored the phone, can't figure out why it will only repeat a song. Started doing this out of the blue. Even does it if I enable shuffle. Stumped
-
After upgrading to iPhoto '08 ver 7.1.5 on my Mac G4 500 running OS 10.4.11 i find hundreds of my photos gone. The album names are still there but no photos. This is a major loss of several years of my life. Before you could look in the folders to se
-
Oracle JDev 10g Dev Preview - More generics fun
Building off of the previous post about how imports don't clean up properly when you are using generics... My co-workers and I are having fun working with Generics and the Code Assist feature. As Soon as a collection with Generic information is used
-
Unable to open any EO Based OAF page on one of the instance
Hello Folks, We are facing one serious issue on one of the instance. While trying to open any OAF page which is based on Entity Object, we are continously encoutering the below error message, Exception Details. oracle.apps.fnd.framework.OAException: