Must be simple problem with wiring...surely??
Hi all,
I've just moved into a new house and it has a VERY simple phone wiring. Master socket in the kitchen, and internal wiring that goes to one further socket in the living room.
I can not get my router working on either of the sockets. The only one it works on is the test socket behind the faceplate at the socket.
I have attached some photos in case anyone can spot the problem..?
Any help greatfully recieved!
@ imjolly
Thanks for that. I didn't realise.......
It does occur to me though that if one end of the cable has been wired in the "old style", then it seems unusual that the other end isn't wired the same, as presumably it would have been carried out by the same person ?
If you found this post helpful, then please click the star on the left, after all, I'm only trying to help........
Similar Messages
-
Good external HD? Also, problems with wired TM use?
I have a multi part question here:
I recently got a new MBP and I want to get an external hard drive to use with Time Machine. Is there any sort of consensus on which external hard drives generally work well? I have a 500 GB Western Digital MyBook that has been a constant source of problems. I frequently am unable to eject it and have had to use Disk Utility many times just to get my (old Powerbook G4) computer to see it. I really don't want to get another WD product. Are there any consistently good products out there?
Also, I've just been perusing this forum. I see many people suffering with Snow Leopard and TM using wireless backup. Have there also been many problems with wired backups? I don't use wireless at home, which is where I will keep my TM backups.
Finally, I move my computer around a lot so I won't have it plugged into its TM drive most of the time. I plan on plugging it in each evening before I go to sleep. Is that an appropriate method of using TM?Pondini wrote:
That's why I'd recommend backing-up more often, but if you don't, another app may be better.
CCC or SD are most often used to make full "bootable clones." When your hard drive fails (and
they all do, sooner or later), you can boot and run from them immediately; with TM, you need to
have the disk replaced (or have another external) to restore your system to.
If anyone is going to take action based on the advice above (or other suggestions) they will need to recognize there is a different set of risks.
When you make a clone of a machine you end up with a clone and you can boot from it.
If you then make a fresh clone a day later you really need to have a different disk around or you are taking a lot of risk. The process of creating the new clone might fail. If it does and you do not have a second drive then you have lost the previous clone while creating the newer clone. In other words you have no backup.
You really should have a series of disk drives so you can put a few good ones on the shelf while making a new copy. You might want to think about where you store them.
Even when using TM you have to think about what will happen if the TM device fails.
Conclusion?
Some people do not make backups.
Some people store only files they think are critical on a server in a cloud (like leaving emails on the Google server for gmail).
Some make a back up to TM under the assumption they are really protecting against a failure with their computer but not a fire or other site wide problem.
Some will use TM for backups and still use CC or similar to make a clone every so often. The failure states can vary so incremental backups make sense for some problems and a bootable close covers some other risks.
If a person is really worried then a series of backups are needed with off-site storage for some or all of backups. That way the computer's data is protected from a local problems and from a site wide problem.
Each person can choose what they want to do, what they afford and how they will contain or reduce the risks. Maybe not all risks are worth dealing with. Just think it through before you commit to a solution.
John -
A simple problem with sateful Session beans
Hi,
I have a really novice problem with stateful session bean in Java EE 5.
I have written a simple session bean which has a counter inside it and every time a client call this bean it must increment the count value and return it back.
I have also created a simple servlet to call this session bean.
Everything seemed fine I opened a firefox window and tried to load the page, the counter incremented from 1 to 3 for the 3 times that I reloaded the page then I opened an IE window (which I think is actually a new client) but the page counter started from 4 not 1 for the new client and it means that the new client has access to the old client session bean.
Am I missing anything here???
Isn�t it the way that a stateful session bean must react?
This is my stateful session bean source.
package test;
import javax.ejb.Stateful;
@Stateful
public class SecondSessionBean implements SecondSessionRemote
private int cnt;
/** Creates a new instance of SecondSessionBean */
public SecondSessionBean ()
cnt=1;
public int getCnt()
return cnt++;
And this is my simple client site servlet
package rezaServlets;
import java.io.*;
import java.net.*;
import javax.ejb.EJB;
import javax.servlet.*;
import javax.servlet.http.*;
import test.SecondSessionRemote;
public class main extends HttpServlet
@EJB
private SecondSessionRemote secondSessionBean;
protected void processRequest (HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException
response.setContentType ("text/html;charset=UTF-8");
PrintWriter out = response.getWriter ();
out.println("<html>");
out.println("<head>");
out.println("<title>Servlet main</title>");
out.println("</head>");
out.println("<body>");
out.println("<h1>Our count is " + Integer.toString (secondSessionBean.getCnt ()) + "</h1>");
out.println("</body>");
out.println("</html>");
out.close ();
protected void doGet (HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException
processRequest (request, response);
protected void doPost (HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException
processRequest (request, response);
}You are injecting a reference to a stateful session bean to an instance variable in the servlet. This bean instance is shared by all servlet request, and that's why you are seeing this odd behavior.
You can use type-leve injection for the stateful bean, and then lookup the bean inside your request-processing method. You may also save this bean ref in HttpSession.
@EJB(name="ejb/foo", beanName="SecondBean", beanInterface="com.foo.foo.SecondBeanRemote")
public MyServlet extends HttpServlet {
ic.lookup("java:comp/env/ejb/foo");
} -
Simple problem with a list initialization.
hello ! i have a class Contact and i would like to make a list of lists of Contact variables .. but when i try to run my code , it says "IndexOutOfBoundsException: Index: 0, Size: 0" . I know that every list of the list must be initialized .. but i don't know how .
here is the declaration of the List
static List<List<Contact>> lolContact=new ArrayList<List<Contact>>();and i know that i should do something like :
lolContact.get(0)=new ArrayList<Contact>();to initialize every list of the list but i don't know how . please helpbadescuga wrote:
and i know that i should do something like :
lolContact.get(0)=new ArrayList<Contact>();
Couple of problems with that.
1. You can never do methodCall() = something in Java. The result of a method call is not an L-value.
2. You're trying to assign a ContactList to a Contact variable. Basically, you're trying to do
Contact c = new ArrayList<Contact>();3. Even if you changed it to
Contact c = lolContact.get(0);
c = new Contact();it would not put anything into the list. That would just copy the first reference in the list and stick it into variable c, so that both c and the first list item point to the same object (remember, the list contains references, not objects--no object or data structure ever contains an object in Java), and then assigns a completely different reference to c, forgetting about the one to the object pointed to by the list. It would not affect the list in any way.
4. You can't do get(0) until you've first put something into the list. -
Printing problem with wired PC, not with wireless Macs
WindowsXP PC will not communicate with wireless printer, which is plugged into the Airport Extreme usb port. No problem with wireless printing to same printer with MacBook Air. WindowsXP PC is connected to tthe AirPort Extreme via Ethernet port.
Yes, I did install the Bonjours for Windows software and I still get the message thet the PC does not communicate with the printer.
-
ISE 1.2 web authentication problem with wired clients
Hello,
i am having problems with centralized web authentication using a Catalyst 3650X with IOS 15.0.2 SE01 and ISE 1.2.
Redirecting the client works fine, but as soon the client opens a web browser and ISE websites open to authenticate the client, the switch port resets, the authentication process restarts and the session ID changes. After the client enters the credentials a session expired messages appears on the client and i get an 86017 Session Missing message in ISE.
here the output form the debug aaa coa log.
Any ideas
thanks in advanced
Alex
! CLIENT CONNECT TO SWITCHPORT
ISE-TEST-SWITCH#show authentication sessions interface gi0/3
Interface: GigabitEthernet0/3
MAC Address: 001f.297b.bd82
IP Address: 10.2.12.45
User-Name: 00-1F-29-7B-BD-82
Status: Authz Success
Domain: DATA
Security Policy: Should Secure
Security Status: Unsecure
Oper host mode: multi-auth
Oper control dir: both
Authorized By: Authentication Server
Vlan Policy: N/A
ACS ACL: xACSACLx-IP-PERMIT_ALL_TRAFFIC-537cb1d6
URL Redirect ACL: ACL-WEBAUTH-REDIRECT
URL Redirect: https://nos-ch-wbn-ise1.nosergroup.lan:8443/guestportal/gateway?sessionId=AC1484640000026B28C02CDC&action=cwa
Session timeout: N/A
Idle timeout: N/A
Common Session ID: AC1484640000026B28C02CDC
Acct Session ID: 0x0000029C
Handle: 0x8C00026C
Runnable methods list:
Method State
dot1x Failed over
mab Authc Success
! CLIENT OPENS INTERNETEXPLORER -> REDIRECTS TO ISE
! SWITCHPORT GOES IN ADMINISTRATIVE DOWN STARTS AUTHENTICATION AGAIN
ISE-TEST-SWITCH#
191526: .Jun 24 10:42:24.340 UTC: COA: 10.0.128.38 request queued
191527: .Jun 24 10:42:24.340 UTC: RADIUS: authenticator 7F A9 85 AB F6 4A D0 F3 - B4 E6 F2 56 74 C6 2D 33
191528: .Jun 24 10:42:24.340 UTC: RADIUS: NAS-IP-Address [4] 6 172.20.132.100
191529: .Jun 24 10:42:24.340 UTC: RADIUS: Calling-Station-Id [31] 19 "00:1F:29:7B:BD:82"
191530: .Jun 24 10:42:24.340 UTC: RADIUS: Acct-Terminate-Cause[49] 6 admin-reset [6]
191531: .Jun 24 10:42:24.340 UTC: RADIUS: Event-Timestamp [55] 6 1403606529
191532: .Jun 24 10:42:24.340 UTC: RADIUS: Message-Authenticato[80] 18
191533: .Jun 24 10:42:24.340 UTC: RADIUS: E0 3C B2 8C 89 47 67 A8 69 F5 3D 08 61 FF 53 6E [ <Ggi=aSn]
191534: .Jun 24 10:42:24.340 UTC: RADIUS: Vendor, Cisco [26] 43
191535: .Jun 24 10:42:24.340 UTC: RADIUS: Cisco AVpair [1] 37 "subscriber:command=bounce-host-port"
191536: .Jun 24 10:42:24.340 UTC: COA: Message Authenticator decode passed
191537: .Jun 24 10:42:24.340 UTC: ++++++ CoA Attribute List ++++++
191538: .Jun 24 10:42:24.340 UTC: 06D96C58 0 00000001 nas-ip-address(600) 4 172.20.132.100
191539: .Jun 24 10:42:24.349 UTC: 06D9AC18 0 00000081 formatted-clid(37) 17 00:1F:29:7B:BD:82
191540: .Jun 24 10:42:24.349 UTC: 06D9AC4C 0 00000001 disc-cause(434) 4 admin-reset
191541: .Jun 24 10:42:24.349 UTC: 06D9AC80 0 00000001 Event-Timestamp(445) 4 1403606529(53A95601)
191542: .Jun 24 10:42:24.349 UTC: 06D9ACB4 0 00000081 ssg-command-code(490) 1 33
191543: .Jun 24 10:42:24.349 UTC:
191544: .Jun 24 2014 10:42:24.365 UTC: %EPM-6-IPEVENT: IP 10.2.12.45| MAC 001f.297b.bd82| AuditSessionID AC1484640000026B28C02CDC| AUTHTYPE DOT1X| EVENT IP-RELEASE
191545: .Jun 24 2014 10:42:24.382 UTC: %EPM-6-IPEVENT: IP 10.2.12.45| MAC 001f.297b.bd82| AuditSessionID AC1484640000026B28C02CDC| AUTHTYPE DOT1X| EVENT IP-WAIT
191546: .Jun 24 2014 10:42:24.382 UTC: %EPM-6-POLICY_REQ: IP 0.0.0.0| MAC 001f.297b.bd82| AuditSessionID AC1484640000026B28C02CDC| AUTHTYPE DOT1X| EVENT REMOVE
191547: .Jun 24 2014 10:42:24.390 UTC: %EPM-6-AUTH_ACL: POLICY Auth-Default-ACL-OPEN| EVENT DETACH-SUCCESS
191548: .Jun 24 2014 10:42:26.353 UTC: %LINK-5-CHANGED: Interface GigabitEthernet0/3, changed state to administratively down
191549: .Jun 24 2014 10:42:27.359 UTC: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/3, changed state to down
ISE-TEST-SWITCH#
191550: .Jun 24 2014 10:42:36.366 UTC: %LINK-3-UPDOWN: Interface GigabitEthernet0/3, changed state to down
191551: .Jun 24 10:42:40.592 UTC: AAA/BIND(000002A7): Bind i/f
191552: .Jun 24 2014 10:42:41.129 UTC: %AUTHMGR-5-START: Starting 'dot1x' for client (001f.297b.bd82) on Interface Gi0/3 AuditSessionID AC1484640000026C28C2FA05
191553: .Jun 24 2014 10:42:42.580 UTC: %LINK-3-UPDOWN: Interface GigabitEthernet0/3, changed state to up
191554: .Jun 24 2014 10:42:43.586 UTC: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/3, changed state to up
! SESSION ID CHANGES, USER ENTERS CREDENTIALS
! ERROR MESSAGE AT CLIENT "YOUR SESSION HAS EXPIRED"
! ERROR MESSAGE IN ISE "86017 SESSION MISSING"
ISE-TEST-SWITCH#show authentication sessions interface gi0/3
Interface: GigabitEthernet0/3
MAC Address: 001f.297b.bd82
IP Address: 10.2.12.45
Status: Running
Domain: UNKNOWN
Security Policy: Should Secure
Security Status: Unsecure
Oper host mode: multi-auth
Oper control dir: both
Session timeout: N/A
Idle timeout: N/A
Common Session ID: AC1484640000026C28C2FA05
Acct Session ID: 0x0000029D
Handle: 0x2C00026D
Runnable methods list:
Method State
dot1x Running
mab Not runGuest authentication failed: 86017: Session cache entry missing
try adjusting the UTC timezone during the guest creation in the sponsor portal.
86017
Guest
Session Missing
Session ID missing. Please contact your System Administrator.
Info -
Simple problem with transitions
Hi everyone
I am having a small bit of a problem with transitions....
When I drag a clip from the viewer over the canvas to get the menu bar pop up, and select insert with transition ( cross dissolve ) it puts in a transition but its very short and too fast and when i select it and try to make adjustments it doesn't seem to let me make any changes to the cross dissolve.
I wander what i am doing wrong?
Many thanks TimHi
Just as David Harbsmeier indicates. Handles
Transitions are handled differently in iMovie resp FinalCut.
• iMovie - material that builds the transition is taken from the videoclips = the total length remains same
• FinalCut (as pro- works) . You have to set of a piece of material in each end of the video clips.
This is called In- resp. Out-points. The remaining parts are called Handles
Transitions here are using material from these = Total lenght of movie increase
per transition.
I find books/DVDs by Tom Wolsky - Very valubale - Enjoyed them very much.
• Final Cut Express 4
• Final Cut Pro 6 - DVD course (now probably version 7)
Yours Bengt W -
hi!
i've a problem with user input in my application:
Code:
BufferedReader F_reader = new BufferedReader (new InputStreamReader(System.in));
Fs_line = F_reader.readLine();
My problem is that i've to press the return key for two times, before the JDK returns the line! Does anybody know a better solution with JDK 1.4.2?
thanks for help
mikeit was a mistake of our own implementation! code ist correct! any circumstances are our eval!
thanks mike -
Probably simple problem with while loops
I was programming something for a CS class and came across a problem I can't explain with while loops. The condition for the loop is true, but the loop doesn't continue; it terminates after executing once. The actual program was bigger than this, but I isolated my problem to a short loop:
import java.util.Scanner;
public class ok {
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
String antlol = "p";
while(antlol == "p" || antlol == "P"){
System.out.println("write a P so we can get this over with");
antlol = scan.nextLine();
//it terminates after this, even if I type "P", which should make the while condition true.
}Thanks, that worked.
I think my real problem with this program was my CS
teacher, who never covered how to compare strings,Here's something important.
This isn't just about comparing Strings. This applies to comparing ANY objects. When you use == that compares to see if two references refer to the same instance. equals compares objects for equality in the sense that equality means they have equal "content" as it were. -
Have a problem with Wired Apple Keyboard
Not sure where to post this problem.
C-key is not working on my Apple Wired Keyboard. However it is working fine on MacBook Pro to which keyboard is connected. More than that when I press Spacebar on Apple Keyboard multiple times C is showing up in the line on spaces with same intervals. Does anyone has a solution to this?
When I press C-key nothing is displayed.
When I press Spacebar multiple times I have the following result displayed: c c c c c c (only Spacebar is pressed)alexanderkraynov wrote:
Some update, now when even pressing Spacebar c is not displaying. when restarting mabook pro and choosing the user - password field is automatically filled with dots. I guess some button is stuck.
Yeah that was going to be my reply. The C key is stuck.
In Lion there is not Repeat key feature so if a key is stuck it doesn't Repeat like it use to on older OS X versions. -
Problems with wired connection to WRT54G
my wireless download could hit 600KB/s constantly but when i am wired, download is at 1.8MB/s but it only lasts for 5seconds max then everything slows down to 1KB/s, anyone knows whats the problem?
cheersThe 4.30.7 version is located on the on the UK site. This is whats loaded on the new WRT54GL's shipped from the California warehouse.
4.30.5
4.30.7
If you are not comfortable with loading the .7 I included the link for .5
As for the slow down.... What is your connection? Cable or DSL? Does this happen at certain times during the day or all the time? Reason I ask is where I live is a new subdivision and more people are moving in. They are getting cable internet because I can see new networks popping up when I scan. During the day I get slow speeds as well but early morning and late at night everything goes back to normal. I really get slow when kids in the neighborhood have the day off from school.
I use port 65534 with Azureus. I port forward 65534 on my router and Azureus works as it should. I test my ports when I open or close them at ShieldsUp. When I test 65534 it tells me that it can not detect the port although its open because Azureues uses it to connect. I remove the port from forwarding and Azureues tells me there is an error and cant connect.
Message Edited by wehowardjr on 01-28-200709:09 AM -
Airport Express Problem with Wired/Wireless networks simultaneously
Hello,
I'm having trouble maintaining a connection with my AX (2012) in a work environment. Basically, I have a Win 7 laptop connected via ethernet to the internet/corporate net. I have configured the AX to create a separate wifi network that does not connect to the internet. In order to connect to the AX, I have to disable both the Ethernet adapter and the WLAN adapter, enable the WLAN adapter, connect it to the AX's network, and wait for it to show up in the utility. Only then can I re-enable the ethernet adapter for internet access. Then, inevitably, the connection dies within 15 minutes and I have to repeat the whole process.
Can anyone tell me what's going on here? Is the wired network interfering with the wireless network? Is something configured wrong? Below is the output from ipconfig/all, if that helps. The AX is configured with a 169.254 range. IP address and behaves the same way whether the IP address is auto or manual, and there is no difference if the signal roams channels or is fixed to a single channel (I've played with them all).
Thanks in advance for your help.
Wireless LAN adapter Wireless Network Connection:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : DW1501 Wireless-N WLAN Half-Mini Card
Physical Address. . . . . . . . . : 68-A3-C4-0C-CE-5B
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 10.0.1.2(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Thursday, December 06, 2012 2:32:22 PM
Lease Expires . . . . . . . . . . : Friday, December 07, 2012 2:41:43 PM
Default Gateway . . . . . . . . . : 10.0.1.1
DHCP Server . . . . . . . . . . . : 10.0.1.1
DNS Servers . . . . . . . . . . . : 10.0.1.1
NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : XXX.com
Description . . . . . . . . . . . : Intel(R) 82577LM Gigabit Network Connecti
on
Physical Address. . . . . . . . . : 5C-26-0A-40-37-A9
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 3.197.129.227(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.254.0
Lease Obtained. . . . . . . . . . : Thursday, December 06, 2012 2:42:43 PM
Lease Expires . . . . . . . . . . : Thursday, December 13, 2012 2:42:42 PM
Default Gateway . . . . . . . . . : 3.197.128.1
DHCP Server . . . . . . . . . . . : 3.156.134.20
DNS Servers . . . . . . . . . . . : 3.156.130.30
3.156.130.130
3.23.190.40
3.23.192.43
Primary WINS Server . . . . . . . : 3.156.130.30
Secondary WINS Server . . . . . . : 3.156.130.130
NetBIOS over Tcpip. . . . . . . . : EnabledHere goes - read this through completely and see if it makes sense:
1. Reset the Express to factory settings by unplugging it and plugging it back in while holding in the reset button - release the button when the light starts blinking - then wait for the light to blink slowly indicating factory default.
2. Disable the wireless and enable the ethernet on the laptop and connect an ethernet cable to the WAN port (the circle of dots) of the Express and use the AU toset it up in bridge mode to create a wireless network with a name of your choice - you don't really need a password but you can assign one if you wish - if you do not use a password you will have to choose to ignore the error message for no security.
3. Accept all other defaults and ignore any messages about not having an internet or ethernet connection and update or finish the setup - if you get a blinking amber light, open the AU and correct any error messages.
4. You can now disconnect the ethernet cable and disable the ethernet on the laptop and enable the wireless so you can stream iTunes to the Express - the laptop must stay wireless to do this - you can not accesss both at the same time - you can also use an iPhone or iPad or iPod to use Airplay and then you can use the laptop via ethernet for the internet.
5. To access the Express from now on, you have to use the AU wirelessly from the laptop.
The above is assuming that you don't currently have wireless in your office - the other alternatives are:
1. To hardwire the Express and have it create a wireless network and access the internet - you could then use your laptop wirelessly or wired to connect to the Express and use Airplay and your pc at the same time.
2. If your office has wireless, you can set up the Express to "join" the existing network - you can then do the same as in number 1.
I hope this helps - everyone's situation is different - the above scenarios work for me - you might have to do some tweaks but the info is there - let me know if you have any questions. -
Problem with wired computers on a WRT54G wireless router
I have a WRT54G wireless router that has been working flawlessly up until now. On Sunday, my son informed me that his computer, which is wired wasn't connecting to the internet. Upon further investigating, we found out that our wired computer in our gameroom wasn't connected either. However, our main pc, which is also wired, was connecting just fine. I checked my laptop and several other wireless devices and they were online as well.
Here's the weird thing. In my gameroom, I have just one cable coming into the room from the router. That cable connects to a 5 port switch which then connects to my gameroom pc, Xbox 360, and Playstation 2. I checked my Xbox 360 and it connected to Xbox Live as soon as I turned it on so that told me that I had connectivity coming from the router and the switch. But why was the pc not connecting?
Anyway, I restarted the router, but that didn't fix the issue. I then restarted my cable modem, a Motorola Surfboard, and the router and the issue was resolved. All my pcs were connecting again.
Everything was fine until yesterday when the exact same issue occurred. This time the modem and router restarts did not fix the problem. Again, I have connectivity coming from the router to the 5 port switch because my wired Xbox 360 connects just fine, but my wired pc does not. My son's wired computer is not connecting, but my main pc is. I cannot figure out how to resolve this issue.Might be possible that the router need reconfiguration ... So reset the router...for few seconds ... after reset ... Please access the setup page of the router by launching an Internet Explorer and type on the address bar, 192.168.1.1 and press enter. When it prompts for the username and password, leave the username field empty and provide password as “admin "" all in lower cases and then click on ok. On the main setup page the ""Internet Connection Type"" should be on ""Obtain IP Automatically - DHCP “. Click on the Save Settings button. Now click on the sub tab ""MAC address clone"". - Click on enable - Click on clone your PC's MAC button and then click on the Save Settings button. Power cycle the network again & see if it works ...
-
Hi all,
Initially I have written a trigger for testing .But im not able to write it as per the requirement.Actually I have written the trigger for a table "test" when a row is inserted into it then my trigger will insert a row in another table.In the same way if an row is UPDATED then that same field of the same row is to be updated in another table.how can I do this by modifying this trigger code.Im in a confusion of doing this.
Table: test.
Name Null? Type
ID NOT NULL NUMBER(38)
UNAME VARCHAR2(15)
PWD VARCHAR2(10)
Table : test123.
Name Null? Type
ID NUMBER
UNAME VARCHAR2(30)
PWD VARCHAR2(30)
the trigger is as follows:
CREATE OR REPLACE TRIGGER inst_trigger
AFTER INSERT OR UPDATE
ON test
FOR EACH ROW
DECLARE
id number;
uname varchar2(20);
pwd varchar2(20);
BEGIN
id := 1245;
uname :='abc';
pwd := 'xyz';
IF INSERTING THEN
INSERT INTO test123 VALUES (id,uname,pwd);
END IF;
END test_trigger;
how can i modify this for the above mentioned use.
Thanks in advance,
Trinath Somanchi,
Hyderabad.Hallo,
naturally , you have not assign values directly in trigger. They come automatically
in trigger with :new - variables.
CREATE OR REPLACE TRIGGER scott.inst_trigger
AFTER INSERT OR UPDATE
ON scott.test
FOR EACH ROW
BEGIN
IF INSERTING THEN
INSERT INTO scott.test123 VALUES (:new.id,:new.uname,:new.pwd);
ELSE
UPDATE scott.test123
set uname = :new.uname, pwd = :new.pwd
where id = :new.id;
END IF;
END inst_trigger;Nicolas, yes, merge here is very effective, but i think, that OP can starts with simpler version von "upsert".
Regards
Dmytro -
Simple problem with resolution
Hi All,
I followed a tutorial which told me to put the flash template size to 600 square pixels. But now that I have got the hang of it, I want to increase the resolution of the whole thing, without having to change everything seperately. Basically my high quality images are pixilated on a high resolution monitor.
Is there any simple way to scale everything up, similar to the way that you can adjust the canvas size in photoshop and increase the DPI?
I dont want to have to resize each image individually; there must be a way to do it all in one go! When I adjust the canvas size normally, I just get a vast area of white space surrounding the initial working area.
Thanks,
JimmehNo, there is no simple way to adjust the size of the content of a Flash movie. Flash has only one resolution. So, if you want a larger overall image, and you are using only vector art, you can publish your movie at a size larger than 100%. If you have raster art in your movie, then you should go back and individually enlarge each image to suit the larger stage size.
Maybe you are looking for
-
How can I disable the double-tap to zoom in function?
I play a game where I must click fast on a button, but tapping the button zooms in/out the screen all the time. I also don't need to zoom in. Thus, how can I disable the tap to zoom function?
-
Getting error msg while posting entry in GL using F-02
Hi gurus, While i am posting entry in GL using F-02 getting error message as "no controlling area has been assigned to company code" can any help me out at the stage i dint want to configure co settings is there any way to pass the entries Thanks & r
-
MacBook Pro hard drive partition problems
I installed Windows XP through Boot Camp just fine. Then I installed Ubuntu on the same partition as XP and that was fine as well. When I tried to restore a backup of my Ubuntu file system it went all beserk. The restore process was going fine in Ubu
-
I NEED HELP!!!! reinstalling Mac OS X 10.4.2
I need help Im trying to reinstall my OS in my powerbook 12" and i cant. this morning I turn on my computer and a picture of a file comes up. So i try to reintall my computer, I have the "MAc OS install Disc 1 and 2 " with me and i go throught until
-
How do I find out what these charges are for ??