Fuction to change names
I have two tables
student
NAME STUDENT_NUMBER CLASS MAJ
Smith 17 1 CS
Brown 8 2 CS
and
grade_report
STUDENT_NUMBER NAME SECTION_IDENTIFIER G GPOINT
17 Smith 112 B 3
17 Smith 119 C 2
8 Brown 85 A 4
8 Brown 92 A 4
8 Brown 102 B 3
I need function that when i change names in student table....directly this function changes student names in grade_report
Trigger is some thing like that.
SQL> select * from student;
NAME STUDENT_NUMBER
bbb 10
SQL> select * from grade_report;
NAME STUDENT_NUMBER MARKS
bbb 10 100
SQL>
SQL> create or replace trigger student_name_update_trg
2 after update
3 on student
4 for each row
5 begin
6 update grade_report
7 set
8 name = :new.name
9 where
10 student_number = :new.student_number;
11 end;
12 /
Trigger created.
SQL> update student set name = 'bca';
1 row updated.
SQL> select * from student;
NAME STUDENT_NUMBER
bca 10
SQL> select * from grade_report;
NAME STUDENT_NUMBER MARKS
bca 10 100
SQL>
Similar Messages
-
How can I uniquely identify computers on the same network/account specifically for airdrop use? When I change name on one computer under contacts it changes on all computers. I would like to change icon and name for each computer.
you would need to setup a VPN and tunnel into your office.
FYI..the default ports are 3283 and 5900. -
Converting Video to iPod, can you change name of file
When you convert Video to iPod format, can you change name of the new file or put some "marker" so one can tell which is the orginal and which is the new file?
Currently it is difficult to tell between the orignal and the new file.
thanks in advance
RohitYou'd probably be better off doing this sort of editing in iTunes, and letting it move the files appropriately.
Go to the preferences, Advanced tab, and check the box to 'Keep iTune Music folder organized'. Then any changes you make to song names or other info (within iTunes) will automatically be applied. -
RE: 1) Changing name and IP address of an AIX 4.2 Server 2)Using NAT
Daniel,
you (normaly) just have to :
1) edit the $FORTE_ROOT/fortedef.sh fileand change the value of variable
FORTE_NS_ADDRESS
2) shutdown and restart forte environment
3) put the new values in the control panel of the client and run !
It worked on our site with the same configuration (Aix 4.2)
Good luck
De : Daniel[SMTP:[email protected]]
Répondre à : Daniel
Date : vendredi 18 juin 1999 13:08
A : [email protected]
Cc : Jose Ignacio
Objet : 1) Changing name and IP address of an AIX 4.2 Server 2)
Using NAT to reach forte
Hello Forte Users :
I have 2 questions to make:
1)
I've installed a Forte Server Central Node (Release 3.0.F.2) in an
IBM RS/6000 with OS AIX 4.2
(The name of the server is Name_1 and the IP address is
125.125.50.50 with mask 255.255.255.0)
Nowadays we had to change the name and IP address of this server
lets say to Name_2 and 125.125.60.60 with mask 255.255.255.0.
After that we try to find any reference to old name and IP address
in the forte directory and all of its subdirectories changing them to
the new ones.
After these changes we found than forte could'nt start the nodemgr
server.
We have too many reasons to avoid installing FORTE again.
Does anybody know if I have to change anything more to make
nodemgr server work.
2)
The second question is about NAT (Network Address Translation).
To reach a Forte Server Central Node from a Forte Client we have
to pass through a Firewall and NAT.
We are researching and at this moment we can not reach the server
from the client, has anybody any suggestion to correctly configure
Forte (Client and Server) to use NAT between them.
If anyone could help me I would be very pleased.
Thank you very much in advance,
Daniel GonzáLucas (EAM Sistemas Informáticos SL, Spain,
e-mail: [email protected])
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>>> 15 Mins is not enough for completely the replication.
>> use repadmin /syncall /aEpd - for force replication.
>> Wait 3 hrs minimum.
Regards,
Biswajit
MCTS, MCP 2003,MCSA 2003, MCSA:M 2003, CCNA, Enterprise Admin, ITIL F 2011
Blog:
Script Gallary:
LinkedIn:
Note: Disclaimer: This posting is provided & with no warranties or guarantees and confers no rights.. -
How do i u acsess my bluetooth settings thru my phone to change name etc. Also cant connect to any devices
What devices are you trying to connect to, and are they in pairing mode? Is the phone in pairing mode? The iPhone only connects to audio devices and to computers for tethering. You cannot use BlueTooth on an iPhone for file transfers to other phones or computers.
-
My library changed names and all manually loaded content is gone, help
My Itunes library changed names without me doing so and all my CD added music is gone? Where is it? How do I get it back.
Library changed name to my name then Lib? Very strangeDoes anyone have a suggestion?
-
I have a problem, we have a vendor named vendorA. In one day, vendorA changed their name to vendorB. Then my colleague change the name on vendor master. I would like to know it is better create a new vendor code or modify the exist one? Since we still issue PO after changed the vendor name, that means all PO related to this vendor, including new name and old name. If i create a new vendor code for new name, is it possible to transfer the to new vendor code, credit old vendor code, debit new vendor code. Thanks!
Hii,
Do not change Name of the exesting vendor into new name , it is better to create a new vendor code unless it will be difficult for you to scrutiny of vendor data.
Create a new vendor code & then find out the data which needs to be booked in new vendor code.
For this , you have to pass two seprate entires by using intermidiary account
For Eg.
if old vendor having credit balance
Old Vendor a/c Dr.
to Intermidiary a/c
& then
Intermidairy a/c Dr
to New Vendor a/c
Note : In both the entried you have to use one common profit center
Regards,
Umesh -
BO4 - Changing name of existing connection on repository and impact on existing unx universes
Hi,
If we have universes (unx ) which have connections and want to rename the connection, I know we can change the name of the connection on the repository via the repository resources in the Information Design Tool.
I notice existing universes which use the connection still have the old name for their connection shortcut.
Is there a way to synchronise so that if change a name of universe connection the names of connection shortcust on existing universe connections are automticallly chnaged to reflect the new name?
ThanksHI
Changing name of existing connection not impact on existing unx universe, if backed connection CUID not changes, I think you can rename the existing connection in CMC .
Before doing test with sample example. -
Hi Gurus,
My PP consultant wants to Change name of "labour" instead of "Labor"in activity type.
Pl advise whether he can chnage and if so how he can change.
Regards,
SamarHi Gurus,
Thanks for the reply,
I have change text through KL02,but when i enter again in KL02,the system shows:
Act type COAr Short Text Language Valid from to
LABOR 9000 Labour EN 1.4.07 31.3.99
Hence it is still showing LOBOR but in short text it is coming as "LABOUR"
Pl advise,how i can change "Act Type Col" and put Labour in said column.
Regards,
Samar -
Change name of function..?
I have 2 codes on 2 different keyframes i have just copy/pasted. I have changed all the name of functions and variables, I just need one function I don't know how to change name of.
code on key frame 1:
var timedelay2:Number = 10; // seconds delay in replay
var video2;
var nc2:NetConnection;
var ns2:NetStream;
nc2 = new NetConnection();
nc2.connect(null);
ns2 = new NetStream(nc2);
ns2.client = this;
ns2.addEventListener(NetStatusEvent.NET_STATUS,netStatusf2);
function netStatusf2(e:NetStatusEvent) {
if (e.info.code == "NetStream.Play.Stop" && Math.abs(durationNum-ns.time)<.1) {
setTimeout(replayF,timedelay*1000);
function replayF2(){
ns2.play("film/film1.f4v");
var durationNum2:Number;
function onMetaData(iObj:Object):void {
durationNum2 = iObj.duration;
video2 = new Video(287,263);
video2.x = 231.1;
video2.y = 140.5;
addChild(video2);
video2.attachNetStream(ns2);
ns2.play("film/film1.f4v");
code on key frame 2:
var moviesA:Array =["film/film1.f4v", "film/film2.f4v"];
var movie:String = moviesA[Math.floor(Math.random()*moviesA.length)];
var timedelay:Number = 5; // seconds delay in replay
var video;
var nc:NetConnection;
var ns:NetStream;
nc = new NetConnection();
nc.connect(null);
ns = new NetStream(nc);
ns.client = this;
ns.addEventListener(NetStatusEvent.NET_STATUS,netStatusf);
function netStatusf(e:NetStatusEvent) {
if (e.info.code == "NetStream.Play.Stop" && Math.abs(durationNum-ns.time)<.1) {
setTimeout(replayF,timedelay*1000);
function replayF(){
ns.play(movie);
var durationNum:Number;
function onMetaData(iObj:Object):void {
durationNum = iObj.duration;
video = new Video(287,263);
video.x = 231.1;
video.y = 140.5;
addChild(video);
video.attachNetStream(ns);
ns.play(movie);
problem is this function, I don't really know how to give one of the function another name so they don't interfere with each other...?
function onMetaData(iObj:Object):void {
durationNum2 = iObj.duration;
anyone that can help..?hey again
i'm now just using
var durationNum:Number;
function onMetaData(iObj:Object):void {
durationNum = iObj.duration;
on frame 1. But it seems i've lost the randomness on frame 2. it only plays "film/film1.f4v" all the time even though i put multiply times "film/film2.f4v". Is this true, or is it just me who have been very unlucky..?
my frame 1 looks like this at the moment:
var timedelay:Number = 10;
var video;
var nc:NetConnection;
var ns:NetStream;
nc = new NetConnection();
nc.connect(null);
ns = new NetStream(nc);
ns.client = this;
ns.addEventListener(NetStatusEvent.NET_STATUS,netStatusf);
function netStatusf(e:NetStatusEvent) {
if (e.info.code == "NetStream.Play.Stop" && Math.abs(durationNum-ns.time)<.1) {
setTimeout(replayF,timedelay*1000);
function replayF(){
ns.play("film/film1.f4v");
var durationNum:Number;
function onMetaData(iObj:Object):void {
durationNum = iObj.duration;
video = new Video(287,263);
video.x = 231.1;
video.y = 140.5;
addChild(video);
video.attachNetStream(ns);
ns.play("film/film1.f4v");
stage.addEventListener(MouseEvent.CLICK, clickHandler);
function clickHandler(event:MouseEvent):void{
if (event.target.name!=null){
switch(event.target.name) {
case "work1_btn":
gotoAndStop("work1");
removeChild(video);
break;
case "contact_btn":
gotoAndStop("contact");
removeChild(video);
break;
case "frontpage2_btn":
gotoAndStop("frontpage2");
removeChild(video);
break;
And my frame 2 looks like this:
var moviesA2:Array =["film/film1.f4v", "film/film2.f4v", "film/film2.f4v", "film/film2.f4v", "film/film2.f4v"];
var movie2:String = moviesA2[Math.floor(Math.random()*moviesA2.length)];
var timedelay2:Number = 0; // seconds delay in replay
var video2;
var nc2:NetConnection;
var ns2:NetStream;
nc2 = new NetConnection();
nc2.connect(null);
ns2 = new NetStream(nc2);
ns2.client = this;
ns2.addEventListener(NetStatusEvent.NET_STATUS,netStatusf2);
function netStatusf2(e:NetStatusEvent) {
if (e.info.code == "NetStream.Play.Stop" && Math.abs(durationNum-ns.time)<.1) {
setTimeout(replayF2,timedelay*1000);
function replayF2(){
ns2.play(movie2);
video2 = new Video(287,263);
video2.x = 231.1;
video2.y = 140.5;
addChild(video2);
video2.attachNetStream(ns);
ns2.play(movie2);
stage.addEventListener(MouseEvent.CLICK, clickHandler2);
function clickHandler2(event:MouseEvent):void{
if (event.target.name!=null){
switch(event.target.name) {
case "frontpage2_btn2":
gotoAndStop("frontpage2");
removeChild(video2); -
how to change name on iPhone, to match my computer?
You can't change an @icloud.com email address, but you can set up an alias email account name that you can use the will receive email at your current iCloud email account inbox. See http://support.apple.com/kb/PH2622.
-
How do I change name and install Password or pass code
How do I change name and install Password or pass code?
You would do this using the AirPort Utility.
To change the Network Name using AirPort Utility v6.x: AirPort Utility > Select your AirPort > Edit > Wireless tab > Wireless Network Name. On the same tab, you can set the wireless security password. -
How do I change name from Ray's iPod to Chris's iPod?
How do I change name on ipod from Ry's to Chris's i pod?
After I open settings...it goes directly to about (general is not on the list to chick onto).
-
How to change name of software component version in IR and ID?
Hi All,
I have a scenario in which 50 interfaces are there.All interfaces are working fine and we are in Testing stage.
I need to change name of Software component which I have used in IR.
I tried with release transport. I am able to pass all my mapping programs and everything under new software component name. But in ID all configuration objects contain IR objects (Like interface mapping) with old software component name.
Do I need to change everything in ID manually or is there any other way for this?
Thanks in advance.
Warm Regards,
GouriGouri,
If you check this blog , you are able to transfer data even without IR content, i.e, there is no message interface , no namespace in IR and stil this works. Reason, there is no validation if the message interafce exists in the IR. In the runtime the SOAP Header is filled with the interfacename and namespace and it uses these values.
/people/william.li/blog/2006/09/08/how-to-send-any-data-even-binary-through-xi-without-using-the-integration-repository
Likewise, irrespective of which SWCV the interface name and namespace is, things will work fine as long as they exists in the IR in your case.
The SWCV is a means to group objects, it might be displayed while doing the manual configuration but it doesnt matter even if you just key in the values without using the help.
Things will work fine.
Regards
Bhavesh -
Change name of airpoet express network
How to change name of wifi network?
If you change the name of the wireless network, you will need to log on to the "new" network with each device on your network.
Once you have done this, the device should remember the network so that you do not have to enter the password the next time that you connect.
Maybe you are looking for
-
Z87-G43 won't boot from Windows 8.1 64-bit DVD UEFI
Hello, I recently purchased a Z87-G43. I have just updated it to the 1.7 firmware (I was having no end of strange issues with the 1.6 firmware that came on the board, the BIOS menu items would disappear, but that seems to have been resolved with the
-
How to create a $ per second report.
I have a scenario where I have several stores all posting sales in real time to a BAM object. The Fileds are: StoreID "string" PurchaseDate "datetime" PurchaseAmount "integer" I like to create a report that will display the sales per second for a giv
-
Hiii SAP, I need help from u guys, Our Company want to buy 10 Unit of Computer, then the Finance user will create 10 Sub number Asset from the Main Asset for computer, when come to purchasing, do the purchase user need to create 10 line item for comp
-
Hy Expert, by which transaction I can find the determination of FI document starting from MM movement? Thanks. Bye
-
How to configure Rman for Grid 11g
hi all i am using Oracle Grid 11g R2. Oracle Database 11g R2. Oracle Linux 5.5 i want to configure Rman for my Rac i searched and found some notes such as http://oraclehack.blogspot.com/2010/07/oracle-11gr2-rman-netbackup-and-media.html http://oracle