Find Same Name in Different Departments
Hi All,
M Really New In this field..
Considering emp and Dept table in Scott schema
How can I find same name in different departments like
ename department
================
smith 10
smith 20
smith 30
Thanks,
And what does have to do with apex? Please post this to the sql pl/sql support forum
Thank you,
Tony Miller
Ruckersville, VA
Similar Messages
-
How do i find the app ibooks on a Mac to download? Is it the same name or different now?
How do i find the app ibooks on a Mac to download? Is it the same name or different now?
There is no app for reading iBooks on a Mac!
-
I have multiple album titles of the same name with different artists. How can I get them to go under one album title again?
In iTunes(on a Mac or PC) just tap on 'Albums' rather than 'Artists' and you'll see them all together.
You may find that there are songs mislabelled. In which case right tap on the Album or Artist and tap 'Get Info', then change to the correct name and the songs will join the rest of the songs for that Artist or Album.
Then resync with your iPhone and all will be well. -
Query parameters with the same name and different values
According to HTTP, multiple query or post parameters with the
same name and different values are permitted. They are transfered
over the wire in the following format -
name1=val1&name1=val2&name1=val3
The problem is that I can't see anyway of assigning multiple
parameters with the same name and different values to the request
object of mx.rpc.http.HTTPService. I have tried using the
flash.utils.Dictionary object as it does strict key comparison but
that doesn't work too. I have tried setting an array of values to a
property of the request object but that sends the request to the
server in the following format -
name1=val1,val2,val3
The java servlet engines throw exceptions when they see this.
Any help would be greatly appreciated.If you're not on 8.1.4 move there. 8.1.3 had limitations in the wsrp
release.
wrote:
I have an html select box that contains several values, and multiple
selection is enabled. When my code runs as a remote portlet, the
following is showing up in the soap monitor when I select multiple
values and submit the form:
<urn:interactionParams>
<urn:portletStateChange>cloneBeforeWrite</urn:portletStateChange>
<urn:interactionState>_action=addEmployeesToGroup</urn:interactionState>
<urn:formParameters
name="P62005wlw-select_key:{actionForm.selectedEmployees}OldValue">
<urn:value>true</urn:value>
</urn:formParameters>
<urn:formParameters
name="P62005wlw-select_key:{actionForm.selectedEmployees}">
<urn:value>beatest1</urn:value>
</urn:formParameters>
In this case, I selected beatest1 and beatest2, but only beatest1 comes
through to the remote portlet. Is this a known bug, and, if so, is
there a patch or workaround available?
Thanks in advance,
Andy -
Importing files with same name but different extensions
Hope I will be clear enough.
Lets say that instead of sending a file from Lightroom to an external editor, I open it directly in Photoshop.
When I'm done, I save the edited photo using the same name but in a different file format : IMG_1333.cr2 > IMG_1333.psd or IMG_1333.tif, and selecting the same folder location.
Then, I come back into Lightroom and synchronise the folder.
Why is the knew version of the picture not showing up beside the original file, despite the different extension ?
I notice that the different extensions ( .psd or .tif ) are recorded in the sidecar files field in the Metadata panel.
Of course, everything works fine if the file name is modified ( or just by selecting the "copy" option in Photoshop's "save as" dialog box ). Lightroom synchronise dialog shows the new photo to import.
So, why is Lightroom not making a difference between files with the same name but different format extensions ?
Thanks for any hint :-)
Gilles.Gilles-
I think your problem is likely that you have the option to stack the copy with the original turned on. First, right-click on one of these photos and go to the stacking menu. If Unstack is not grayed out then you have a stack -- select Unstack to reveal all copies.
To change the automatic stacking of edited copies from Photoshop, when you next choose to edit a file, in the bottom left corner of the dialog is the check box for unstacking. Clear it, and that choice should "stick" until you change it again.
Hope this helps!
Tony -
Two methods with same name but different return type?
Can I have two methods with same name but different return type in Java? I used to do this in C++ (method overloading or function overloading)
Here is my code:
import java.io.*;
public class Test{
public static void main(String ar[]){
try{
//I give an invalid file name to throw IO error.
File file = new File("c:/invalid file name becasue of spaces");
FileWriter writer = new FileWriter(file ,true);
writer.write("Test");
writer.close();
} catch (IOException IOe){
System.out.println("Failure");
//call first method - displays stack trace on screen
showerr(NPe);
//call second method - returns stack trace as string
String msg = showerr(NPe);
System.out.println(msg);
} // end of main
public static void showerr(Exception e){
StringWriter sw = new StringWriter();
PrintWriter pw = new PrintWriter(sw);
e.printStackTrace(pw);
try{
pw.close();
sw.close();
catch (IOException IOe){
IOe.printStackTrace();
String stackTrace = sw.toString();
System.out.println("Null Ptr\n" + stackTrace );
}//end of first showerr
public static String showerr(Exception e){
StringWriter sw = new StringWriter();
PrintWriter pw = new PrintWriter(sw);
e.printStackTrace(pw);
try{
pw.close();
sw.close();
catch (IOException IOe){
IOe.printStackTrace();
return sw.toString();
}//end of second showerr
} // end of class
[\code]Overloading is when you have multiple methods that have the same name and the same return type but take different parameters. See example
public class Overloader {
public String buildError(Exception e){
java.util.Date now = new java.util.Date() ;
java.text.DateFormat format = java.text.DateFormat.getInstance() ;
StringBuffer buffer = new StringBuffer() ;
buffer.append(format.format(now))
.append( " : " )
.append( e.getClass().getName() )
.append( " : " )
.append( e.getMessage() ) ;
return buffer.toString() ;
public String buildError(String msg){
java.util.Date now = new java.util.Date() ;
java.text.DateFormat format = java.text.DateFormat.getInstance() ;
StringBuffer buffer = new StringBuffer() ;
buffer.append(format.format(now))
.append( " : " )
.append( msg ) ;
return buffer.toString() ;
public String buildErrors(int errCount){
java.util.Date now = new java.util.Date() ;
java.text.DateFormat format = java.text.DateFormat.getInstance() ;
StringBuffer buffer = new StringBuffer() ;
buffer.append(format.format(now))
.append( " : " )
.append( "There have been " )
.append( errCount )
.append( " errors encountered.") ;
return buffer.toString() ;
}Make sense ???
Regards, -
Vis that reside in different location but have a same name und different funktion
Can i use in LabView 5.01 Vis that reside in different location but have a same name und different funktion?
How? I don´t wand to rename the VIs.Sorry, you can't have homonymous VIs simultaneously in memory. You'll have to rename one of them.
LabVIEW, C'est LabVIEW -
How to create directories with same name in different schemas
I have two schemas on the same database.
I am trying to create directories with same name, but different paths in both the schemas.
When i created the directories in second schema, the directory paths of the first schema are automatically changed to the second path.
Is there any solution to create directories with same name, but different path in two different schemas on the same database.
Thanks,
Sridhar.Hi,
>>When i created the directories in second schema, the directory paths of the first schema are automatically changed to the second path.
If you have removed the REPLACE clause of your create statement, then you would see that is not possible.
SYSTEM> connect scott/tiger
Connected.
SCOTT> create directory mydir as '/tmp';
Directory created.
SCOTT> connect legatti/pwd
Connected.
LEGATTI> create directory mydir as '/tmp';
create directory mydir as '/tmp'
ERROR at line 1:
ORA-00955: name is already used by an existing object
LEGATTI> select owner,object_name,object_type,created
2 from dba_objects where object_name='MYDIR';
OWNER OBJECT_NAME OBJECT_TYPE CREATED
SYS MYDIR DIRECTORY 19/12/2007Cheers
Legatti -
Concatenate tables with same name from different servers - CR2013
Hello,
I need some help. I need data from 2 tables with the same name on different SQL servers thru an ODBC connection. When I try to get the data by adding both to my datasource I get data from one or the other. I have considered creating a view, but not sure how to handle this. Thanks.Hi,
Linked Servers are pretty simple and straightforward, just do a search for the procedure.
I do have an additional comment, though. Depending on what tables you're gathering, I've found noticeable differences in performance when I use a connector to a DB on Server Instance "A" linked to "B" versus Server Instance B linked to A. I haven't determined the circumstances affecting one over the other.
If I'm not happy with speed using a connector A, I try switching to B. I like to use as much SQL code as possible, but you can't get around the connector still being a factor.
Matt -
Creating same-name directories, different cases
I'm trying to set up two directories with basically the same name but different cases:
domain.com/DirectoryName
domain.com/directoryname
Just because I know someone will type it in the second way assuming it will work, since the typical user does not know urls can be case-sensitive. The first directory will just redirect to the second.
My problem is that Dreamweaver won't allow me to create the two directories because it considers them to be the same (and is giving me the "folder already exists" error), regardless of the cases. Does anyone know how to work around this?I don't follow. Physical directories never can have the same name inside the same parent directory on Windows or Mac, so it's nothing related to DW. They can on Unix systems, but that's a whole different matter and in your case an exclusive one of the server configuration. This needs to be done with aliases, symbolic links, resource mapping or URI forwarding on the server, not on how you design your webpage locally. A browser URL is just a virtual directory/ path and not immediately related to the actual physical structure and because of that, it's the server's responsibility to either convert the characters or not.
Mylenium -
We have a requirement where in we have multiple solaris servers and each solaris server has a directory with the same name.
The files in these directories will be different.
These same name directories on multiple severs has to be mounted to a single directory on another sever.
We are planning to use NFS, but it seems we can not mount multiple directories with same name on different severs to a single mount point using NFS, and we need to create multiple mount points.
Is there any way we can achieve this so that all the directories can be mounted to a single mount point?You can try to mount all these mount points via NFS in one additional server and then export this new tree again via NFS to all your servers.
No sure if this works. If this works, then you will have in this case just an additional level in the tree. -
How to check-in multiple files with same name having different revision num
Hi
Can anyone please tell me, how to check-in multiple files with the same name with different revision number using RIDC API.
For eg:
First I will check-in a file(TestFile.txt) into a content server with revision number 1 using RIDC API in ADF application. Then after some time, will modify the same file(TestFile.txt) and check-in again. I tried to check-in same file multiple times, however first time its checking-in correctly into server showing revision as 1, while checking-in same file again, its not giving any errror message, and also its not reflecting in server. Only one file(TestFile.txt) is reflecting in server.
How to implement this functinality using RIDC API? Any suggestions would be helpful.
Regards
Raj
Edited by: 887680 on Mar 6, 2013 10:48 AMHi Srinath
Thanks for your response. Its not cloning, its like check-in file first, then check-out the file and do some editing and then again upload the same file with different revision number using RIDC. I got the solution now.
Regards
Raj -
Applescript: Create a Folder from Files of Same Name but different Extension
Hi guys,
Racking my brain for the past 2 hours trying to figure out how to properly use Applescript but alas to no avail.
My problem is as follows.
xxxxxxx.extension1
xxxxxxx.extension2
yyyyyyy.extension1
yyyyyyy.extension2
zzzzzzz.extension1
zzzzzzz.extension2
I've been trying to create an applescript that takes files of same name and create a folder with the name of those files grabbed.
So ultimately it would look like
xxxxxxx/
xxxxxxx.extension1
xxxxxxx.extension2
yyyyyyy/
yyyyyyy.extension1
yyyyyyy.extension2
zzzzzzz/
zzzzzzz.extension1
zzzzzzz.extension2
Can some more more adept at this than me provide with a solution? It would be great if I could use by just selecting the folder that contains all these files.
Also can anyone suggest an beginner's book on Applescript? I'm a bit or an order freak and Im sure applescripting could help me automate a lot of repetitive tasks Im currently doing.
Thanks!This will do what you need.
set source to (((path to desktop folder) as text) & "Test") as alias
tell application "System Events"
set fnames to (name of every file of source)
end tell
set AppleScript's text item delimiters to "."
repeat with fname in fnames
try
set folderName to text item 1 of fname
if folderName is not "" then
tell application "Finder"
if not (exists (folder folderName of source)) then
make new folder at source with properties {name:folderName}
end if
move file fname of folder source to folder folderName of source
end tell
end if
end try
end repeat
(the code formatting here really s*?ks. select all the text in the box and right click and select services make new AppleScript to get it into the editor)
It's not very polished so be careful, setup some test folders and make sure it does what you want before using it on your live data.
You need to set the
set source to
line to the path of the folder where the files are. You can do that as an absolute path ie "Macintosh HD:Users:etc" or using the path to as in the example.
It is also not very efficient and there are many different ways to attack this problem. If this is a one time thing this will be fine. If it will be an ongoing situation you might want to describe exactly what is happening and other ways to solve the problem might be possible.
As for learning AppleScript start with the Apple Development Site, especially AppleScript Language Guide.
There are lots of sites out there with good info MacScripter being one of the better ones.
Book wise I really like Learn AppleScript by Apress. Its good as both a tutorial and reference and has a good intro to AppleScript Objective-C (a way Apple ahs setup to allow AppleScripts to access pure objective-c code and the OS X GUI).
good luck -
Two AM's with the same name but different forms causes Deployment problems
Two Masters forms, DOC & PM are cloned except for the "where clause" in the View's query and the titles in their JSP's.
DOC workspace has a BC project and a BC4JSP Project. The BC project comprises of the EO and VO named ComVsStaticValue. In the Edit prop-> query for the VO I have specified the "where clause" as VSSV_VS_CODE='DOCTOR'.
In Java Webserver :-
The JSP's are located in C:\source\Doctor\ .. and the *.xml and *.class files generated by the BC proj is in C:\source\Doctor\pol_ValueSet\..
If I execute Doctor in JWS the records are getting filtered properly.
PM workspace has a BC project and a BC4JSP Project. Again The BC project comprises of the EO and VO named ComVsStaticValue. In the Edit prop-> query for the VO I have specified the "where clause" as VSSV_VS_CODE='PAY_MODE'.
In Java Webserver :-
The JSP's are located in C:\source\PMode\ .. and the *.xml and *.class files generated by the BC proj is in C:\source\PMode\pol_ValueSet\..
If I execute PM in JWS, the PM's JSP comes (the title is correct) but the records pertaining to DOC appears. I checked the View's xml file in C:\source\PMode\pol_ValueSet\ the "where clause" is correct. The xml & classes have the same name but their contents are different.
I want to know whether this problem is because both have the same name for the AM and the BC4JSP's property file.
Please clarify.Deploying two app modules with the same name will definitely cause problems.
The JSPs use the information in the properties file to connect to the application module and get the data they need from the appropriate View Objects in those app modules. If you have two app modules with the same name, when a JSP tries to connect, it has no way of knowing which one of the app modules to connect to if they both have the same name.
You could:
1. Just use one application module that contains all the View Objects you need to access.
or
2. Rename one of the application modules or the package it is located in so the names are distinct. If you choose this method, you will also need to update the JSPs (specifically the 'registerApplicationFrompPopertyFile' method call), and your JSP project's appmodule property file. -
I am unable to connect to two different wi if at different locations having same user name but different password one is at home other at work
I was able to do a full reset on the router (pushing the tiny button near the power input). Then ran through the setup process and it started working on my device.
Maybe you are looking for
-
Just a few days ago, I noticed that when I start Firefox it goes to a blank page, despite the fact that I have several times checked and rechecked under "Options" and my home page is in there. Also the back button has stopped working. I have made sur
-
After Applying 11.1 PSU4/5 the Cognos Enterprise Planner Job fails
We have recently applied Oracle 11.1 PSU5 to our Dev environment. The Application is IBM Cognos Enterprise Planner 8.4 version. The import_queue_tidy job fails with NO ROWS returned. If we use the new DLL to retry within 5 seconds, the job succeeds.
-
Can not take securitycheck with my iphone my phone is not on the screen
HI I couldnt get a security check with itunes ,my iphone is not showing up in my pc
-
The camera and calendar icons on my iphone 5c dissappeared.
The camera and calandar icons disappeared on my Iphone 5C How can I restore them on the screen?
-
Get MII login name without applets
We have been modifying our MII pages to minimize use of applets and maximize use of AJAX. With the example Javascript code I have, there is one thing I don't know how to do: get the UserID of the logged-in user without the use of applets. With any ap