Confusion about SQL UDFs

I created a user-defined scalar function in SQL Server Management Studio that takes two dates and calculates the minimum of the two.
When I tried to use the function, I was initially getting an error that said "Cannot find either column "dbo" or the user-defined function or aggregate "dbo.MinDate", or the name is ambiguous."
I finally got it to work by executing the function like:
"CREATE FUNCTION dbo.MinDate..."
(I was running into trouble because I hadn't added the "dbo")
And I was using the function without any problem in a query that I saved.
I shut down SQL Server and then created a new instance a couple days later in Management Studio.
Now, if I open that saved query, it can run SELECT dbo.MinDate('2014-03-14 17:54:32.000','2014-03-14 17:06:01.000') without any problems, but if I open up a new query, and put in the SELECT statement above, I'm getting the error "Cannot find
either column "dbo" or the user-defined function or aggregate "dbo.MinDate", or the name is ambiguous." again.
So, do I have to "CREATE" the function every time?  Except if it's in a query I've already used before, then it has the capacity to remember the function.  It doesn't make sense to me that it would work this way.  Is that true, and
is there a way to load a function more permanently?  For the end result, I'm trying to use these functions with SQLCommands in VB.NET and C# and that is ultimately where I'm running into the problem/need a solution.
Thank you.

I've just been hitting the "New Query" button each time in Management Studio.
I just noticed at the bottom of what I would call the "status bar" (at the bottom of the query window where it displays servername/authentication/database_name/time_of_query/query_rows) in one it says "myDB" and the other says "master".  I have no idea
how I would have made them different.  The query that works is "master" and the one that doesn't is "myDB", and now if I push "New Query" it opens up "master".
Still not sure how that happened.
Evidently the master db doesn't filter down to the other ones (but if I connect with the master, I seem to be able to access the data from the other ones).
So, if I'm trying to use the query in VB.Net/C#, would the best method be to continue my connection in myDB, and find a way to CREATE my function in myDB OR connect to the master db in VB.Net/C# (System.Data.SqlClient.SqlConnection) where my query seems
to be working?
Thanks.

Similar Messages

  • Confused about standby redo log groups

    hi masters,
    i am little bit confuse about creating redo log group for standby database,as per document number of standby redo group depends on following equation.
    (maximum number of logfiles for each thread + 1) * maximum number of threads
    but i dont know where to fing threads? actually i would like to know about thread in deep.
    how to find current thread?
    thanks and regards
    VD

    is it really possible that we can install standby and primary on same host??
    yes its possible and i have done it many times within the same machine.
    For yours confusion about spfile ,i agree document recommend you to use spfile which is for DG broker handling if you go with DG borker in future only.
    There is no concern spfile using is an integral step for primary and standby database implementation you can go with pfile but good is use spfile.Anyhow you always keep pfile on that basis you created spfile,i said you make an entry within pfile then mount yours standby database with this pfile or you can create spfile from this pfile after adding these parameter within pfile,i said cause you might be adding this parmeter from SQL prompt.
    1. logs are not getting transfered(even i configure listener using net manager)
    2.logs are not getting archived at standby diectory.
    3.'ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION' NEVER COMPLETE ITS RECOVERY
    4. when tried to open database it always note it 'always' said system datafile is not from sufficiently old backup.
    5.i tried 'alter database recover managed standby database camncel' also.Read yours alert log file and paste the latest log here..
    Khurram

  • Confused about passing by reference and passing by valule

    Hi,
    I am confuse about passing by reference and passing by value. I though objects are always passed by reference. But I find out that its true for java.sql.PreparedStatement but not for java.lang.String. How come when both are objects?
    Thanks

    Hi,
    I am confuse about passing by reference and passing
    by value. I though objects are always passed by
    reference. But I find out that its true for
    java.sql.PreparedStatement but not for
    java.lang.String. How come when both are objects?
    ThanksPass by value implies that the actual parameter is copied and that copy is used as the formal parameter (that is, the method is operating on a copy of what was passed in)
    Pass by reference means that the actual parameter is the formal parameter (that is, the method is operating on the thing which is passed in).
    In Java, you never, ever deal with objects - only references to objects. And Java always, always makes a copy of the actual parameter and uses that as the formal parameter, so Java is always, always pass by value using the standard definition of the term. However, since manipulating an object's state via any reference that refers to that object produces the same effect, changes to the object's state via the copied reference are visible to the calling code, which is what leads some folk to think of java as passing objects by reference, even though a) java doesn't pass objects at all and b) java doesn't do pass by reference. It passes object references by value.
    I've no idea what you're talking about wrt PreparedStatement, but String is immutable, so you can't change its state at all, so maybe that's what's tripping you up?
    Good Luck
    Lee
    PS: I will venture a guess that this is the 3rd reply. Let's see...
    Ok, second. Close enough.
    Yeah, good on yer mlk, At least I beat Jos.
    Message was edited by:
    tsith

  • Confused about schema..

    I'm currently working on a project using VB 2010 Express and Oracle 11g XE. On my Oracle My SQL Developer, I am currently logged on as 'user X' and I created three tables. All of which are just listed on the 'tables' tree. Does it mean that 'user X' is like a schema when compared to MySQL?
    I have already integrated my database to my vb project and is working fine ATM. I'm just really confused about schemas in Oracle 11g XE.

    I'm just really confused about schemas in Oracle 11g XE.http://docs.oracle.com/cd/E11882_01/server.112/e25789/intro.htm#CEGJFFFD

  • Confusion about Kodo and JCA

    Hi,
    I'm a bit confused about Kodo's Connection Architecture strategy. It is my understanding that
    PMF's can be built to use the connection architecture. Along this line, one would configure the
    ConnectionFactory or ConnectionFactoryName, and possibly the ConnectionFactory2 and
    ConnectionFactory2Name properties in a PMF. The result of the PMF implementation supporting the
    connection architecture is nice integration with the application servers in terms of security,
    transaction, and connection management. One can lookup in JNDI a reference to a Kodo PMF that
    supports datastore transactions or to another one that supports optimistic transactions or to
    another one that supports NTR, and with proper settings of the transactional properties and suitable
    application code, one's sesson bean will work.
    But from what I can see of Kodo's JDOPersistenceManagerFactory class, it, itself, implements the
    ManagedConnectionFactory interface, meaning, I think, that this class is resource adaptor. And that
    the part that confuses me. Why would Kodo be a resource adaptor? I thought it used a resource
    adaptor, which I think is the same thing as a connection factory.
    Anyway, I'm puzzled, and I'm hoping that someone could straighten me out.
    David Ezzio

    David-
    The fact that Kodo can integrate into an application server as a
    Resource Adaptor, and section 3.2.2 of the specification that says that
    the PersistentManagerFactory should be able to utilize a Resource
    Adaptor to obtain connections to the data store are two separate issues.
    We implement Kodo itself as a Resource Adaptor in order to provide ease
    of integration into recent application servers. Your confusion is
    understandable, since we do not actually yet support the use of Resource
    Adaptors as the Connection Factories as per section 3.2.2.
    Does that make sense?
    David Ezzio <[email protected]> wrote:
    Hi,
    I'm a bit confused about Kodo's Connection Architecture strategy. It is my understanding that
    PMF's can be built to use the connection architecture. Along this line, one would configure the
    ConnectionFactory or ConnectionFactoryName, and possibly the ConnectionFactory2 and
    ConnectionFactory2Name properties in a PMF. The result of the PMF implementation supporting the
    connection architecture is nice integration with the application servers in terms of security,
    transaction, and connection management. One can lookup in JNDI a reference to a Kodo PMF that
    supports datastore transactions or to another one that supports optimistic transactions or to
    another one that supports NTR, and with proper settings of the transactional properties and suitable
    application code, one's sesson bean will work.
    But from what I can see of Kodo's JDOPersistenceManagerFactory class, it, itself, implements the
    ManagedConnectionFactory interface, meaning, I think, that this class is resource adaptor. And that
    the part that confuses me. Why would Kodo be a resource adaptor? I thought it used a resource
    adaptor, which I think is the same thing as a connection factory.
    Anyway, I'm puzzled, and I'm hoping that someone could straighten me out.
    David Ezzio--
    Marc Prud'hommeaux [email protected]
    SolarMetric Inc. http://www.solarmetric.com
    Kodo Java Data Objects Full featured JDO: eliminate the SQL from your code

  • Confused about the default schema

    Hi,
    I am a little bit confused about the schema concept.
    I want to create a new schema called APP and then create several users and roles based on the schema APP. The default schema for the users should be APP achema.
    How can I make the schema APP the default schema for the new users that I am creating?
    I feel that there are some schema design concepts that I have to learn. Is there any resource on the internet that I can read and learn more about oracle schema design best practices?
    Any help would be appreciated,
    Ali

    A schema holds object definitions, and in the case of table & index objects the schema also holds the data.
    A user owns the schema.
    Therefore the user 'owns the definitions (including any functions, procedures, sequences, tabels, etc.)
    Other users may be granted access to some, or all, of the objects in a schema. This is done through the 'GRANT ...' command. For example, consider the following steps:
    1) create user app_owner
    2) create table object test owned by the app_owwner
    3) create user app_user
    4) grant select, update, insert and delete on app_owner's test table to app_user
    5) add synonyms to avoid needing to qualify the table's schema name.
    done as follows:
    oracle@fuzzy:~> sqlplus system
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Apr 3 20:07:32 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    Create the app owner userid. Note there is no need to ever log in to that user, even to create tables.
    SQL> create user app_owner
      2  identified by xyz
      3  account lock
      4  quota unlimited on users
      5  default tablespace users
      6  temporary tablespace temp;
    User created.
    Creating objects in a schema can be done by providing the schema name, or by switching schema in newer versions of Oracle
    SQL> create table app_owner.test ( t number );
    Table created.
    Create a userid that will access the table. Set that userid up to access the database and (for future) give it the capability to create it's own synonyms
    SQL> create user app_user
      2  identified by xyz
      3  temporary tablespace temp;
    User created.
    SQL> grant create session to app_user;
    Grant succeeded.
    SQL> grant create synonym to app_user;
    Grant succeeded.
    Now give the user access to the objects
    SQL> grant select, update, insert, delete on app_owner.test to app_user;
    Grant succeeded.
    Let's test it out. Insert by qualifying the schema name on the object, then create a synonym to avoid using schema, and try it all using the synonym
    SQL> connect app_user/xyz
    Connected.
    SQL> insert into app_owner.test values (4);
    1 row created.
    SQL> create synonym test for app_owner.test;
    Synonym created.
    SQL> insert into test values (3);
    1 row created.
    SQL> select * from test;
             T
             4
             3
    SQL>  Note that some people want to use PUBLIC grants and PUBLIC synonyms. This is a real bad idea if you want to ensure long term security of the data and want to host several different applications in the same Oracle instance.
    This, and a whole lot more, is in the 'Concepts' manual for your version of the database at http://docs.oracle.com

  • Confusion about required_mirror_free_mb in asm

    Hi!
    i have confusion about required_mirror_free_mb in asm.
    i have 6 disks with normal redundancy and 4 failgroups.
    SQL> select STATE,TOTAL_MB,FREE_MB ,NAME,FAILGROUP from v$asm_disk;
    STATE TOTAL_MB FREE_MB NAME FAILGROUP
    NORMAL 2047 1421 ASMDISK1 FG1
    NORMAL 2047 1424 ASMDISK2 FG1
    NORMAL 2047 1424 ASMDISK3 FG2
    NORMAL 2047 1424 ASMDISK4 FG2
    NORMAL 2047 1423 ASMDISK5 ASMDISK5
    NORMAL 2047 1422 ASMDISK6 ASMDISK6
    6 rows selected.
    Almost all 6 disk have same space consumption.
    SQL> select GROUP_NUMBER,DISK_NUMBER,STATE,TOTAL_MB,FREE_MB ,NAME from v$asm_disk;
    GROUP_NUMBER DISK_NUMBER STATE TOTAL_MB FREE_MB NAME
    1 0 NORMAL 2047 1421 ASMDISK1
    1 1 NORMAL 2047 1424 ASMDISK2
    1 2 NORMAL 2047 1424 ASMDISK3
    1 3 NORMAL 2047 1424 ASMDISK4
    1 4 NORMAL 2047 1423 ASMDISK5
    1 5 NORMAL 2047 1422 ASMDISK6
    6 rows selected.
    SQL>
    SQL> select name, type, total_mb, free_mb, required_mirror_free_mb,usable_file_mb from v$asm_diskgroup;
    NAME TYPE TOTAL_MB FREE_MB REQUIRED_MIRROR_FREE_MB USABLE_FILE_MB
    DATA NORMAL 12282 8538 4094 2222
    SQL>
    Here is my question that how asm desides REQUIRED_MIRROR_FREE_MB i.e 4GB in above case........
    please can anybody answer me.....
    regards
    M.usman

    thank you for your reply...now confusion has increased even more....
    now i have change configuration a bit....
    STEp 1)
    i have 6 Disks each of 2 gb in size And 3 Failgroups FG1,FG2,FG3.
    FG1
    ASMDISK1
    ASMDISK2
    FG2
    ASMDISK3
    ASMDISK4
    FG3
    ASMDISK5
    ASMDISK6
    SQL> select GROUP_NUMBER,DISK_NUMBER,STATE,TOTAL_MB,FREE_MB ,NAME from v$asm_disk;
    GROUP_NUMBER DISK_NUMBER STATE TOTAL_MB FREE_MB NAME
    1 0 NORMAL 2047 1420 ASMDISK1
    1 1 NORMAL 2047 1418 ASMDISK2
    1 2 NORMAL 2047 1420 ASMDISK3
    1 3 NORMAL 2047 1419 ASMDISK4
    1 4 NORMAL 2047 1421 ASMDISK5
    1 5 NORMAL 2047 1420 ASMDISK6
    6 rows selected.
    SQL> select name, type, total_mb, free_mb, required_mirror_free_mb,usable_file_mb from v$asm_diskgroup;
    NAME TYPE TOTAL_MB FREE_MB REQUIRED_MIRROR_FREE_MB USABLE_FILE_MB
    DATA NORMAL 12282 8518 4094 2212
    required_mirror_free_mb=4GB as you said that mirroring is per failgroup so it means that the largest failure could occur is that any failgroup fails,failgroup comprises of 2 2gb disk so its 4gb.
    STEp 2)
    I deleted two disks 5 and 6 in FG3
    now i have two failgroups FG1 and FG2
    FG1
    ASMDISK1
    ASMDISK2
    FG2
    ASMDISK3
    ASMDISK4
    SQL> select GROUP_NUMBER,DISK_NUMBER,STATE,TOTAL_MB,FREE_MB ,NAME from v$asm_disk;
    SQL> select STATE,TOTAL_MB,FREE_MB ,NAME,FAILGROUP from v$asm_disk;
    STATE TOTAL_MB FREE_MB NAME FAILGROUP
    NORMAL 2047 0
    NORMAL 2047 0
    NORMAL 2047 1128 ASMDISK1 FG1
    NORMAL 2047 1127 ASMDISK2 FG1
    NORMAL 2047 1128 ASMDISK3 FG2
    NORMAL 2047 1127 ASMDISK4 FG2
    6 rows selected.
    SQL> select name, type, total_mb, free_mb, required_mirror_free_mb,usable_file_mb from v$asm_diskgroup;
    NAME TYPE TOTAL_MB FREE_MB REQUIRED_MIRROR_FREE_MB USABLE_FILE_MB
    DATA NORMAL 8188 4510 *2047* 1231
    Now still the largest failure could occur is that any failgroup fails,failgroup comprises of 2 2gb disk so its agian 4gb.
    But here its showing 2gb here i am confused.
    Maybe my concept is wrong please help ...please dont mind anything that i am again n again asking questions.

  • I am confused about something.  How do I read a book on my MacBook Pro?  I can't find the iBook app anywhere, which is what I use on my iPad.  The book I want to read is in my iTunes but I can't click on it.  My iBook library does not show up in iTunes.

    I am confused about something.  How do I read a book on my MacBook Pro?  I can't find the iBook app anywhere, which is what I use on my iPad.  The book I want to read is in my iTunes but I can't click on it.  Some of my iBooks show up in my iTunes but they are "grayed" out.  The only books that respond in iTunes are audiobooks and that's not what I'm looking for.  Is this a stupid question?

    Nevermind - I answered my own question, which is I CAN"T READ ANY BOOKS I purchased in iBooks on my MacBook Pro.  If I want to read on my mac I have to use Kindle or Nook.  Which means any book I've already purchased through iBooks has to be read on my iPad.  Kind of a drag because there are times when it's more convenient for me to read while I'm sitting with my Mac.

  • Confuse about the injecting entity in EJB 3.0?

    Hi all,
    I have an customersBean which is inherit from customersRemote and my problem is i' am little confuse about injecting the entity(customer).
    Where can you apply the EntityManagerFactory is it outside on EJB or Inside the EJB? means outside EJB is use the web application or java application. i have and example.
    this is inside on EJB...............
    public class CustomersBean implements com.savingsaccount.session.CustomersRemote {
    @PersistenceContext(unitName="SavingAccounts")
    EntityManagerFactory emf;
    EntityManager em;
    /** Creates a new instance of CustomersBean */
    public CustomersBean() {
    public void create(int id, String name, String address, String telno, String mobileno)
    try{
    //This is the entity.
    Customer _customer = new Customer();
    _customer.setId(id);
    _customer.setName(name.toString());
    _customer.setAddress(address.toString());
    _customer.setTelno(telno.toString());
    _customer.setMobileno(mobileno.toString());
    em = emf.createEntityManager();
    em.persist(_customer);
    emf.close();
    }catch(Exception ex){
    throw new EJBException(ex.toString());
    in web application, i'm using the @EJB in customer servlets.
    public class CustomerProcessServlet extends HttpServlet {
    @EJB
    private CustomersRemote customerBean;
    blah blah inject directly coming request field from jsp.
    }

    Hi all,
    I have an customersBean which is inherit from customersRemote and my problem is i' am little confuse about injecting the entity(customer).
    Where can you apply the EntityManagerFactory is it outside on EJB or Inside the EJB? means outside EJB is use the web application or java application. i have and example.
    this is inside on EJB...............
    public class CustomersBean implements com.savingsaccount.session.CustomersRemote {
    @PersistenceContext(unitName="SavingAccounts")
    EntityManagerFactory emf;
    EntityManager em;
    /** Creates a new instance of CustomersBean */
    public CustomersBean() {
    public void create(int id, String name, String address, String telno, String mobileno)
    try{
    //This is the entity.
    Customer _customer = new Customer();
    _customer.setId(id);
    _customer.setName(name.toString());
    _customer.setAddress(address.toString());
    _customer.setTelno(telno.toString());
    _customer.setMobileno(mobileno.toString());
    em = emf.createEntityManager();
    em.persist(_customer);
    emf.close();
    }catch(Exception ex){
    throw new EJBException(ex.toString());
    in web application, i'm using the @EJB in customer servlets.
    public class CustomerProcessServlet extends HttpServlet {
    @EJB
    private CustomersRemote customerBean;
    blah blah inject directly coming request field from jsp.
    }

  • Confused about logical table source

    Hi,
    I'm confused about logical table source(LTS), there are 'General', 'Column Mapping', 'Content' tabs in
    LTS, in General tab ,there are some information,like 'Map to there tables' and 'joins',
    just here, we have created relationships in physical layer and BMM layer, so I would like to ask what's the use of the 'joins' here?

    Hi Alpha,
    Valid query, when you establish a complex join it is always between a logical fact and dimension table.Consider a scenario,
    Example:w_person_dx is an extension table not directly joined to a fact but joins to a dimension w_person_d.
    When you model the person_d tables in BMM, you ll have a single logical table with w_person_d as source.If you have to pull columns from both w_person_d and w_person_dx tables in a report, you add dx table as inner join to persond table in the general tab.Now when you check your physical query, you can see the inner join fired between the two dimensions.
    Rgds,
    Dpka

  • Confused about transaction, checkpoint, normal recovery.

    After reading the documentation pdf, I start getting confused about it's description.
    Rephrased from the paragraph on the transaction pdf:
    "When database records are created, modified, or deleted, the modifications are represented in the BTree's leaf nodes. Beyond leaf node changes, database record modifications can also cause changes to other BTree nodes and structures"
    "if your writes are transaction-protected, then every time a transaction is committed the leaf nodes(and only leaf nodes) modified by that transaction are written to JE logfiles on disk."
    "Normal recovery, then is the process of recreating the entire BTree from the information available in the leaf nodes."
    According to the above description, I have following concerns:
    1. if I open a new environment and db, insert/modify/delete several million records, and without reopen the environment, then normal recovery is not run. That means, so far, the BTree is not complete? Will that affact the query efficiency? Or even worse, will that output incorrect results?
    2. if my above thinking is correct, then every time I finish commiting transactions, I need to let the checkpoint to run in order to recreate the whole BTree. If my above thinking is not correct, then, that means that, I don't need to care about anything, just call transaction.commit(), or db.sync(), and let je to care about all the details.(I hope this is true :>)
    michael.

    http://www.oracle.com/technology/documentation/berkeley-db/je/TransactionGettingStarted/chkpoint.html
    Checkpoints are normally performed by the checkpointer background thread, which is always running. Like all background threads, it is managed using the je.properties file. Currently, the only checkpointer property that you may want to manage is je.checkpointer.bytesInterval. This property identifies how much JE's log files can grow before a checkpoint is run. Its value is specified in bytes. Decreasing this value causes the checkpointer thread to run checkpoints more frequently. This will improve the time that it takes to run recovery, but it also increases the system resources (notably, I/O) required by JE.
    """

  • Confused about extending the Sprite class

    Howdy --
    I'm learning object oriented programming with ActionScript and am confused about the Sprite class and OO in general.
    My understanding is that the Sprite class allows you to group a set of objects together so that you can manipulate all of the objects simultaneously.
    I've been exploring the Open Flash Chart code and notice that the main class extends the Sprite class:
    public class Base extends Sprite {
    What does this enable you to do?
    Also, on a related note, how do I draw, say, a line once I've extended it?
    Without extending Sprite I could write:
    var graphContainer:Sprite = new Sprite();
    var newLine:Graphics = graphContainer.graphics;
    And it would work fine. Once I extend the Sprite class, I'm lost. How do I modify that code so that it still draws a line? I tried:
    var newLine:Graphics = this.graphics;
    My understanding is that since I'm extending the Sprite class, I should still be able to call its graphics method (or property? I have no idea). But, it yells at me, saying "1046: Type was not found or was not a compile-time constant: Graphics.

    Thanks -- that helped get rid of the error, I really appreciate it.
    Alas, I am still confused about the extended Sprite class.
    Here's my code so far. I want to draw an x-axis:
    package charts {
        import flash.display.Sprite;
        import flash.display.Graphics;
        public class Chart extends Sprite {
            // Attributes
            public var chartName:String;
            // Constructor
            public function Chart(width:Number, height:Number) {
                this.width = width;
                this.height = height;
            // Methods
            public function render() {
                drawAxis();
            public function drawAxis() {
                var newLine:Graphics = this.graphics;
                newLine.lineStyle(1, 0x000000);
                newLine.moveTo(0, 100);
                newLine.lineTo(100, 100);
    I instantiate Chart by saying var myChart:Chart = new Chart(); then I say myChart.render(); hoping that it will draw the axis, but nothing happens.
    I know I need the addChild method somewhere in here but I can't figure out where or what the parameter is, which goes back to my confusion regarding the extended Sprite class.
    I'll get this eventually =)

  • Confused about SOAP

    Hi all,
    As far as I know, SOAP is initially designed to be an XML based
    RPC protocol.
    But Java API for XML Messaging (JAXM), which is actually a
    messaging API (and not RPC), is also based on SOAP.
    How do they fit to each other?
    In a few words, what does actually SOAP define?
    I am confused about that, can you help me?
    Any idea will be appreciated.
    Thank you

    In a few words -- no. Try here:
    http://java.sun.com/webservices/docs/1.0/tutorial/index.html

  • PSE 7 confusion about folder location, help needed

    Here's some background: I'm using PhotoShop Elements 7 on Win XP.  I have an external firewire hard drive I use for overflow/backups.  Originally, this showed up as a K: drive on my system.
    I added a RAID controller and two more drives to stripe as a single drive for temp space rendering movies.  This ended up as a K: drive and the external moved to L:  However, when I did this there were some pictures from my catalog that I had on the external drive.  I have used File > reconnect missing files to handle the moves, but PSE is still confused (very).
    PSE has started to mix up the RAID (K:) and external (L:) content.  If I move a set of pictures (e.g. a folder of them) onto the external drive (L:) via drag and drop in the folder location view, the folder will show up empty on the L: heirarchy, but will show up as a gray folder icon in the K: RAID drive hierarchy.  If I open up windows explorer, the RAID drive will appear empty.  In other cases (I'm not sure when/how yet), pictures physically end up on the RAID drive itself instead of the external.  I have uninstalled both the external drive and the RAID drive and reinstalled them both, but they are still getting confused in the folder view by PSE.  I've also tried moving content outside of PSE and just reconnecting missing files, but it still wants to put things under the K: RAID drive instead of the external L:.
    I've searched everywhere I can think of for a description of what gray folder icons in the folder location view means and can find none.  I'm not sure how to convince PSE that there's nothing on the RAID K: drive and it shouldn't try to connect the two.  Any suggestions?
    Thanks,
    Jim

    Thank you!  I ran psedbtool and the output shows the catalog has the wrong drive letter for the L: drive.
    Is there a way to make PSE forget about the K: and L: drives that it is so confused about so that it can relearn of their existence?  If I use the drive letter reassignment to fix PSE, it will break other apps that are now dependent on the current drive letter assignments.  I've tried removing all files from the L: drive, but it's still remembered as part of the catalog.
    Thanks,
    Jim
    psedbtool version 1.07
    Opening catalog C:\Documents and Settings\All Users\Application Data\Adobe\Photoshop Elements\Catalogs\Moms pics\catalog.pse7db
    Photoshop Elements version:      7
    Total files               :   4833
    Total files missing       :      0
    Total files offline       :    278
    Total files wrong volume  :      0
    ****** Volumes with warnings: 1
    PSE Volume Table
    Path used by PSE        : F:
    Type                    : builtin_drive
    Status                  : online
    Total files             : 0
    Total files missing     : 0
    Total files wrong volume: 0
    Description             : MEDIA
    Serial                  : 1C2F-9805
    Drive_path_if_builtin   : F:
    Id                      : 32520
    Path used by PSE        : M:
    Type                    : builtin_drive
    Status                  : online
    Total files             : 938
    Total files missing     : 0
    Total files wrong volume: 0
    Description             : FreeAgent Drive
    Serial                  : 7830-2970
    Drive_path_if_builtin   : M:
    Id                      : 93626
    Path used by PSE        : E:
    Type                    : builtin_drive
    Status                  : online
    Total files             : 0
    Total files missing     : 0
    Total files wrong volume: 0
    Description             : GAMES
    Serial                  : 025A-4B70
    Drive_path_if_builtin   : E:
    Id                      : 93625
    Path used by PSE        : L:
    Type                    : builtin_drive
    Status                  : online
    Total files             : 114
    Total files missing     : 0
    Total files wrong volume: 0
    Description             : FreeAgent Drive
    Serial                  : 60AE-A816
    Drive_path_if_builtin   : K:
    Id                      : 31354
    ***** WARNING *****     : Wrong drive letter in catalog
    Path used by PSE        : \\dmzhost\media
    Type                    : network_drive
    Status                  : offline
    Total files             : 278
    Total files missing     : 0
    Total files wrong volume: 0
    Description             : //dmzhost/media
    Serial                  : //dmzhost/media
    Drive_path_if_builtin   :
    Id                      : 26948
    Path used by PSE        : J:
    Type                    : builtin_drive
    Status                  : online
    Total files             : 3503
    Total files missing     : 0
    Total files wrong volume: 0
    Description             : MEDIA2
    Serial                  : BAC0-B5A3
    Drive_path_if_builtin   : J:
    Id                      : 108
    Path used by PSE        : C:\Documents and Settings\All Users\Application Data\Adobe\Photoshop Elements\Catalogs\Moms pics
    Type                    : database_relative_drive
    Status                  : online
    Total files             : 0
    Total files missing     : 0
    Total files wrong volume: 0
    Description             : database relative
    Serial                  : amoc:database_relative_volume
    Drive_path_if_builtin   :
    Id                      : 2
    Windows Drives
    Drive  Type             Serial     Path
    A:     removable_drive  0000-0000 
    C:     builtin_drive    9088-07F9 
    D:     builtin_drive    F408-1CB0 
    E:     builtin_drive    025A-4B70 
    F:     builtin_drive    1C2F-9805 
    G:     builtin_drive    242D-15ED 
    H:     readonly_drive   0000-0000 
    I:     builtin_drive    427D-3F6B 
    J:     builtin_drive    BAC0-B5A3 
    K:     builtin_drive    64E8-9846 
    L:     builtin_drive    60AE-A816 
    M:     builtin_drive    7830-2970
    Thanks so much for your help!
    Jim

  • I am confused about Icloud. I have a 5 year old Macbook, a 2 year old macbook and a 5 year old mac mini. What exactly do I need to do to get all this connected via Icloud. I also have an Iphone 3G. Help please!

    I am confused about Icloud. I have a 5 year old Macbook, a 2 year old macbook and a 5 year old mac mini. What exactly do I need to do to get all this connected via Icloud. I also have an Iphone 3G. Help please! Also, I still don't understand exactly what the benefits are. At the moment it seems a lot of hassle to change a system that's been working perfectly well and that I'm very happy with. I'm not at all sure whether the mac mini (1.66 GHz INtel Core Duo) can be brought up to the relevant spec to run ICloud.  Any thoughts?

    There are two aspects to iCloud.  One is simply getting an account, or migrating a mobileme account to iCloud.  The second part is using the various features of iCloud to sync contacts, calendars, use music match or photo sharing, and store iWorks documents.
    First to get an iCloud account:
    If you have a mobileme account, you can migrate by simply logging onto www.icloud.com (ignore any references to Lion and just click through to complete the migration).  If you have OS X Lion or an iOS 5 mobile device, you can create an iCloud account on that device using any valid AppleID.
    Once you have an account, you can use JUST the mail account if you wishi - it is a standard IMAP account so you would set it up like any other IMAP email account you have, in whatever client program you use to read email.
    To use the OTHER feautes of iCloud, your computers will have to be running OS X Lion (10.7).  Your iPhone 3G will never be able to use iCloud as it cannot run iOS 5 (you need a min. of an iPhone 3GS to run iOS 5).
    The requirements for OS X Lion are here - http://www.apple.com/macosx/specs.html  You need a min. of a Core 2 duo processor so you mini is not capable of running Lion.
    So, in your case, the single reasons for iCloud would be if you have a mobileme account, then use the online www.icloud.com to migrate your account so you do not lose your @me.com email address.  You can use iCloud email (without using any other iCloud features) by setting it up as IMAP mail with these settings - http://support.apple.com/kb/HT4864
    If you want an iCloud account and do NOT already have a mobileme account, you will need to upgrade one machine at least to Lion in order to be able to create an iCloud account.

Maybe you are looking for

  • Non destuctive editing

    When i have altered an original image in LR and save it to a different folder, the image opened from the original folder comes into LR with the change shown to the one saved in a different folder. is this normal? should i have made a virtual copy bef

  • Find Dependent DC's for PCR request in mss~pcr

    Hi All, Need help in finding the dependent DC's for mss~pcr application. Why this becasue I need to check the code behind event the " Refresh" link in Create Application of Employee Change request. Thanks Gansa

  • Looping through a cursor (newbie)

    I am trying to construct a dynamic insert statement. I am retrieving (using a select) the column names from one of my tables into a cursor. I would now like to loop through the cursor and extract the column names. Is there anyway to loop through the

  • IPad2 not visible in iTunes

    I connected my iPad to the computer, and selected the option to Sync Wirelessly w/ the iPad. After disconnecting, it does not show my iPad in the iTunes side bar. I'm connected to the same network from both the iPad and Computer.

  • How to relocate service

    Hi all, I'm working with a 10.2.0.3 Oracle RAC. I've one service on this clusterware wich mount the backup lun destination. Now is running on server 1. I want change this service to server 3, just in order to have this backup lun on this server to ma