Help with export with query option

I need help with an export with query option.
I have a script that includes the following
auddate=`date '+20%y%m%d'`
file="cal_shrlgpa"$auddate".dmp"
exp / file=$file tables=shrlgpa query\=" where shrlgpa_pidm in (Select sztahbr_pidm from purdue.sztahbr where sztahbr_to_extract\=\'Y\' and sztahbr_export_status\=\'N\')\"
echo 'cal export file created:'$file
when I run the script, I get the following error:
cal_export_tables.sh[7]: 0403-057 Syntax error at line 7 : `"' is not matched.
Can somone help me with the query option?

I made the suggested change:
exp / file=$file tables=shrlgpa query=" where shrlgpa_pidm in (Select sztahbr_pidm from purdue.sztahbr where sztahbr_to_extract=\'Y\' and sztahbr_export_status=\'N\')"
and got the following error:
LRM-00116: syntax error at 'sztahbr_to_extra' following 'where'
EXP-00019: failed to process parameters, type 'EXP HELP=Y' for help
Shannon

Similar Messages

  • Issues with export with upgrade to 3.3

    I am experiencing issues with export with 3.3
    The image looks great in the Browser after editing. However when I checked the export folder I discovered corrupt files.
    I only dicovered it because I tried to email one of the images.
    2 out of 200 the blacks had solarized meaning all blacks went to white.
    Never had this problem before in any of my Aperture Versions since day one.
    The bottom line problem how can trust that the images are ok on export whitout having to look at every single export later.
    This is embarissing since I had already delivered a project not knowing there were bad files.
    Additionally images do not seem to be as sharp before the upgrade. I am using Nikon 300 and Nikon 7000 with San Disk Cards.
    Do I have to do some camera profiling ?

    Have you checked the Color Profile setting in the export preset you are using?
    I found my Color Profile settings switched to different settings after the upgrade.
    Try the Generic RGB profile.
    Regards
    Léonie

  • Export using query option

    Good morning everyone,
    I am currently trying to an export on a table with a where clause of value1= 1 or value1 = 2. When I do this I find the export to be extremely slow. But if I do two exports ie. one export with value1=1 and another export with value1=2 they are quite fast. Now when I do this it is done in two dmp files. Is there a way of doing two exports on the same table into one dmp file without losing any data?? Thank you in advance.
    Troy

    Hi;
    Please see:
    Issue with data pump "Query" parameter
    Export/Import DataPump Parameter QUERY Specification
    http://arjudba.blogspot.com/2008/04/exportimport-datapump-parameter-query.html
    Also see:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_export.htm#i1006293
    Regard
    Helios

  • Help-wmv export with grey lines and grid - help

    i have legal version of flip4mac and final cut pro hd 2 and i get this grey bar with grid everytime i export to wmv using compressor, can anyone help

    there are a variety of options for filp4mac at a variety of prices. Are you sure you have the correct variety?

  • Export with Previous... does not export like previous!

    Hello,
         I As far as I remenber, "Export with Previous..." always exported like the previous export. Unfortunatly, since some times, this function exports only to my "Full - Tiff8" settings.
      Is there any way to fix this settings ?
      I am using Lightroom 3.5 on MacOS 10.6.8 64bit.
      Thanks for you help
      Nicolas DET

    Nicolas Franck DET wrote:
    Hello,
      Could you please try the following:
    1: select a picture
    2: right click, context menu: export -> Export... and select JPEG in the export dialog box
    3: right click, context menu: export -> export TIFF (preset not in dialog box)
    4: you get your file exported as 1 tiff and 1 jpeg.
    5: delete every exported files
    6: right click, context menu: export -> export wit previous
    Which file do you get ?
    Thanks
    1. Selected an image and chose to export it to my desktop as a JPEG.
    2. Selected the same image and exported it to my desktop as a TIFF.
    3. Using the same image, right-clicked and exported with previous after deleting both images from my desktop. Result was a TIFF image, as expected.
    Works for me, not sure what you might be doing wrong or misunderstanding.I have never had a problem with "Export with previous." It is always used the settings that I last configured using the full export dialog. I have been using Lightroom since version 2, am currently using version 4.1.

  • Error In Query Level export with  multiple conditions

    When i am running the following Query for Export with i am getting the result.
    C:\Documents and Settings\ITL>exp scott/tiger@orcl tables=(emp) QUERY='"WHERE deptno > 10 and sal !=2850"' LOG=log011.log FILE=exp.dmp
    Export: Release 10.2.0.1.0 - Production on Wed Jan 30 10:01:27 2013
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    About to export specified tables via Conventional Path ...
    . . exporting table EMP 10 rows exported
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    Export terminated successfully with warnings.
    But When I run with The following condition then it shows the following error...
    C:\Documents and Settings\ITL>exp scott/tiger@orcl tables=(emp) QUERY='"WHERE deptno > 10 and job!='CLERK' "' LOG=log011.log FILE=Exp01.dmp
    LRM-00111: no closing quote for value ' LOG=log01'
    EXP-00019: failed to process parameters, type 'EXP HELP=Y' for help
    EXP-00000: Export terminated unsuccessfully
    C:\Documents and Settings\ITL>exp scott/tiger@orcl tables=(emp) QUERY="WHERE deptno > 10 and job!='CLERK'" LOG=log5.log FILE=exp01.dmp
    LRM-00112: multiple values not allowed for parameter 'query'
    EXP-00019: failed to process parameters, type 'EXP HELP=Y' for help
    EXP-00000: Export terminated unsuccessfully
    Please suggest a solution for it.

    966523 wrote:
    Padma.... wrote:
    Hi,
    The single quotes used for CLERK are causing the issue most probably.
    C:\Documents and Settings\ITL>exp scott/tiger@orcl tables=(emp) QUERY='"WHERE deptno > 10 and job!='CLERK' "' LOG=log011.log FILE=Exp01.dmp
    try replacing with this
    C:\Documents and Settings\ITL>exp scott/tiger@orcl tables=(emp) QUERY='"WHERE deptno > 10 and job!=''CLERK'' "' LOG=log011.log FILE=Exp01.dmp
    Two single quotes(not double quotes) in the place of one single quote for CLERK.
    Thanks
    Padma...Thanks A Lot...if/when you place all inside control file, then you do not have to worry about such complications

  • Help Needed Badly. Troubles with exporting video...

    Hello, I created this account pretty much just for this problem, and I'm running under a very tight timeline so please if someone could give me an answer it would be very much appreciated. I have spent 8 hours over the past two nights as well as 4 hours today reworking, trying different things and combing the online community for any others experiencing these problems and/or solutions, so I am extremely stressed and tired if you could bare with me. So here it is:
    I am editing and compiling a theatre production into a movie. I shot the show three times using a Canon HV30, imported the footage on a school computer (iMac, using iMovie '06), exported it in quicktime onto an external HD, brought it onto my computer (which, stupidly, has no firewire). The total file size was 7 hours of footage (85GB), and as a result my HD has about 300MB left on it, and has been excruciatingly slow. I have finished editing the movie, and I am now attempting to share it. All of the sources I have read tell me to share it in Media Browser, which will be accessible from iDVD. I attempted this many times, however I received multiple different error messages, only after watching it 'working' for 4 hours. Some have said that there was no virtual memory left (even after emptying the cache), some said that there wasn't enough HD space left, the exporting had encountered an error, error messages -50, -49, -48, and -47, and the most prominent one that I have been receiving told me that there had been a "parameter error" or something.
    After researching online, I found that the '-50' error messages had to do with exporting to a MSDOS HD, which made sense because I was attempting to export to my iPod (formatted in Windows). My latest efforts have been trying to export it onto my HD, which is formatted for OSX, and has 350GB left on it. And yet, all of the problems persist (including error -50...?) any help would be greatly, greatly appreciated, as the DVD was due two days ago.
    -Sean

    +"Alright, so I moved over the footage and deleted it off the internal..."+
    Did you move the Events using iMovie? If not, the project pointers become invalid, and you would get the error you did. While moving the event using iMovie, you don't need to "delete" anything!
    Couple of options for you to recover from this.
    A> (Slower) Move the Events back to the internal HD, and use iM to move the Event to the Ext HD.
    B> (Faster, but convoluted) Create an alias for the specific Event folder (now on your ext HD/iMovie Events folder) under your local HD's iM Events folder. IM will now be able to "see" the files on the internal HD, even though they're stored on the Ext HD.
    From the Help File: "To keep an item at its original location and put an alias for it in a new folder, hold down the Command and Option keys while you drag the item."
    Sorry you're having to jump through hoops to get this working...

  • Need help with Export workflow.

    Hello again.
    Today I was experimenting with exporting a project using Export QT Movie and QT Conversion.
    My goal is to show a QT project on the web, either 640x480 or 320xx240, depending on how monstrous the file size is.
    My initial impression was that export QT Movie simply generates (I'm guessing) a full size rendering of the project. It's icon is a FC icon. What I did then was an "Open with..." quicktime(pro). This is where I get confused: I know that the next steps are for for preparing the project for sizes, compressions and so on. The export to QT movie seems to be a longer route to get to the settings that you need to use in QT Conversion, which after selecting QT conversion, you have the Format, Use, and Options settings.
    Am I right so far?
    Some background about my project- Easy setup= DV-NTSC. If I look in my browser, my clips are 720x480, 29.97fps, Compressor(?)DV/DVCPRO-NTSC, pixel aspect ratio, NTSC-CCIR 601 and anamorphic is checked.
    I also have still photos motion control stuff, PS tiffs, that do not have anamorphic checked.
    Form here on is where I get confused.
    Under settings, I am selecting DV/dvc-NTSC for compression frame rate 29.97, medium compressor, scan mode, interlaced, and aspect 4:3.
    The filters setting I don't use.
    The size setting I'm trying 320x240 with aspect ratio and de interlace video UNCHECKED.
    Is this a good workflow for the web. I notice on 640x480 my titles (livetype) seem kind of jagged.
    Any help preparing a project for the web would be appreciated. If you need more info let me know.
    Thanks so much.
    Jonathan

    Thanks for the additional comments and ideas.
    In terms of profile, as I mentioned, the intermediates will be going off to the editor (off-site) for editing on his FCP suite.  I'll stick to working in the prescribed HDTV (Rec. 709) space, and I've given him all the detail I can of how I'm working, but crucially I haven't stood at his edit-suite to see how the stuff looks.
    But, he's no newbie, so I'm hoping it'll be OK.
    Blasted shame about the H.264 BluRay not being compatible with QT - I thought I had this whole issue beat until that came along.  It's not a matter of disk space here, but the editor is mithering that the intermediates we are testing, in either PNG, or Animation, and a couple of others, are choking his playback.
    I'm not sure what to say about that, other than to go down this road of trying to squish these intermediates as low as possible without wrecking the look, hence finding that the DNxHD is providing the best solution.  If it had been a SD project, I might well have tried the native H.264, even over our normal PNG workflow.
    So what will play the native H.264 BluRay compressed output?
    Julian.

  • Export with query problem

    Hello,
    I have to export three tables out of my database with a query. I started the export with following command (on a Windows testing machine).
    exp.exe userid=ccq/xxx@KDG file=C:\download\export\NEW.dmp tables= qem_message, qem_messagestatlog, qw_text query=””"where qem_message.messagebody > 739409 AND qem_message.pkey = qem_messagestatlog.pkey AND qem_message.messagebody = qw_text.qwkey" log=C:\download\export\NEW.log
    I have got the following error:
    . . Export of the table QEM_MESSAGE
    EXP-00056: ORACLE-error 904 found
    ORA-00904: Unknown columnname
    I think the problem is the query statement. All the columns are written right. Is there an error in the statement or is it impossible to execute such statement in an export?

    Hi,
    you have to use export one time at a time with query parameter
    consider
    SQL> host type d:\query.txt
    query="where emp.deptno = dept.deptno
           and emp.sal > 1000
           or dept.deptno = 40"
    SQL> host exp scott/tiger file=d:\tt.dmp tables=(EMP,DEPT) PARFILE=d:\query.txt
    Export: Release 10.1.0.2.0 - Production on Thu Feb 1 17:11:11 2007
    Copyright (c) 1982, 2004, Oracle.  All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Produc
    tion
    With the Partitioning, OLAP and Data Mining options
    Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    About to export specified tables via Conventional Path ...
    . . exporting table                            EMP
    EXP-00056: ORACLE error 904 encountered
    ORA-00904: "DEPT"."DEPTNO": invalid identifier
    . . exporting table                           DEPT
    EXP-00056: ORACLE error 904 encountered
    ORA-00904: "EMP"."SAL": invalid identifier
    Export terminated successfully with warnings.
    SQL>regards
    Taj

  • Please help me out with  "Data only excel option "

    Post Author: pavan pusuluri
    CA Forum: Crystal Reports
    When i am trying to spool the data with data only excel option using crystal reports XI, the records are appearing in two rows instead of single row. i have studied that when we use data only excel option entire record will be displayed in a single row,but it is not appearing in that way.Please help me out in fixing this bug. I am very much new to crytal reports.

    Post Author: pavan pusuluri
    CA Forum: Crystal Reports
    I thank you for the prompt reply.  
    All the field are of same size and height.  The format is fine.  The report is designed in such a way that data is   displayed in three detail sections. What i would like to have is " i want the data in these three sections to be displayed in a single row when i select the data only excel  export option".Please help me  out in fixing this issue.
    Thanks in anticipation

  • "An error occurred while attempting to load this plug-in."  I donloaded the Nik Collection, but when I try "export with preset" the only preset as an option is HDR Efex Pro 2.  The other plug ins appear in my applications folder, but I get the error messa

    I downloaded the Nik Collection, but when I try "export with preset" the only preset as an option is HDR Efex Pro 2.  The other plug ins appear in my applications folder, but I get the error message at the start of this post...I can us, say, Silver Efex stand alone, but I want to use as a plug in...can anyone help please..?

    Hi,
    Follow these instructions: Accessing the plug-ins from host applications - Nik Collection Help

  • Syntax for taking export with 'Query' parameter

    Hi all
    Please help me regarding syntax for taking export with query parameter

    Hi
    exp file=d:\exp.dmp log=d:\exp.log tables=scott.emp query='where empno=10'
    exp file=d:\exp.dmp log=d:\exp.log tables=scott.emp query='where ename='''SCOTT''Salman

  • Please help me out with the function code of print option in module pool

    please help me out with the function code of print option in module pool, along with CASE condition.
    regards,
    asif

    Hi
    you can use the Function module
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
      EXPORTING
        destination            = 'LP01'                       "'Printer name
        list_name              = 'TEST'
        list_text              = 'SUBMIT ... TO SAP-SPOOL'
        immediately            = ' '
        line_size              = '2000'
        no_dialog              = 'X'             "pass space to Pop screen for Print option
      IMPORTING
        out_parameters         = wa_pri_params
        valid                  = w_valid.
    "next call below things
      NEW-PAGE PRINT ON NO DIALOG PARAMETERS wa_pri_params.
         "and try to Print the values inside the new-page
      NEW-PAGE PRINT OFF.
    Prabhudas

  • FAE help with export - iphoto crashing

    Hello,
    I'm trying to use FAE to create the portfolio section (graphic design) of my site. Thanks to the help of a few folks on this forum i've found extensive instructions on how to do so. I've successfully created practice albums with pictures already in my iphoto library. However, I'm currently trying to convert my design files into jpegs in order to import them into iphoto, to finally export them with FAE. When I try to export my created JPEGS with FAE, iphoto crashes. The JPEGS are exported adobe illustrator files that have been, as I mentioned before, imported into iphoto as JPEG files.
    I am getting a slightly different prompt with these images as well after I hit export in FAE (when it's asking the location to save the created file to)
    I am assuming that the problem is with the created JPEGs, I've tried playing around with the settings a bit with no luck. If anyone has any advice it would be greatly appreciated!
    Cheers!
    Lilly

    Try using this Automator workflow on the original Illustrator/jpg files to convert them again to a jpg file: Convert to JPG and Embed sRGB profile. Then import and try exporting with FAE. You can download it from Toad's Cellar.
    Also try using some of your regular jpg files with FAE to see if it will import. If it crashes with other jpgs then it's not the file, it's iPhoto and the plugin. In that case try deleting the iPhoto preference file, com.apple.iPhoto.plist, reboot, repair disk permissions and try again.
    An alternative to FAE Exporter is Jalbum. It has more themes/skins and options and the resulting files are added to iWeb the same as those from FAE.

  • Please help! I defragged my hard drive and now Illustrator CS6 is trying to open all of my complex Illustrator files with a "Text Import Options" box as if they are text files, and they are not opening!

    Please help! Illustrator CS6 started trying to open all of my complex.ai files with a "Text Import Options" box as if they were text files, and they are not opening!  Help!

    Hi Monika,
    I have spent the last two or three days trying to do what you suggested.  I uninstalled Adobe 6 from Windows.  Some files that CS6 placed on my system during installation remained, including fonts and .dll files.
    I had to abandon the Cleaner Tool you suggested because in one screen it allowed me to specify removing CS6 only, but on the following screen it only gave on option to remove ALL Adobe programs.  I could not do that because I didn't have the serial number handy for CS3 in case I want to reinstall it at some point.
    I tried to get technical help with the Cleaner Tool problem but no definitive help was available, so I reinstalled CS6 again without having the benefit of the Cleaner Tool.  I tried to get the serial number for CS3 so I could use the Cleaner Tool but spent 2 wasted hours in chat.  Even though I had a customer number, order number, order date, place of purchase, the email address used AND 16 digits of the serial number, in two hours the agent couldn't give me the serial number.  After two hours I had nothing but instructions to wait another 20 minutes for a case number.
    Illustrator CS6 is still trying to open some backups as Text and otherNone of the problems have been fixed.  I have tried to open/use the .ai files in CS6 installed on another system and am getting the same result, so I don't think the software was damaged by the cleaner.  The hard drive cleaner is well-known and I've run it many times without any problem to previous versions of Illustrator or any other programs.
    When I ordered, the sale rep promised good technical support and gave me an 800 number, but after I paid the $2000, I learned that the 800 number she gave me doesn't support CS6 and hangs up on me.  Adobe doesn't call it a current product even though they just sold it to me about 3 weeks ago.
    Would appreciate any help you experts can offer.  If I can't solve this, the last backup I can use was from June and I will have lost HUNDREDS of hours of work and assets that I cannot replace.
    Exhausted and still desperately in need of help...

Maybe you are looking for

  • When I make a PDF from an AI file invariably I accidentally edit the PDF, not the AI file

    [I'm a long-time user of Illustrator and the creative suite/cloud.] When I make a PDFx file in illustrator I always "view PDF after saving". Invariably -- even when I rename the PDF -- I inadvertantly start editing the PDF as though it is an illustra

  • Need help setting up an email address in Mail

    Hi everyone, thanks in advance for any help. So here's the deal: my dad has an email account that he uses for his company setup in his outlook. A family friend of ours help him set it up. Now he wants to put that same account onto his iPhone. I have

  • Aperture 2,0

    Hi... The only way to quit aperture 2,0 is by clicking command Q... I can´t use the red botton in the top left...

  • Secure LDAP for GWIA Address book

    I've setup the GWIA 7.0.3 May 2009 code set and configured for Secure LDAP. I'm using the same *.b64 and *.key files we use for all our POA and MTAs. I cannot get the Novell LDAP address book to connect to 636. Is there a document I can use to help m

  • Launching AIR in middle of screen

    My AIR app can launch anywhere on the desktop. Is there a way to cause it to launch in the middle of the screen? Thanks