How do I append the owner to my queries?

Post Author: dqrgk0
CA Forum: Data Connectivity and SQL
We are using Crystal 10, Crystal Enterprise 10, Oracle 9i.
The reports created are scheduled to be run by an account created with read-only 'select' grants to the tables/views.  When this account is used to run the reports, it is receiving error messages:
Report 1 (a 3-table join) :  "table not found"Report 2 (a view created on the DB) : "VIEW_NAME.FIELD1 = "Field_Value" name is not known."
Our DBA states that without the use of synonyms (which she states would be the last resort due to security & other things) all of the Crystal queries in my report will need to be appended with the schema owner name like:
SELECT * from SchemaName.VIEW_NAME
I have already provided the DBA all the underlying table names, views, etc. 
Crystal has it's own SQL syntax it uses...How can I modify my Crystal queries to achieve the aforementioned SELECT example?  Is there a place where I can set the schema name???

Post Author: dqrgk0
CA Forum: Data Connectivity and SQL
Thank you for the input Yangster.
I'm sorry I forgot to mention that I have double-checked that my Set Datasource Location has been updated to reflect the correct database/table. 
Here is more info on the situation:  1)  Connecting to database using the OBDC driver supplied by the system we are using, AR System (Remedy).2)  Created the reports using our Remedy admin user name & password.3)  The Report Server admin is using a user name & password of an account that was created for the sole purpose of scheduling the reports.  ** When he tries to run the reports using that new account, the reports fail.  If he uses our Remedy admin account, the reports run successfully.
I still am not sure how or where I can append our db schema name to each query that is being issed to our database so that new account can run it without requiring a public synonym.  I've been looking at the SQL Expressions but I still can't figure out how to make the application accept the schema owner identification:  schemaowner.table.column .

Similar Messages

  • HT1267 How do I find the owner of an iphone I have found But there is no contacts or Cell number of the phone that is the phones cell number and the phone has been suspended and you can't get any information on returning it .

    How can I find the owner of a found phone that  must have been reported stolen but all you want to do is find out who the person is that owns the phone. But you have no idea who the person is who stole the phone in the first place but now you only want to give it back to its rightful owner.

    I found a iPhone 5s, and I'm willing to return to the owner ASAP, but it seems that "he" have not turned on "Find my iPhone".
    Could anyone help me get in touch with the owner, that was probably here for the 2014's World Cup?
    I'm a Brazilian Apple user, and got stolen 6 months ago. I'm fully aware of what it is. Please, don't flood me with the obvious. The law here DOES NOT WORK.
    This owner must get it back, even if I must send it overseas.
    Thank you for the support.
    <Edited by Host>

  • Found an locked iphone5c, how can i get the owners info, email or anything if he/she only says "pls. bring back my phone.. godbless" on the activation menu??

    found an locked iphone5c, how can i get the owners info, email or anything if he/she only says "pls. bring back my phone.. godbless" on the activation menu??

    Try using Siri and ask "Who's phone is this?" It should give you the name, number, and email address of the owner. Also, you can try swiping to unlock, select Emergency, then see if they have a Medical ID set up. If they do, they may have the name of a contact with a phone number listed.

  • HT201441 I FOUND AND IPHONE AND I CANNOT OPEN IT SO I CAN CALL THE OWNER, HOW DO I CONTACT THE OWNER SO I COULD RETURN IT

    I FOUND AN IPHONE AND HOW CAN I CONACT THE OWNER SO THAT I COULD RETURN THE PHONE TO HIM OR HER

    You cannot open the phone, because it is locked and that's why you won't find out his number or email address.

  • I found a ipod touch friday how can i find the owner

    Hi i found a ipod touch friday how can i find the owner...

    If you can't access the iPod and and screen does not have any message then turn it into the police. Also, if lost on private property, report it to the owners of the property.

  • Found an Ipod touch--how can I locate the owner?

    I found an Ipod touch--how can I locate the owner?  The Ipod requires a passcode.

    You can't. Turn the iPod into your local police department, or the station closest to where you found the iPod. They have resources for identifying and contating the owner, should they wish to take that time.
    Regards.

  • How can I change the OWNER of a table?

    How can I change the OWNER of a table entr2009mm ?
    Resp. the OWNER of all TABLES whose tablename match the pattern *2009* ?
    Peter

    Hello,
    There're different posiibilities, Export/Import can do it.
    But, if it's not a too large Table, you can use CTAS (from a user with DBA privilege for instance).
    Create Table <schema_target>.<table_name> as select * from <shema_source>.<table_name>;Then, you have to recreate the dependent objects (Index, ...) and drop the Source Table.
    If you have a set of Tables, it's better to use Export/Import.
    Hope this help.
    Best regards,
    Jean-Valentin
    Edited by: Lubiez Jean-Valentin on Feb 9, 2010 8:20 PM

  • I just found a iphone how do i locate the owner

    i just found a iphone 5 how do i locate the owner

    I've heard that if you turn on siri by long pressing the home button then you can ask siri 'who owns this iPhone' & their details should show onscreen.

  • How can i find the owner of a lost ipad mini

    how can i find the owner of a lost ipad mini I bought off ebay

    I did not replace the mother board it has the someone board in it that I bought. I do not buy locked devices and this one was only listed as water damaged with the original box.
    You are right if I did change the board it could have been locked.
    Thanks for your response have a great day

  • HT201441 Hello,how can i contact the owner for the stolen iphone using email?because i call the owner no phone,no one accept the call..

    Hello,how can i contact the owner for the stolen iphone using email?because i call the owner no phone,no one accept the call..

    Unless you have the owners email address you can't email them.
    If you have found a stolen iPhone and are trying to return it to its rightful owner, hand it in to the police.

  • How can i append the variable to filename in import statement?

    how can i append variable(substitution variable) to file name in import command for maxL?
    example : For suppose there is a file like "dataload.txt" and a variable like cur_month(august).How can i rename the file like daload_august in import statement.
    Edited by: 788996 on Aug 22, 2010 11:18 PM

    Are you saying you want to use an OS level environment variable in a MaxL statement to substitute for an entire file name? I am going to illustrate Windows, but do it your own way in *nix if you want.
    YourCallingCode.cmd
    REM Note the \\ and then the \\, you had \\ and \
    SET curmon=c:\\ABC\\datafile_21_AUG.txt 
    REM Call MaxL with a paramenter
    startMaxL.cmd DoItForTheCurrentMonth.msh %curmon%DoItForTheCurrentMonth.msh
    login blah blah for blah ;
    import database appname.dbname data from local text data_file $curmon using server rules_file "rulefile"
         on error abort ;The trick is to change whatever's in % and % and replace it with a $ in the MaxL script.
    I gave a presentation last year on MaxL at ODTUG Kaleidoscope. If you go to http://www.odtug.com, then Tech Resources, then Essbase, then search on my name, you'll find "Master Essbase with MaxL Automation". More than you could ever want to know about MaxL, variables (parameter, environment, and explicitly declared), scripting, etc., etc., are all there for the taking. If you're not already a member, you'll have to join, but an associate membership is free. You can then download my presentation and all of the others. It is a treasure chest of technical tips and knowledge.
    Yes, I am a fan a member of the Hyperion SIG, so I am ever so slightly biased. Regardless, it is good information, for free.
    Regards,
    Cameron Lackpour
    Edited by: CL on Aug 24, 2010 5:33 AM
    If you want to substitute part of the data file name, you can do that too:
    set curmon=21_AUG
    Your MaxL statement would look like:
    import database appname.dbname data from local text data_file "c:\\ABC\\datafile_$curmon.txt" using server rules_file "rulefile"
         on error abort ;

  • How do you change the owner of a folder?

    Hello,
    I'm having a very difficult time finding an answer to this question. I have a brand new xserve (10.5.2) up and running fine with a single web site with wikis and blogs enabled. I can get to the web page and the wikis with no problems.
    The problem is, the default folder for the web home page and the wiki information are on the system drive. I need to have those folders on another partition. I created a folder called /Collaboration and one called /Webdocs on the partition on which I need these folders.
    When I put a copy of index.html into the webdocs folder, the web site shows up fine in a browser window. Wikis show as being "disabled" though. The folder for the wiki files has me as the owner since I created it. I've read on a few posts in these forums that the owner of that Collaboration folder needs to be "teamserver" however, I am unable to change to that using Get Info, like I could with a Tiger machine.
    Could someone please tell me how to do this? Thanks.

    I've got a similar problem:
    I'm attempting to follow the directions in the Upgrading and Migrating Guide for Leopard. The Mac has two hard drives in it. Batman contains the active server running 10.4.11. Magic is the hard drive that will run 10.5.2.
    Since I'm moving from one hard disk to another (as opposed to an entirely different Mac), things ought to be fairly easy. But not for me. ;(
    What I'm trying to do: Migrate the mail database. (I have managed to import users and groups; only the mail service will run on this machine.)
    Problem: I can't change the owner and group settings on the various files in the var/imap and var/spool/imap folders (for example, so that they are owned by system or _cyrus, with group wheel or mail and everyone set to read only).
    The owner and/or group often shows up as unknown (which is to be expected with the migration to a different hard drive). But how can I change these permissions?
    Or is there a way to use a command to copy them from one disk to another? I tried ditto, but didn't get the syntax right (the files were copied to the same level as the imap folder rather than within it) and now I have a bunch of files owned by nobody that I can't delete because I can't change the owner.
    TIA,
    mm

  • How do I change the owner's name for all Apple/iTunes/iCloud applications?

    The name for my iPhone device and all Apple related things I log into, the owner name is my father's name -- however, since it is my device and my phone and I use all relating applications, I would like for it to be underneath my name. How do I change the overall name for my entire Apple account?

    Go to system preferences and the sharing tab, then change the "computer name".
    That's not a problem for anything.
    If you had links from the other computer in the name.local format, you'll just need to update them.

  • How can I locate the owner of a lost Ipod Touch 4g?

    A friend found a lost Ipod Touch 4th generation and gave it to me because he's given up trying to locate the owner. Now I am trying to find its owner (last ditch effort).
    I've never seen this message before, but when I got it, there is a screen saying disabled, connect to iPod. I assume that either it was remotely locked? Or perhaps my friend tried to guess passwords unsuccessfully too many times?
    I took it to the Apple Store in San Francisco and the sales rep that was helping me didn't know how to do it.
    I ran three ads in craigslist in different sections - no response.
    My bf used to work for Apple, and is absolutely uninterested or too busy to help me out (nice guy, eh?).
    I don't want to restore the phone and wipe the data, since it may destroy any possible clue as to how to locate the owner beyond the first name and photo that appears when you turn it on. (I tried to see if I could get it connected to iTunes and figure something out, but the phone is disabled)
    Anybody know what I can do? Serial numbers?
    note: In case you are wondering why I am so adamant on finding the owner, I have lost 2 ipods in the past (found one), but the other is gone forever (despite all my "please return to (my contact info)" message I had in place of the passcode screen. I will go pretty far to return this to the owner, because beyond principle, I was sad when mine was never returned to me.

    I took it to the Apple Store in San Francisco
    Take it to the nearest SFPD station.
    And bravo to you for making such an effort to find the owner. They may have reported it lost or stolen to the SFPD.

  • How would I locate the owner of an i-pod that I found...

    while on vacation in Texas?? I have the serial # off the back, and it is identified as "Carter's IP", but I can not find any other identifying info. I contacted Apple, but they could not pull up the owner from the serial #, and suggested that I turn it in to the local police. Now that I am back in NC, I don't think that will help. Can anyone give me a suggestion on how to identify
    "Carter" ?? It is a 4 gig and has about 870 songs on it....

    - Apple will do nothing without a court order                                                        
      Reporting a lost or stolen Apple product
    - Turn the iPod into the local police.

Maybe you are looking for

  • How stopping a version and start a new one from the previous

    Hi, May be someone could help me to erase my basics questions on Robosource control. We have to manage several versions of our product documentation and It is not clear how it is managed by robosource control. The documentation tells what can do RBSC

  • GetConnection on clustered DS not failing over as documentation indicates

    Hi, (Weblogic 7 SP2 ) I have a Connection pool and datasource both targeted to a cluster. The cluster is working as a cluster, HTTP session failover is working for instance, as is context failover. However, ds.getConnection() does not failover to ano

  • FILE to IDOC settings

    Hi all, I am doing the scenario of file to idoc in which is it necessary to create RFC destination on both XI side and R/3 side. Clarify the settings required from XI to R/3 .. regards, kumar

  • CSA 5.1(Untrusted Content Classification Module)

    Hi Experts, I am running CSA in my Pilot and its kind of stable now and working Fine.I need to know one thing I hv disabled "Untrusted Content Classification Module" from the Application classification Policy which is part of All Windows Group.I hv d

  • After publishing to .mac, page says "temporarily unavailable"...?

    I published earlier yesterday, and it worked fine. Now, after adding a few attachments and links to an event, it takes forever to load, and then says "your online iCal is temporarily unavailable". Any answers?