Export Results ORA-00936 Error Reported
In an attempt to extract all of a package's source code in one file as well as work in a file-oriented fashion (which other posters have commented is not well supported), I issued a select dbms_metadata.get_ddl(...) from dual. This generated the output I wanted in the worksheet results. However, the ORA-00936 error is thrown when I try to export this as text to overwrite my (checked out from source control) file. My only recourse then becomes to copy the result, open my file (outside SQL-D) and replace what's there (which does work, by the way).
There was another post on this issue in a prior version where the error was attributed to double quotes around aliases, but I'm still getting the error (see Re: Export query results error, v. 5 / 1343
This is a bug with how SQL Developer does it's export (not that I could find it logged on MetaLink).
When you export a query, SQL Developer writes a wrapper select around your query to drive the export. In an example of what you are trying to do, it converts the following query (I added an alias to see if that helped, but it didn't):
select dbms_metadata.get_ddl('PACKAGE', 'MY_PKG') my_ddl from dual;
to (based on the trace file with sql_trace switched on):
select * from (select from ( select dbms_metadata.get_ddl('PACKAGE', 'MY_PKG') my_ddl from dual));
Your immediate options are to continue with your current workaround, switch to a query on DBA_SOURCE for this export, or cope with the way SQL Developer currently does it's file based development.
As far as getting this fixed (hopefully before 1.1), you would either need to log an SR on MetaLink or hope that one of the SQL Developer team logs a bug based on this thread.
Similar Messages
-
ORA 00936 errorI c
reated a new object in BO universe.
That object picks data from app_pat.curr_det_ind
Table is loaded with data. Domain values of that column is 0 and 1.
When we try to include this object in the report to filter for value 1, we get the following error
message.
ORA 00936
It seems it should list the values and we should select from it.
Do u have any solution to this?Hi
After i create object i am using that object in query prompt iam getting error ORA 00936.
can any boby help me outThe object having list of values
Thanks in advance -
Hi guys, pls help! iMovie crashes sometime on tiltes or transitions or export, pls see the error report export below, thnx for looking.
Process: iMovie [239]
Path: /Applications/iMovie.app/Contents/MacOS/iMovie
Identifier: com.apple.iMovie8
Version: 8.0.6 (821)
Build Info: iMovieApp-8210000~16
Code Type: X86 (Native)
Parent Process: launchd [117]
Date/Time: 2012-12-10 16:05:48.659 +0000
OS Version: Mac OS X 10.7.4 (11E53)
Report Version: 9
Interval Since Last Report: 413560 sec
Crashes Since Last Report: 1
Per-App Interval Since Last Report: 231215 sec
Per-App Crashes Since Last Report: 1
Anonymous UUID: C896B72D-2C04-428D-A58E-137974A49295
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: 0x000000000000000d, 0x0000000000000000
VM Regions Near 0:
--> __PAGEZERO 0000000000000000-0000000000001000 [ 4K] ---/--- SM=NUL /Applications/iMovie.app/Contents/MacOS/iMovie
__TEXT 0000000000001000-0000000000335000 [ 3280K] r-x/rwx SM=COW /Applications/iMovie.app/Contents/MacOS/iMovie
Application Specific Information:
objc[239]: garbage collection is OFF
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 ??? 0x0ceb9398 0 + 216765336
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x96222b5e __select_nocancel + 10
1 libdispatch.dylib 0x9ceabcc9 _dispatch_mgr_invoke + 642
2 libdispatch.dylib 0x9ceaa85f _dispatch_mgr_thread + 53
Thread 2:: com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x96220c22 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x962201f6 mach_msg + 70
2 com.apple.CoreFoundation 0x9683d9da __CFRunLoopServiceMachPort + 170
3 com.apple.CoreFoundation 0x96846b04 __CFRunLoopRun + 1428
4 com.apple.CoreFoundation 0x968461dc CFRunLoopRunSpecific + 332
5 com.apple.CoreFoundation 0x96846088 CFRunLoopRunInMode + 120
6 com.apple.Foundation 0x906ed0c4 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 378
7 com.apple.Foundation 0x906e0e25 -[NSThread main] + 45
8 com.apple.Foundation 0x906e0dd5 __NSThread__main__ + 1582
9 libsystem_c.dylib 0x9b92aed9 _pthread_start + 335
10 libsystem_c.dylib 0x9b92e6de thread_start + 34
Thread 3:: QTKit: QTVisualContextImageProviderWorkLoop
0 libsystem_kernel.dylib 0x96220c22 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x962201f6 mach_msg + 70
2 com.apple.CoreFoundation 0x9683d9da __CFRunLoopServiceMachPort + 170
3 com.apple.CoreFoundation 0x96846b04 __CFRunLoopRun + 1428
4 com.apple.CoreFoundation 0x968461dc CFRunLoopRunSpecific + 332
5 com.apple.CoreFoundation 0x96856f01 CFRunLoopRun + 129
6 com.apple.QTKit 0x94a96fde QTVisualContextImageProviderWorkLoop + 124
7 libsystem_c.dylib 0x9b92aed9 _pthread_start + 335
8 libsystem_c.dylib 0x9b92e6de thread_start + 34
Thread 4:
0 libsystem_kernel.dylib 0x96220c22 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x962201f6 mach_msg + 70
2 com.apple.CoreFoundation 0x9683d9da __CFRunLoopServiceMachPort + 170
3 com.apple.CoreFoundation 0x96846b04 __CFRunLoopRun + 1428
4 com.apple.CoreFoundation 0x968461dc CFRunLoopRunSpecific + 332
5 com.apple.CoreFoundation 0x96856f01 CFRunLoopRun + 129
6 com.apple.FWAVCPrivate 0x02404763 _ZN3AVSL27AVCVideoServicesThreadStartEPNS_28AVCVideoServicesThreadParamsE + 254
7 libsystem_c.dylib 0x9b92aed9 _pthread_start + 335
8 libsystem_c.dylib 0x9b92e6de thread_start + 34
Thread 5:: WebCore: LocalStorage
0 libsystem_kernel.dylib 0x9622283e __psynch_cvwait + 10
1 libsystem_c.dylib 0x9b92ee21 _pthread_cond_wait + 827
2 libsystem_c.dylib 0x9b8df42c pthread_cond_wait$UNIX2003 + 71
3 com.apple.JavaScriptCore 0x93f3be81 ***::ThreadCondition::timedWait(***::Mutex&, double) + 81
4 com.apple.WebCore 0x9ade5501 ***::MessageQueue<WebCore::LocalStorageTask>::waitForMessage() + 135
5 com.apple.WebCore 0x9ade5454 WebCore::LocalStorageThread::threadEntryPoint() + 74
6 com.apple.WebCore 0x9ade53b1 WebCore::LocalStorageThread::threadEntryPointCallback(void*) + 17
7 libsystem_c.dylib 0x9b92aed9 _pthread_start + 335
8 libsystem_c.dylib 0x9b92e6de thread_start + 34
Thread 6:
0 libsystem_kernel.dylib 0x9622283e __psynch_cvwait + 10
1 libsystem_c.dylib 0x9b92ee78 _pthread_cond_wait + 914
2 libsystem_c.dylib 0x9b92ef7b pthread_cond_timedwait_relative_np + 47
3 com.apple.CoreServices.CarbonCore 0x942693a7 TSWaitOnConditionTimedRelative + 178
4 com.apple.CoreServices.CarbonCore 0x9426911d TSWaitOnSemaphoreCommon + 490
5 com.apple.CoreServices.CarbonCore 0x94268f2e TSWaitOnSemaphoreRelative + 24
6 com.apple.QuickTimeComponents.component 0x916b4516 0x910c8000 + 6210838
7 libsystem_c.dylib 0x9b92aed9 _pthread_start + 335
8 libsystem_c.dylib 0x9b92e6de thread_start + 34
Thread 7:: jpegdecompress_MPLoop
0 libsystem_kernel.dylib 0x9622283e __psynch_cvwait + 10
1 libsystem_c.dylib 0x9b92ee78 _pthread_cond_wait + 914
2 libsystem_c.dylib 0x9b8d682a pthread_cond_wait + 48
3 com.apple.QuickTimeComponents.component 0x917d6553 0x910c8000 + 7398739
4 libsystem_c.dylib 0x9b92aed9 _pthread_start + 335
5 libsystem_c.dylib 0x9b92e6de thread_start + 34
Thread 8:: JavaScriptCore::Marking
0 libsystem_kernel.dylib 0x9622283e __psynch_cvwait + 10
1 libsystem_c.dylib 0x9b92ee21 _pthread_cond_wait + 827
2 libsystem_c.dylib 0x9b8df42c pthread_cond_wait$UNIX2003 + 71
Thread 9:: JavaScriptCore::BlockFree
0 libsystem_kernel.dylib 0x9622283e __psynch_cvwait + 10
1 libsystem_c.dylib 0x9b92ee21 _pthread_cond_wait + 827
2 libsystem_c.dylib 0x9b8df3e0 pthread_cond_timedwait$UNIX2003 + 70
3 com.apple.JavaScriptCore 0x93f3becc ***::ThreadCondition::timedWait(***::Mutex&, double) + 156
4 com.apple.JavaScriptCore 0x94189c33 JSC::Heap::blockFreeingThreadMain() + 323
5 com.apple.JavaScriptCore 0x94189c6f JSC::Heap::blockFreeingThreadStartFunc(void*) + 15
6 libsystem_c.dylib 0x9b92aed9 _pthread_start + 335
7 libsystem_c.dylib 0x9b92e6de thread_start + 34
Thread 10:
0 libsystem_kernel.dylib 0x9622283e __psynch_cvwait + 10
1 libsystem_c.dylib 0x9b92ee78 _pthread_cond_wait + 914
2 libsystem_c.dylib 0x9b92ef7b pthread_cond_timedwait_relative_np + 47
3 com.apple.CoreServices.CarbonCore 0x942693a7 TSWaitOnConditionTimedRelative + 178
4 com.apple.CoreServices.CarbonCore 0x9426911d TSWaitOnSemaphoreCommon + 490
5 com.apple.CoreServices.CarbonCore 0x94268f2e TSWaitOnSemaphoreRelative + 24
6 com.apple.CoreServices.CarbonCore 0x9429be53 AIOFileThread(void*) + 1019
7 libsystem_c.dylib 0x9b92aed9 _pthread_start + 335
8 libsystem_c.dylib 0x9b92e6de thread_start + 34
Thread 11:
0 libsystem_kernel.dylib 0x9622302e __workq_kernreturn + 10
1 libsystem_c.dylib 0x9b92cccf _pthread_wqthread + 773
2 libsystem_c.dylib 0x9b92e6fe start_wqthread + 30
Thread 12:
0 libsystem_kernel.dylib 0x9622302e __workq_kernreturn + 10
1 libsystem_c.dylib 0x9b92cccf _pthread_wqthread + 773
2 libsystem_c.dylib 0x9b92e6fe start_wqthread + 30
Thread 13:
0 libsystem_kernel.dylib 0x9622302e __workq_kernreturn + 10
1 libsystem_c.dylib 0x9b92cccf _pthread_wqthread + 773
2 libsystem_c.dylib 0x9b92e6fe start_wqthread + 30
Thread 14:: JavaScriptCore::Marking
0 libsystem_kernel.dylib 0x9622283e __psynch_cvwait + 10
1 libsystem_c.dylib 0x9b92ee21 _pthread_cond_wait + 827
2 libsystem_c.dylib 0x9b8df42c pthread_cond_wait$UNIX2003 + 71
Thread 15:: JavaScriptCore::BlockFree
0 libsystem_kernel.dylib 0x9622283e __psynch_cvwait + 10
1 libsystem_c.dylib 0x9b92ee21 _pthread_cond_wait + 827
2 libsystem_c.dylib 0x9b8df3e0 pthread_cond_timedwait$UNIX2003 + 70
3 com.apple.JavaScriptCore 0x93f3becc ***::ThreadCondition::timedWait(***::Mutex&, double) + 156
4 com.apple.JavaScriptCore 0x94189c33 JSC::Heap::blockFreeingThreadMain() + 323
5 com.apple.JavaScriptCore 0x94189c6f JSC::Heap::blockFreeingThreadStartFunc(void*) + 15
6 libsystem_c.dylib 0x9b92aed9 _pthread_start + 335
7 libsystem_c.dylib 0x9b92e6de thread_start + 34
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00000001 ebx: 0xbfffe5ac ecx: 0x00000da0 edx: 0x0ce724a8
edi: 0x0e0f0000 esi: 0x0cebf1b4 ebp: 0x0cec9d00 esp: 0x0ce72408
ss: 0x00000023 efl: 0x00010216 eip: 0x0ceb9398 cs: 0x0000001b
ds: 0x00000023 es: 0x00000023 fs: 0x00000000 gs: 0x0000000f
cr2: 0x1d13b878
Logical CPU: 1
Binary Images:
0x1000 - 0x334ffc com.apple.iMovie8 (8.0.6 - 821) <CD0B8453-4663-7F8C-EFF4-926EAB254B2A> /Applications/iMovie.app/Contents/MacOS/iMovie
0x3d2000 - 0x3e0fff com.apple.opengl (1.7.7 - 1.7.7) <2D362F15-5EA6-37B6-9BCB-58F2C599ACDA> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x3e8000 - 0x421fe3 com.apple.MPEG2TSDecoder (1.0 - 84) <75EC884A-7300-87B1-7E3A-A2B156BD4D79> /Applications/iMovie.app/Contents/Frameworks/Mpeg2TsDecoder.framework/Versions/ A/Mpeg2TsDecoder
0x459000 - 0x47afff com.apple.iWidgets (1.0.0 - 24) /Applications/iMovie.app/Contents/Frameworks/iWidgets.framework/Versions/A/iWid gets
0x48d000 - 0x530ff4 com.apple.DotMacKit (47 - 3.0.2L) <5C3FF2BA-7124-3DF9-B197-19DD4D543798> /Applications/iMovie.app/Contents/Frameworks/DotMacKit.framework/Versions/A/Dot MacKit
0x596000 - 0x597ff7 com.apple.Helium (3.0.0 - 157) <22FD7CB4-024E-3065-EB67-262ABF99636E> /Applications/iMovie.app/Contents/Frameworks/Helium.framework/Versions/A/Helium
0x59d000 - 0x59efff +com.bensyverson.dvmatte.autopicker (1.0 - 1.0) <5FB2D0C9-D6D7-036E-F739-DA7CE5BAD36E> /Applications/iMovie.app/Contents/Frameworks/DVMAutopick.framework/Versions/A/D VMAutopick
0x5a4000 - 0x5d2fe7 libSystem.B.dylib (159.1.0 - compatibility 1.0.0) <0D8984D3-BFCF-35A7-AA71-BEDC92126B7E> /usr/lib/libSystem.B.dylib
0x5df000 - 0x1074ff6 com.apple.AppKit (6.7.3 - 1138.47) <D8CD06D7-F18C-39BE-BC68-B343F87F0469> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x154e000 - 0x1811fff com.apple.security (7.0 - 55148.1) <77754898-4FCD-3CA3-9339-F1058C852806> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x1909000 - 0x1abdff3 libicucore.A.dylib (46.1.0 - compatibility 1.0.0) <6AD14A51-AEA8-3732-B07B-DEA37577E13A> /usr/lib/libicucore.A.dylib
0x1b3c000 - 0x1b9afff com.apple.coreui (1.2.2 - 165.10) <C6B099D6-7F02-3971-99B9-E415308959CF> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0x1bc9000 - 0x1bcdff3 libsystem_network.dylib (??? - ???) <62EBADDA-FC72-3275-AAB3-5EDD949FEFAF> /usr/lib/system/libsystem_network.dylib
0x1bd4000 - 0x1be2ff7 libxar-nossl.dylib (??? - ???) <5BF4DA8E-C319-354A-967E-A0C725DC8BA3> /usr/lib/libxar-nossl.dylib
0x1bea000 - 0x1c15fff com.apple.GSS (2.2 - 2.0) <2C468B23-FA87-30B5-B9A6-8C5D1373AA30> /System/Library/Frameworks/GSS.framework/Versions/A/GSS
0x1c2b000 - 0x1c74ff7 libGLU.dylib (??? - ???) <5EE0B644-FAD6-3E3C-A380-9B0CDA0B6432> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x1c82000 - 0x1c87ffd libGFXShared.dylib (??? - ???) <1CA9B41B-2C61-38F8-ABAC-1D5511478F5C> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.d ylib
0x1c8d000 - 0x1c9afff libGL.dylib (??? - ???) <30E6DED6-0213-3A3B-B2B3-310E33301CCB> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x1cab000 - 0x1ce7ffa libGLImage.dylib (??? - ???) <504E7865-571E-38B4-A84A-D7B513AC84F5> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
0x1cef000 - 0x1cf0ffd libCVMSPluginSupport.dylib (??? - ???) <22B85645-AA98-372B-BB55-55DCCF0EC716> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginS upport.dylib
0x1cf5000 - 0x1cf8ffd libCoreVMClient.dylib (??? - ???) <361CCFAF-8565-383F-915F-0B059C793E42> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClien t.dylib
0x1cfd000 - 0x1d26ffe com.apple.opencl (1.50.69 - 1.50.69) <2601993F-F3B3-3737-91AE-4A5795C52CD5> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
0x1d32000 - 0x1ddfff7 libcrypto.0.9.7.dylib (0.9.7 - compatibility 0.9.7) <7B6DB792-C9E5-3772-8734-8D0052757B8C> /usr/lib/libcrypto.0.9.7.dylib
0x1e24000 - 0x1f56fe4 com.apple.Helium.HeliumRender (2.0.0 - 157) <DEA355F6-22DC-68D4-EA7A-EE06C0D7F150> /Applications/iMovie.app/Contents/Frameworks/Helium.framework/Versions/A/Framew orks/HeliumRender.framework/Versions/A/HeliumRender
0x1faf000 - 0x1faffff libmx.A.dylib (2026.0.0 - compatibility 1.0.0) <859B5BCC-B5D9-370F-8B6C-1E2B242D5DCD> /usr/lib/libmx.A.dylib
0x2400000 - 0x2430ff7 com.apple.FWAVCPrivate (52.47 - 47) <8E724EF3-79D6-3B0D-8A57-6E13DA3EACB5> /System/Library/PrivateFrameworks/FWAVCPrivate.framework/FWAVCPrivate
0x24b6000 - 0x25adffb libGLProgrammability.dylib (??? - ???) <FA509930-D201-372B-B787-18CBD8477D06> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgramma bility.dylib
0x25d1000 - 0x25feff8 GLRendererFloat (??? - ???) <70ADE58D-B399-3279-9774-2D5929D5FCB1> /System/Library/Frameworks/OpenGL.framework/Resources/GLRendererFloat.bundle/GL RendererFloat
0x47a5000 - 0x4912ffb GLEngine (??? - ???) <D73F1031-6DD3-38EB-966B-7A2C9F17F023> /System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine
0x4946000 - 0x4fd7fe3 libclh.dylib (4.0.3 - 4.0.3) <8A4B12EC-F8F1-3D5E-945D-56467F8F4476> /System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/libclh.dylib
0x508f000 - 0x5091fff com.apple.AddressBook.LocalSourceBundle (1.4 - 1090) <61BC69A7-F09E-3CD9-A4CD-FAB46898E9DD> /System/Library/Address Book Plug-Ins/LocalSource.sourcebundle/Contents/MacOS/LocalSource
0x5096000 - 0x5099ffe com.apple.DirectoryServicesSource (1.4 - 1090) <D9ED3AB9-2F3E-3331-84B5-EDDDBBC1F371> /System/Library/Address Book Plug-Ins/DirectoryServices.sourcebundle/Contents/MacOS/DirectoryServices
0x5f9b000 - 0x5ff6fff com.apple.AddressBook.CardDAVPlugin (10.7.2 - 200) <8A30F13D-0ED4-32F5-829C-4FECEE3C535D> /System/Library/Address Book Plug-Ins/CardDAVPlugin.sourcebundle/Contents/MacOS/CardDAVPlugin
0x7612000 - 0x7612fff com.apple.iLMBAppDefPlugin (2.6.3 - 288.3.32) <2DD0403B-5608-3BE8-B005-27F92AC570F4> /Library/Application Support/iLifeMediaBrowser/*/iLMBAppDefPlugin
0x95c0000 - 0x95c1fff com.apple.iLMBFolderPlugin (2.6.3 - 288.3.32) <D85D3CB7-6A10-3F68-96E9-C9CC5A66255D> /Library/Application Support/iLifeMediaBrowser/*/iLMBFolderPlugin
0x9672000 - 0x9679ff5 com.apple.iLMBAperturePlugin (2.6.3 - 288.3.32) <5E332CFA-0A13-3C06-AF16-EFCC1FDD2038> /Library/Application Support/iLifeMediaBrowser/*/iLMBAperturePlugin
0x9680000 - 0x9689ffc com.apple.iLMBFinalCutPlugin (2.6.3 - 288.3.32) <46FDDF4E-4165-3923-B57A-21D38462C472> /Library/Application Support/iLifeMediaBrowser/*/iLMBFinalCutPlugin
0x968f000 - 0x9692fff com.apple.iLMBGarageBandPlugin (2.6.3 - 288.3.32) <75D95F77-ED1C-31DD-B4D6-BACA044399C3> /Library/Application Support/iLifeMediaBrowser/*/iLMBGarageBandPlugin
0x9698000 - 0x96a3ff3 com.apple.iLMBiMoviePlugin (2.6.3 - 288.3.32) <583F1438-3B57-3B81-AF28-FB82A82054B5> /Library/Application Support/iLifeMediaBrowser/*/iLMBiMoviePlugin
0x96aa000 - 0x96bdff7 com.apple.iLMBiPhoto8Plugin (2.6.3 - 288.3.32) <7A31CC42-9752-3B19-B3D2-7435CB7A0D50> /Library/Application Support/iLifeMediaBrowser/*/iLMBiPhoto8Plugin
0x96c5000 - 0x96cdff3 com.apple.iLMBiPhotoPlugin (2.6.3 - 288.3.32) <845CB0C1-6DF5-3D73-B914-ADCD529DE7E1> /Library/Application Support/iLifeMediaBrowser/*/iLMBiPhotoPlugin
0x96d4000 - 0x96dcff3 com.apple.iLMBiTunesPlugin (2.6.3 - 288.3.32) <26B31C94-C68B-35D2-976D-53869C819FDD> /Library/Application Support/iLifeMediaBrowser/*/iLMBiTunesPlugin
0x96e3000 - 0x96e4ff7 com.apple.iLMBMoviesFolderPlugin (2.6.3 - 288.3.32) <046183A4-8B97-3CF4-929B-F73FE64B6276> /Library/Application Support/iLifeMediaBrowser/*/iLMBMoviesFolderPlugin
0x96e9000 - 0x96ebff8 com.apple.iLMBPhotoBooth2Plugin (2.6.3 - 288.3.32) <96393C47-51C0-3A02-B182-A155B9DBD2A6> /Library/Application Support/iLifeMediaBrowser/*/iLMBPhotoBooth2Plugin
0x96f0000 - 0x96f1ff7 com.apple.iLMBPhotoBoothPlugin (2.6.3 - 288.3.32) <B033393A-644E-32AB-85C4-77D1B30C0850> /Library/Application Support/iLifeMediaBrowser/*/iLMBPhotoBoothPlugin
0x9900000 - 0x9a56ff9 com.apple.iLMBAperture31Plugin (2.6.3 - 288.3.32) <F7E40BA5-4DB1-3486-96E8-1106CC60FD48> /Library/Application Support/iLifeMediaBrowser/*/iLMBAperture31Plugin
0x9a9e000 - 0x9c42ff5 com.apple.iLMBAperturePlugin2012 (2.6.3 - 288.3.32) <44BB86D6-86F9-3877-9137-CDF1DB927554> /Library/Application Support/iLifeMediaBrowser/*/iLMBAperturePlugin2012
0x9c9c000 - 0x9df5ff9 com.apple.iLMBiPhoto9Plugin (2.6.3 - 288.3.32) <F8C6F271-ED94-35D9-A5A1-0BF62F6FAC27> /Library/Application Support/iLifeMediaBrowser/*/iLMBiPhoto9Plugin
0x9e3d000 - 0x9fe2ffd com.apple.iLMBiPhotoPlugin2012 (2.6.3 - 288.3.32) <01BA4581-21CB-37B1-A083-5B3A5717F2EC> /Library/Application Support/iLifeMediaBrowser/*/iLMBiPhotoPlugin2012
0xa03d000 - 0xa0f4ff7 com.apple.iTunesAccess (10.6.3 - 10.6.3) <20F54184-69D0-468A-CEA5-1665192AF5BA> /System/Library/PrivateFrameworks/iTunesAccess.framework/iTunesAccess
0xaa93000 - 0xaa98fe2 libcldcpuengine.dylib (1.50.69 - compatibility 1.0.0) <864BA467-5F11-3B41-B261-894067B8209E> /System/Library/Frameworks/OpenCL.framework/Libraries/libcldcpuengine.dylib
0xaa9f000 - 0xaaa1fff libCoreFSCache.dylib (??? - ???) <5B141DE1-6FC9-3155-833B-23A447A598AB> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreFSCache .dylib
0xaaa9000 - 0xaaa9ffb +cl_kernels (??? - ???) <59153EF5-3CBB-4296-AB67-C8CF34CA39E4> cl_kernels
0xaec9000 - 0xaecaff0 +cl_kernels (??? - ???) <F13753ED-2573-43F6-A8C3-CBF139AA6CF6> cl_kernels
0xc1e2000 - 0xc1e6ffb com.apple.audio.AudioIPCPlugIn (1.2.2 - 1.2.2) <D4092467-5BBE-3ED6-A493-7DB1EE8E6686> /System/Library/Extensions/AudioIPCDriver.kext/Contents/Resources/AudioIPCPlugI n.bundle/Contents/MacOS/AudioIPCPlugIn
0xc1eb000 - 0xc1f0fff com.apple.audio.AppleHDAHALPlugIn (2.2.0 - 2.2.0f3) <BAD1E0E6-10E6-342C-BEB8-B1706F0CE2CF> /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bun dle/Contents/MacOS/AppleHDAHALPlugIn
0xc4cf000 - 0xc4cfff3 +cl_kernels (??? - ???) <582D73FD-C36E-49B0-849E-06D96A4954C9> cl_kernels
0xc4ed000 - 0xc4f4ffe com.apple.AppleGVAHW.component (1.0 - 1) <B7C2F235-194D-36F8-8EAC-9A70B5A29B03> /System/Library/QuickTime/AppleGVAHW.component/Contents/MacOS/AppleGVAHW
0xcc40000 - 0xcc42fff com.apple.podcastproducer.ImageDiffer (1.3 - 245) <004DC137-08A6-3649-BFDB-C882309D6827> /System/Library/Graphics/Quartz Composer Patches/ImageDifferPatch.plugin/Contents/MacOS/ImageDifferPatch
0xcfe4000 - 0xcfe9ffb com.apple.AppleMPEG2Codec (1.0.2 - 220.1) <A9023E7A-7A60-3EB9-9AB1-AAFC8C87B2C1> /Library/QuickTime/AppleMPEG2Codec.component/Contents/MacOS/AppleMPEG2Codec
0xdb1b000 - 0xdb33ff2 com.apple.applepixletvideo (1.2.30 - 1.2d30) <72A0B4BD-DB7A-3C7F-ADB9-6D059F7ABA2B> /System/Library/QuickTime/ApplePixletVideo.component/Contents/MacOS/ApplePixlet Video
0xe5c4000 - 0xe5e5fe7 com.apple.AppleIntermediateCodec (2.0 - 542.4) <1999D33E-4FF4-3282-B357-D68A30427FB7> /Library/QuickTime/AppleIntermediateCodec.component/Contents/MacOS/AppleInterme diateCodec
0xe700000 - 0xe766fff com.apple.AppleProResDecoder (3.0 - 542.6) <262D3868-74C4-38E6-8448-3BEB84721650> /System/Library/QuickTime/AppleProResDecoder.component/Contents/MacOS/AppleProR esDecoder
0xe797000 - 0xe7d0ff3 com.apple.QuickTimeFireWireDV.component (7.7.1 - 2330) <8C6BCE18-BB4B-3507-AF89-433E582DB4F0> /System/Library/QuickTime/QuickTimeFireWireDV.component/Contents/MacOS/QuickTim eFireWireDV
0xe92a000 - 0xe94ffff com.apple.QuartzComposer.ExtraPatches (4.0 - 236.7) <64765331-E282-397D-8DE7-6BB159782CA2> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzCompose r.framework/Versions/A/Resources/ExtraPatches.plugin/Contents/MacOS/ExtraPatches
0xe95f000 - 0xe9abffb com.apple.audio.midi.CoreMIDI (1.8 - 42) <67FE17BA-C921-3D2D-AAC5-B5E9083CE004> /System/Library/Frameworks/CoreMIDI.framework/Versions/A/CoreMIDI
0xeb00000 - 0xeb29fff com.apple.audio.OpenAL (1.5.1 - 1.5.1) <66AB8BA7-6F8A-3D8C-9DAE-D82AF54139BB> /System/Library/Frameworks/OpenAL.framework/Versions/A/OpenAL
0xed00000 - 0xed3fff7 com.apple.AppleVAH264HW.component (3.0 - 3.0) <952FB556-4DBA-35E5-9390-0B944801C63A> /System/Library/QuickTime/AppleVAH264HW.component/Contents/MacOS/AppleVAH264HW
0xef3b000 - 0xf051ff3 com.apple.AppleGVAFramework (2.2.80 - 2.2.80) <D615A7A9-F326-3A95-AAFD-F9AFF8E55517> /System/Library/PrivateFrameworks/AppleGVA.framework/Versions/A/AppleGVA
0x10f58000 - 0x10f84fff com.apple.oxygene.layers.iDVDQCPatches (1.0.0 - 602.0.2) <2F6AD71A-EDFB-66DF-ACBD-46617FDB7C0E> /Applications/iMovie.app/Contents/Resources/iDVDQCPatches.plugin/Contents/MacOS /iDVDQCPatches
0x111eb000 - 0x111efff7 +com.bensyverson.quartzcomposer.dvmatte (1.0 - 1.0) <DC961ABE-200A-E9E3-5CD2-7B98F129D0BF> /Applications/iMovie.app/Contents/Resources/Plugins/dvmatte.plugin/Contents/Mac OS/dvmatte
0x28217000 - 0x282b6ff7 unorm8_rgba.dylib (1.50.69 - compatibility 1.0.0) <3A06E8EA-0335-348A-BCCB-21C3E94AED31> /System/Library/Frameworks/OpenCL.framework/Libraries/ImageFormats/unorm8_rgba. dylib
0x2954f000 - 0x295f0ff7 unorm8_bgra.dylib (1.50.69 - compatibility 1.0.0) <7A0427BD-4FB5-3F4E-A7F8-F760AD944283> /System/Library/Frameworks/OpenCL.framework/Libraries/ImageFormats/unorm8_bgra. dylib
0x70000000 - 0x70141fff com.apple.audio.units.Components (1.7.2 - 1.7.2) <44C7D574-F577-30B8-B74D-F2EF8A5A282A> /System/Library/Components/CoreAudio.component/Contents/MacOS/CoreAudio
0x8effe000 - 0x8f7a3ffb com.apple.GeForceGLDriver (7.18.18 - 7.1.8) <106B3686-32B8-3717-AAE1-95313E72034E> /System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/GeForceGLDrive r
0x8feca000 - 0x8fefcaa7 dyld (195.6 - ???) <60FD3471-A1D7-342E-99A7-3EDECDAEC6EC> /usr/lib/dyld
0x90005000 - 0x90680fe5 com.apple.CoreAUC (6.16.11 - 6.16.11) <E52E2D54-138B-3F44-AA2C-309FB876DF6A> /System/Library/PrivateFrameworks/CoreAUC.framework/Versions/A/CoreAUC
0x90681000 - 0x9098bff3 com.apple.Foundation (6.7.2 - 833.25) <4C52ED74-A1FD-3087-A2E1-035AB3CF9610> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x9098c000 - 0x90a5cffb com.apple.ImageIO.framework (3.1.2 - 3.1.2) <94798A2B-4C7A-30EA-9920-283451BDB9FA> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/ImageIO
0x90a97000 - 0x90ad9ff7 com.apple.CoreMedia (1.0 - 705.78) <D88AC852-8844-3B73-81C8-DF605F00AB40> /System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia
0x90ada000 - 0x90ae2ff3 libunwind.dylib (30.0.0 - compatibility 1.0.0) <E8DA8CEC-12D6-3C8D-B2E2-5D567C8F3CB5> /usr/lib/system/libunwind.dylib
0x90ae3000 - 0x90b35ff3 com.apple.ImageCaptureCore (3.0.3 - 3.0.3) <9C6A4134-0D1D-323F-BD07-1D88D258A7B4> /System/Library/Frameworks/ImageCaptureCore.framework/Versions/A/ImageCaptureCo re
0x90b3c000 - 0x90b44fff com.apple.DiskArbitration (2.4.1 - 2.4.1) <28D5D8B5-14E8-3DA1-9085-B9BC96835ACF> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x90b45000 - 0x90b7bff4 com.apple.LDAPFramework (3.2 - 120.2) <39DF72E3-CDAF-33CC-B2DA-67B8891A5CFF> /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
0x90b7c000 - 0x90c64fff libxml2.2.dylib (10.3.0 - compatibility 10.0.0) <1841196F-68B5-309F-8ED1-6714B1DFEC83> /usr/lib/libxml2.2.dylib
0x90cbf000 - 0x90d4cfe7 libvMisc.dylib (325.4.0 - compatibility 1.0.0) <F2A8BBA3-6431-3CED-8CD3-0953410B6F96> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
0x90d4d000 - 0x90d58ff3 libCSync.A.dylib (600.0.0 - compatibility 64.0.0) <EDA0F56F-CB2C-30BB-940D-C6A25B73C717> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x90d59000 - 0x90d8fff7 com.apple.AE (527.7 - 527.7) <7BAFBF18-3997-3656-9823-FD3B455056A4> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.fram ework/Versions/A/AE
0x90d90000 - 0x90e08ff8 com.apple.CorePDF (3.1 - 3.1) <0074267B-F74A-30FC-8508-A14C821F0771> /System/Library/PrivateFrameworks/CorePDF.framework/Versions/A/CorePDF
0x90e14000 - 0x90e24ff7 libCRFSuite.dylib (??? - ???) <94E040D2-2769-359A-A21B-DB85FCB73BDC> /usr/lib/libCRFSuite.dylib
0x90e25000 - 0x90e42fff libresolv.9.dylib (46.1.0 - compatibility 1.0.0) <2870320A-28DA-3B44-9D82-D56E0036F6BB> /usr/lib/libresolv.9.dylib
0x90e9d000 - 0x90f80ff7 libcrypto.0.9.8.dylib (44.0.0 - compatibility 0.9.8) <BD913D3B-388D-33AE-AA5E-4810C743C28F> /usr/lib/libcrypto.0.9.8.dylib
0x90f81000 - 0x90f86ff7 libmacho.dylib (800.0.0 - compatibility 1.0.0) <943213F3-CC9B-328E-8A6F-16D85C4274C7> /usr/lib/system/libmacho.dylib
0x90fa2000 - 0x90feaff7 com.apple.SystemConfiguration (1.11.3 - 1.11) <68B92FEA-F754-3E7E-B5E6-D512E26144E7> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
0x90feb000 - 0x90ff3ff5 libcopyfile.dylib (85.1.0 - compatibility 1.0.0) <BB0C7B49-600F-3551-A460-B7E36CA4C4A4> /usr/lib/system/libcopyfile.dylib
0x90ff4000 - 0x90ffdffb com.apple.aps.framework (2.1 - 2.1) <498C8125-A32E-3554-B4B1-8F416623D45C> /System/Library/PrivateFrameworks/ApplePushService.framework/Versions/A/ApplePu shService
0x9102d000 - 0x9104fff8 com.apple.PerformanceAnalysis (1.11 - 11) <453463FF-7C42-3526-8C96-A9971EE07154> /System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/Perf ormanceAnalysis
0x910c7000 - 0x910c7fff com.apple.Accelerate (1.7 - Accelerate 1.7) <4192CE7A-BCE0-3D3C-AAF7-6F1B3C607386> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x910c8000 - 0x91e18ffb com.apple.QuickTimeComponents.component (7.7.1 - 2330) <91F3ABCA-3BB8-3B01-AA3F-37B3D798755A> /System/Library/QuickTime/QuickTimeComponents.component/Contents/MacOS/QuickTim eComponents
0x91e1f000 - 0x91e87ff3 com.apple.ISSupport (1.9.8 - 56) <59225A65-41C1-35CA-9F29-229AC427B728> /System/Library/PrivateFrameworks/ISSupport.framework/Versions/A/ISSupport
0x91e88000 - 0x91f1eff7 com.apple.LaunchServices (480.33 - 480.33) <5A4BF529-391E-3987-940E-287ACE56078A> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchS ervices.framework/Versions/A/LaunchServices
0x91f1f000 - 0x92265fff com.apple.MediaToolbox (1.0 - 705.78) <E6990E4A-B562-3051-86A6-B39E040BF766> /System/Library/PrivateFrameworks/MediaToolbox.framework/Versions/A/MediaToolbo x
0x92323000 - 0x92375ff7 libFontRegistry.dylib (??? - ???) <96E9602C-DFD3-3021-8090-60228CC80D26> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/Resources/libFontRegistry.dylib
0x92376000 - 0x9238bff7 com.apple.ImageCapture (7.0.1 - 7.0.1) <1C8933A9-C7C6-36E9-9D8B-0EF08ACA3315> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture. framework/Versions/A/ImageCapture
0x9238d000 - 0x92395ff3 liblaunch.dylib (392.38.0 - compatibility 1.0.0) <D7F6E875-263A-37B5-B403-53F76710538C> /usr/lib/system/liblaunch.dylib
0x923ba000 - 0x923dbfff com.apple.framework.internetaccounts (1.2 - 3) <5A5099CB-8F73-3425-BAB1-FF6CD624143C> /System/Library/PrivateFrameworks/InternetAccounts.framework/Versions/A/Interne tAccounts
0x923dc000 - 0x92463fff com.apple.print.framework.PrintCore (7.1 - 366.3) <EEC03CAB-7F79-3931-87FE-4DF0B767BF47> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
0x92464000 - 0x92481ff3 com.apple.openscripting (1.3.3 - ???) <33713C0B-B7D5-37AA-87DB-2727FDCC8007> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting .framework/Versions/A/OpenScripting
0x92635000 - 0x92669ff8 libssl.0.9.8.dylib (44.0.0 - compatibility 0.9.8) <567E922C-E64F-321B-9A47-6B18BF481625> /usr/lib/libssl.0.9.8.dylib
0x9266a000 - 0x92697ff9 com.apple.securityinterface (5.0 - 55022.4) <B59D9B2A-7FB8-32EC-B8D9-6D4DE76508F7> /System/Library/Frameworks/SecurityInterface.framework/Versions/A/SecurityInter face
0x92698000 - 0x926e9ff9 com.apple.QuickLookFramework (3.2 - 500.16) <725FAE01-1597-38C7-841D-D9D83358921E> /System/Library/Frameworks/QuickLook.framework/Versions/A/QuickLook
0x926ea000 - 0x926ecffb libRadiance.dylib (??? - ???) <4721057E-5A1F-3083-911B-200ED1CE7678> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x92713000 - 0x92b07ffb com.apple.VideoToolbox (1.0 - 705.78) <BE955448-F79F-3136-A4AF-6EDBAFEDD9C2> /System/Library/PrivateFrameworks/VideoToolbox.framework/Versions/A/VideoToolbo x
0x92b59000 - 0x92cbbffb com.apple.QuartzCore (1.7 - 270.4) <6BC84C60-1003-3008-ABE4-779EF7B4F524> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x92e04000 - 0x92e73fff com.apple.Heimdal (2.2 - 2.0) <2E1B8779-36D4-3C62-A67E-0034D77D7707> /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
0x92e74000 - 0x92edcff7 libc++.1.dylib (28.1.0 - compatibility 1.0.0) <FE3304C5-C000-3DA0-9E53-0E4CA074B73B> /usr/lib/libc++.1.dylib
0x92edd000 - 0x92ee1ffa libcache.dylib (47.0.0 - compatibility 1.0.0) <56256537-6538-3522-BCB6-2C79DA6AC8CD> /usr/lib/system/libcache.dylib
0x92ef1000 - 0x92ef9fff com.apple.AOSNotification (1.4.0 - 504.1) <DB0B29CD-8Hi,
Please help.
How did you manage to resolve this. I have similar issues.
I have SAP_ALL and can run the reports without problems but users have error message
general exception in deploy transformation for object "WEB_TEMPLATE"
thanks -
ORA-00936 error from SQL expression in SQL*Loader script
I am getting the above error on the following line in my SQL*Loader script:
DIA_CLM_RES_OID DECIMAL EXTERNAL
"SELECT N_ORG_ENTY_ID FROM TESTG4.ORG_ENTITY
WHERE N_USER_ID =
(SELECT UNIQUE WSR_NT_ID FROM CONV_CLM_RESOURCE
WHERE CLM_RES_OID = :DIA_CLM_RES_OID)",
What I am basically trying to do is a 2-table lookup of a value:
1. Find a row in table CONV_CLM_RESOURCE where the value in column CLM_RES_OID matches the value in the input file in field DIA_CLM_RES_OID.
2. Take the value of field WSR_NT_ID from that row and use it to find a row in table TESTG4.ORG_ENTITY.
3. Take the value of field WSR_NT_ID from that row and set it in the target table in field DIA_CLM_RES_OID.
In other words, I am essentially trying to translate the input value by using two other tables to lookup the value to translate to. However, no matter how I arrange it, I keep getting the "ORA-00936: missing expression" error on this statement.
Can anyone see what I am doing wrong, or perhaps suggest a better way of accomplishing a two-table translation of a value?
Thanks!Still not sure why this doesn't work, but I was able to create and use a function to do this instead, which is probably a better approach anyway.
-
Owb beta 3 / master detail mapping with sequence ora-00936 error
I'm not able to use sequence operator in mapping to create relationships between different record type from the same flat file. I have got an sql error ORA-00936: expression absente
The problem seem to be the sequence is not referenced in the sql loader parameter. The sequence exists, was deployed sucessfully, the mapping is validated and successfully deployed. The problem occurs during executionGood afternoon "micwic",
In general, mappings with flat files make use of data generators, not sequence operators. This is what the User Guide (10gR1 but I guess R2 works similar) says for the Data Generator Operator :
Use a Data Generator operator to provide information such as record number, system date, and sequence values.
For mappings with flat file sources, the Data Generator operator also provides a place to enter constant information. For mappings with Flat File sources and targets, the Data Generator operator connects the mapping to SQL*Loader to generate the data stored in the database record.
The following functions are available:
RECNUM
SYSDATE
SEQUENCE
It is possible for Warehouse Builder to generate data by specifying only sequences, record numbers, system dates, and constants as field specifications. SQL*Loader inserts as many records as are specified by the LOAD keyword.
Setting a Column to the Data File Record Number
Use the RECNUM keyword to set an attribute to the number of the records that tthe record was loaded from. Records are counted sequentially from the beginning of the first data file, starting with record 1. RECNUM increments as each logical record is assembled. It increments for records that are discarded, skipped, rejected, or loaded.
For example, if you use the option SKIP=10, the first record loaded has a RECNUM of 11.
Setting a Column to the Current Date
A column specified with SYSDATE gets the current system date, as defined by the SQL language SYSDATE function.
The target column must be of type CHAR or DATE. If the column is of type CHAR, then the date is loaded in the format dd-mon-yy. After the load, you only access it in that format. If the system date is loaded into a DATE column, then you can only access it in a variety of formats including the time and the date. A new system date/time is used for each array of records inserted in a conventional path load and for each block of records loaded during a direct path load.
Setting a Column to a Unique Sequence Number
The SEQUENCE keyword ensures a unique value for a column. SEQUENCE increments for each record that is loaded or rejected. It does not increment for records that are discarded or skipped.
Recommendation: For PL/SQL mappings use a Constant Operator or Mapping Sequence Operator instead of a Data Generator.
etc.
Good luck, Patrick -
Question on using Distinct operator and avoiding ORA-00936 error
I may have answered my own question, by searching the OTN forums, but I just want to confirm what I've learned.
I'm trying to use a distinct on one of my columns, where I am pulling multiple columns, and trying to avoid duplicate entries. From most of my textbook example, when an example is using a distinct, they were only pulling one column.
From my example below, when I try to use a distinct, I get the following error: ORA-00936: missing expression:
select p.list_id, distinct(p.associate_id), d.first, d.last, c.street1, c.street2, c.city, c.state, c.country, c.postal_code, c.email
from sf.profiles p, demographics d, contact_info c
where p.entity_id = d.entity_id
and p.entity_id = c.entity_id
and p.list_id = 111
and associate_id in (insert associate_id in here
);Once I searched OTN, I saw some examples, where they had the distinct operator as the first column. So I switched it with p.list_id, and the query ran find.
select distinct p.associate_id, p.list_id, d.first, d.last, c.street1, c.street2, c.city, c.state, c.country, c.postal_code, c.email
from sf.profiles p, demographics d, contact_info c
where p.entity_id = d.entity_id
and p.entity_id = c.entity_id
and p.list_id = 111
and associate_id in (insert associate_id in here);So, does the distinct operator have to go first, if using multiple columns?
thanks
Message was edited by:
cmmillerWith or without parenthesis, it's a distinct clause for all columns in select statement:
SQL> select * from tt1;
ID T
10203 1
10203 2
SQL> select distinct(id), text from tt1;
ID T
10203 1
10203 2
SQL> select id, text from tt1;
ID T
10203 1
10203 2
SQL> Nicolas. -
EXPORT MEET ORA-O3113 ERROR!
In my database there are two scheama t1 ,t2.
When I use the command 'export' to export the
data in 'USER' mode,one of the scheama t1 meet the oracle error ORA-3113,but the other t2 is ok!
the error occured when t1's tables are exported and would be exported its synonyms!
I will be appricated if anyone can help me!
nullhi
This error is caused usually when a connection has broken for some reason.
Is it reproduceable error or did u get it only once.
Pelase check the trace files .
thanks
devi -
Export meet ora-3113 error!
In my database there are two scheama t1 ,t2.
When I use the command 'export' to export the
data in 'USER' mode,one of the scheama t1 meet the oracle error ORA-3113,but the other t2 is ok!
the error occured when t1's tables are exported and would be exported its synonyms!
I will be appricated if anyone can help me!
nullORA-00600/ORA-07445/ORA-03113 = Oracle bug => search on Metalink and/or call Oracle support
-
1.5.3 - Export results to XLS ORA-00936
SQL Developer 1.5.3, JDK 1.6.0_11, and Oracle 10.2.0.3.0.
Try to export SQL results to XLS. Get an oracle error.
An error was encountered performing the requested operation:
ORA-00936: missing expression
00936. 00000 - "missing expression"
*Cause:
*Action:
Vendor code 936
I am unable to export any SQL results.
I am able to export results from SQL Developer 1.5.0 JDK 1.6.0_11, and Oracle 10.2.0.3.0.
Thanks
DennisI have the same error running the latest jdk 1.6 and sqldeveloper 1.5.3...I'm trying to export data from a 10.2.0.4 db...below is the stack trace:
java.lang.NullPointerException
at oracle.dbtools.raptor.dialogs.export.ColumnPanel.addColumnsToTree(ColumnPanel.java:86)
at oracle.dbtools.raptor.dialogs.export.ColumnPanel.showPanel(ColumnPanel.java:62)
at oracle.dbtools.raptor.dialogs.export.ColumnPanel.<init>(ColumnPanel.java:51)
at oracle.dbtools.raptor.dialogs.actions.TableExportAction.showPanels(TableExportAction.java:288)
at oracle.dbtools.raptor.dialogs.actions.TableExportAction.launch(TableExportAction.java:158)
at oracle.dbtools.raptor.format.ui.ExportContextMenuListener$1.actionPerformed(ExportContextMenuListener.java:136)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Edited by: user2893625 on Dec 23, 2008 7:06 AM -
Hi All,
I had created a IR report based on a table and it was working with no issues. But after few days, when I try searching using the IR search bar it shows "ORA-20001: get_dbms_sql_cursor error ORA-00936: missing expression" error message. I don't see any debug messages or errors in the debug window. The Finder drop down is empty too, there are no columns displayed to filter.
When I recreate the IR report(new page) based on the same table, It works fine and there are no issues with the search. But the old IR report search doesnt work. I have not modified the any thing in the old report after initial creation. Report uses Primary key based on a sequence.
What might have caused this issue?
Is there a way to intercept the search query from IR report?
Apex version - 4.2.3.00.08.
Any help on this appreciated.
Thanks,
JaganHi MK, as I had mentioned in my post, I don't see any logs in the debug window, query tab.
Can you please guide me how to check the query logs on search?
Thanks,
Jagan -
Hi ,
I am using Oracle report 10G
And trying to create report with dynamic table
SELECT &COL1, &COL2
FROM &TAB
If I put this on data model it gives below error
ORA-00936: missing expression
==> from
Can anybody advise to solve this issue.
Regards,
BrajeshLook in the Reports Builder Help:
If you want to use lexical references in your SELECT clause, you should create a separate lexical reference for each column you will substitute. In addition, you should assign an alias to each lexical reference.
Does adding the column alias solve the problem? -
Oracle 10g EE Export Results in ORA-01001: invalid cursor Error
Hi,
I'm quite new to Oracle 10g and OCS10g. We have a crippled/corrupt SYSAUX tablespace (data file 3) which cannot be recovered using recover
command anymore. So metalink support instructed us to do a export of the metadata of the working tablespace which contains our system data (we are in configuration stage for OCS 10g 10.1.2) via transportable tablespaces so that I can just recreate the database in DBCA and import the metadata. So after I made a cold backup, set the "transportable" tablespaces to "READ ONLY" mode, I proceeded w/ the export command which resulted in an error, please see below:
$exp \'sys/********@ocs10gSID as sysdba\' parfile=transport.par
Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.4.2 -
Production
With the Partitioning, Real Application Clusters, OLAP and Data Mining options
Export done in US7ASCII character set and AL16UTF16 NCHAR character set
server uses AL32UTF8 character set (possible charset conversion)
Note: table data (rows) will not be exported
About to export transportable tablespace metadata...
EXP-00008: ORACLE error 1001 encountered
ORA-01001: invalid cursor
ORA-06512: at "SYS.DBMS_SYS_SQL", line 899
ORA-06512: at "SYS.DBMS_SQL", line 19
ORA-06512: at "SYS.DBMS_TTS", line 811
ORA-00376: file 3 cannot be read at this time
ORA-01110: data file 3: '/ocfs/oradata/OCS/datafile/o1_mf_sysaux_2mgzbr51_.dbf'
ORA-06512: at "SYS.DBMS_PLUGTS", line 1444
ORA-06512: at line 1
Anyone encountered this problem before? Any recommendations or tips to get this working?
I checked this url:"http://luhartma.blogspot.com/2006/05/how-to-check-if-tablespace-is.html"
And when I try to follow the instructions and check on of the tablespace I set to and verified to be in "READ ONLY" mode, I get the same error.
SQL> connect / as sysdba
Connected.
SQL> exec dbms_tts.TRANSPORT_SET_CHECK('PORTAL',TRUE)
BEGIN dbms_tts.TRANSPORT_SET_CHECK('PORTAL',TRUE); END;
ERROR at line 1:
ORA-01001: invalid cursor
ORA-06512: at "SYS.DBMS_SYS_SQL", line 899
ORA-06512: at "SYS.DBMS_SQL", line 19
ORA-06512: at "SYS.DBMS_TTS", line 811
ORA-00376: file 3 cannot be read at this time
ORA-01110: data file 3: '/ocfs/oradata/OCS/datafile/o1_mf_sysaux_2mgzbr51_.dbf'
ORA-06512: at "SYS.DBMS_TTS", line 840
ORA-06512: at line 1
Hope someone can help on this or at least provide a suggestion. Data file 3 above is the reason we are doing a transportable tablespace export & db recreation.
BTW what we have is:
OCS 10g 10.1.2 w/ Oracle RDBMS 10g Enterprise Edition 10.1.0.4.2
RHEL4 Update2
Thanks in advance.
Regards,
-KenthHi,
The status is "RECOVER" we have actually tried to recover but unfortunately the archive logs that were needed were on disks and were lost during one of the server hardware failures. Actually that is the reason why metalink support recommended this route for getting everything in order since we don't have any application data in SYSAUX yet.
Thanks. -
Report error ORA-00936 (correction) urgent
I wrote a quey
select cardno,name,incharge,phone,fax,email from agreement
ORDER BY &SORT;
and getting an erro ora-00936 missing expression,
why this error is shown,
i want to make a lexical paramater , and want to give end user the option to choose from a list (to order by) the report,
please tell me the solutionHello,
http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwwhthow/whatare/dmobj/sq_a_lexical_references.htm
You create a lexical reference by typing an ampersand (&) followed immediately by the column or parameter name. A default definition is not provided for lexical references. Therefore, you must do the following:
Before you create your query, define a column or parameter in the data model for each lexical reference in the query. For columns, you must set the Value if Null property, and, for parameters, you must set the Initial Value property. Reports Builder uses these values to validate a query with a lexical reference.
Create your query containing lexical references.
Regards -
ERROR: ORACLE prepare error: ORA-00936: missing expression
Hello,
I am required to run "pass-through" Oracle SQL, to extract data from tables into SAS for processing and manipulation. My code (attached) reads and writes (executes) but with zero records to test first. I cannot get past the Prepare Error.
The query is very much like other queries that seem to work, but I cannot get past this prepare error. I have no other access to individauls with adequate knowledge of PL SQL, and as a last stop hoped others in the forum could quickly spot the source of errror.
Thanks very much in advance for any assistance.
Jeff
1 ;*';*";*/;quit;run;
2 OPTIONS PAGENO=MIN;
3 %LET _CLIENTTASKLABEL=%NRBQUOTE(rx_biplr_v3_2);
4 %LET _EGTASKLABEL=%NRBQUOTE(rx_biplr_v3_2);
5 %LET _CLIENTPROJECTNAME=%NRBQUOTE();
6 %LET _SASPROGRAMFILE=;
7
8 ODS _ALL_ CLOSE;
NOTE: Some of your options or statements may not be supported with the Activex or Java series of devices. Graph defaults for these
drivers may be different from other SAS/GRAPH device drivers. For further information, please contact Technical Support.
9 OPTIONS DEV=ACTIVEX;
10 FILENAME EGHTML TEMP;
NOTE: Writing HTML(EGHTML) Body file: EGHTML
11 ODS HTML(ID=EGHTML) FILE=EGHTML ENCODING='utf-8' STYLE=EGDefault
11 ! STYLESHEET=(URL="file:///C:/Program%20Files/SAS/Shared%20Files/BIClientStyles/EGDefault.css")
11 ! ATTRIBUTES=("CODEBASE"="http://www2.sas.com/codebase/graph/v91/sasgraph.exe") NOGTITLE NOGFOOTNOTE GPATH=&sasworklocation
11 ! ;
12
13 %gaccessible;
14 /********************************************************/
15 * RX_BIPLR_V3.SAS ;
16 /********************************************************/
17
18 dm 'log;clear;out;clear';
19 options linesize =120;
20 Option obs=0 NoReplace;
21
22 ****************************************************************************************;
23 *Date Programmer Reviewed By WHAT WAS DONE;
24 *----- -------------- ------------ -----------------------------------------;
25 *2005 David Boyd Program creation for test population;
26 *;
27 *02/06/2006 Ivon Jones Modified to include total population;
28 *;
29 *07/20/2006 Ivon Jones Identified data elements for exclusion;
30 * or inclusion for consolidation with ;
31 * Robin's report;
32 *;
33 *08/18/2006 Ivon Jones Updated the Specific Therapeutic Classes;
34 * 10-2009 J Shaf - modified to extract actual or potential Bipolar Dx from UBH and Medical Claims;
35 ****************************************************************************************;
36
37
38
39 *%let allclmorgn = ('M','A') ; /* all claims origin code */
40 %let begdate='01SEP2009'd;
41 %let enddate='30SEP2009'd;
42 %let q = %str(%') ;
43
44
45 data _null_ ;
46 call symput('fdos',put(intnx('month',"&begdate"d,-27,'beginning'), date9.) ) ;
47 call symput('ldos',put(intnx('month',"&enddate"d,-0,'ending'), date9.) ) ;
48 run ;
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
2 The SAS System 11:44 Friday, October 30, 2009
cpu time 0.01 seconds
49
50
51
52 **************************************************************;
53 * ??Use the data _null_ step to create a macro variable for the ;
54 * year and month based on the ldos macro variable in the data ;
55 * step above?? ;
56 **************************************************************;
57
58
59 data _null_ ;
60 if month("&ldos"d) < 10
61 then call symput('yr_mo',compress(year("&ldos"d) || '0' || month("&ldos"d) ) ) ;
62 else call symput('yr_mo',compress(year("&ldos"d) || month("&ldos"d) ) ) ;
63 run ;
NOTE: Numeric values have been converted to character values at the places given by: (Line):(Column).
61:39 61:64 62:39 62:57
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
64
65 *%put &biplr_dx;
66 %put &begdate ;
'01SEP2009'd
67 %put &enddate ;
'30SEP2009'd
68 %put &fdos ;
01JUN2007
69 %put &ldos ;
30SEP2009
70 %put &q ;
71
72
73 libname biplr'/home/jshafi01/projects/adhoc/biplr_dprsn/data';
NOTE: Libref BIPLR was successfully assigned as follows:
Engine: V9
Physical Name: /home/jshafi01/projects/adhoc/biplr_dprsn/data
74 libname rosdwp oracle user="&oracle_user." pass="&oracle_pass." buffsize=32767 path='rosdwp';
NOTE: Libref ROSDWP was successfully assigned as follows:
Engine: ORACLE
Physical Name: rosdwp
75
76 data work.biplr_up_v1;
77 attrib mbr_id length=$26;
78 set biplr.biplr_ubh_med_v1;
79 run;
NOTE: There were 0 observations read from the data set BIPLR.BIPLR_UBH_MED_V1.
NOTE: The data set WORK.BIPLR_UP_V1 has 0 observations and 1 variables.
NOTE: DATA statement used (Total process time):
real time 0.01 seconds
3 The SAS System 11:44 Friday, October 30, 2009
cpu time 0.00 seconds
80
81 proc contents;
82 run;
NOTE: PROCEDURE CONTENTS used (Total process time):
real time 0.03 seconds
cpu time 0.03 seconds
83
84 proc datasets
85 library = rosdwp nolist;
86 delete biplr_up_v1;
87 quit;
NOTE: Deleting ROSDWP.BIPLR_UP_V1 (memtype=DATA).
NOTE: PROCEDURE DATASETS used (Total process time):
real time 3.74 seconds
cpu time 0.03 seconds
88
89 proc datasets
90 library=work nolist;
91 copy out = rosdwp move;
92 select biplr_up_v1 ;
93 quit;
NOTE: Moving WORK.BIPLR_UP_V1 to ROSDWP.BIPLR_UP_V1 (memtype=DATA).
NOTE: SAS variable labels, formats, and lengths are not written to DBMS tables.
NOTE: There were 0 observations read from the data set WORK.BIPLR_UP_V1.
NOTE: The data set ROSDWP.BIPLR_UP_V1 has 0 observations and 1 variables.
NOTE: PROCEDURE DATASETS used (Total process time):
real time 0.32 seconds
cpu time 0.04 seconds
94
95
96
97 *****************************************************************************;
98
99 *execute(commit) by rosdwp
100 ******************************************************************************;
101
102
103 proc SQL noprint ;
104 connect to oracle as rosdwp (user="&oracle_user." password="&oracle_pass" buffsize=32767 path='rosdwp'
104 ! preserve_comments);
105 execute(alter session set nls_date_format = 'ddmonyyyy') by rosdwp;
106 CREATE table biplr_rx as
107 SELECT
108 mrb_id,
109 pcp_spc,
110 rx_date,
4 The SAS System 11:44 Friday, October 30, 2009
111 brand,
112 generic,
113 ahfs_cd,
114 ahfs_dsc,
115 lbl,
116 strngth,
117 unt,
118 spc_tx_cls_cd,
119 spc_tx_cls_dsc,
120 gcn,
121 rx_num,
122 rx_ingrd,
123 rx_paid,
124 rx_cnt,
125 rx_qty,
126 rx_day
127 FROM connection to rosdwp
128 (SELECT
129 mid.UNIQ_MBR_ID as mrb_id,
130 pd.PRVDR_SPCLTY_DESC as pcp_spc,
131 pcf.LAST_SRVC_DT as rx_date,
132 dd.BRAND_NAME as brand,
133 dd.GNRC_NAME as generic,
134 dd.AHFS_THRPTC_CLS_CD as ahfs_cd,
135 dd.AHFS_THRPTC_CLS_DESC as ahfs_dsc,
136 dd.LABEL_NAME as lbl,
137 dd.STRNGTH_NUM as strngth,
138 dd.STRNGTH_UNIT_DESC as unt,
139 dd.SPECF_THRPTC_CLS_CD as spc_tx_cls_cd,
140 dd.SPECF_THRPTC_CLS_DESC as spc_tx_cls_dsc,
141 dd.GCN_NUM as gcn,
142 pcf.PRSCRPTN_NUM as rx_num,
143 SUM(pcf.INGRDNT_AMT) as rx_ingrd,
144 SUM(pcf.PD_AMT) as rx_paid,
145 SUM(pcf.UNIT_SRVC_CNT) as rx_cnt,
146 SUM(pcf.DSPNSD_QTY) as rx_qty,
147 SUM(pcf.DAY_SUPLY_CNT) as rx_day
148 FROM
149 PHRMCY_CLM_FACT pcf,
150 MBR_ID_DMNSN mid,
151 DRUG_DMNSN dd,
152 PRVDR_DMNSN pd,
153 biplr_up_v1
154 WHERE
155 (
156 (biplr_up_v1.mbr_id = MBR_ID_DMNSN.UNIQ_MBR_ID) And
157 (PHRMCY_CLM_FACT.FINL_CLM_KEY = PHRMCY_FINL_CLM_DMNSN.FINL_CLM_KEY) AND
158 (PHRMCY_CLM_FACT.MBR_KEY = MBR_ID_DMNSN.MBR_KEY) And
159 (PHRMCY_CLM_FACT.BNFT_KEY = MBR_BNFT_DMNSN.BNFT_KEY) And
160 (PHRMCY_CLM_FACT.DRUG_KEY = DRUG_DMNSN.DRUG_KEY) And
161 (PHRMCY_FINL_CLM_DMNSN.CLM_ORGN_CD IN ('M','A')) AND
162 (PHRMCY_CLM_FACT.LAST_SRVC_DT BETWEEN between &q.&fdos.&q and &q.&ldos.&q)
163 )
164 Group By
165 mid.UNIQ_MBR_ID ,
166 pd.PRVDR_SPCLTY_DESC ,
167 pcf.LAST_SRVC_DT ,
168 dd.BRAND_NAME ,
5 The SAS System 11:44 Friday, October 30, 2009
169 dd.GNRC_NAME ,
170 dd.AHFS_THRPTC_CLS_CD ,
171 dd.AHFS_THRPTC_CLS_DESC ,
172 dd.LABEL_NAME ,
173 dd.STRNGTH_NUM ,
174 dd.STRNGTH_UNIT_DESC ,
175 dd.SPECF_THRPTC_CLS_CD ,
176 dd.SPECF_THRPTC_CLS_DESC ,
177 dd.GCN_NUM ,
178 pcf.PRSCRPTN_NUM
179 );
ERROR: ORACLE prepare error: ORA-00936: missing expression. SQL statement: SELECT mid.UNIQ_MBR_ID as mrb_id,
pd.PRVDR_SPCLTY_DESC as pcp_spc, pcf.LAST_SRVC_DT as rx_date, dd.BRAND_NAME as brand, dd.GNRC_NAME as generic,
dd.AHFS_THRPTC_CLS_CD as ahfs_cd, dd.AHFS_THRPTC_CLS_DESC as ahfs_dsc, dd.LABEL_NAME as lbl, dd.STRNGTH_NUM as
strngth, dd.STRNGTH_UNIT_DESC as unt, dd.SPECF_THRPTC_CLS_CD as spc_tx_cls_cd, dd.SPECF_THRPTC_CLS_DESC as
spc_tx_cls_dsc, dd.GCN_NUM as gcn, pcf.PRSCRPTN_NUM as rx_num, SUM(pcf.INGRDNT_AMT) as rx_ingrd, SUM(pcf.PD_AMT)
as rx_paid, SUM(pcf.UNIT_SRVC_CNT) as rx_cnt, SUM(pcf.DSPNSD_QTY) as rx_qty, SUM(pcf.DAY_SUPLY_CNT) as rx_day
FROM PHRMCY_CLM_FACT pcf, MBR_ID_DMNSN mid, DRUG_DMNSN dd, PRVDR_DMNSN pd, biplr_up_v1 WHERE (
(biplr_up_v1.mbr_id = MBR_ID_DMNSN.UNIQ_MBR_ID) And (PHRMCY_CLM_FACT.FINL_CLM_KEY =
PHRMCY_FINL_CLM_DMNSN.FINL_CLM_KEY) AND (PHRMCY_CLM_FACT.MBR_KEY = MBR_ID_DMNSN.MBR_KEY) And
(PHRMCY_CLM_FACT.BNFT_KEY = MBR_BNFT_DMNSN.BNFT_KEY) And (PHRMCY_CLM_FACT.DRUG_KEY = DRUG_DMNSN.DRUG_KEY) And
(PHRMCY_FINL_CLM_DMNSN.CLM_ORGN_CD IN ('M','A')) AND (PHRMCY_CLM_FACT.LAST_SRVC_DT BETWEEN between '01JUN2007'
and '30SEP2009') ) Group By mid.UNIQ_MBR_ID , pd.PRVDR_SPCLTY_DESC , pcf.LAST_SRVC_DT , dd.BRAND_NAME ,
dd.GNRC_NAME , dd.AHFS_THRPTC_CLS_CD , dd.AHFS_THRPTC_CLS_DESC , dd.LABEL_NAME , dd.STRNGTH_NUM ,
dd.STRNGTH_UNIT_DESC , dd.SPECF_THRPTC_CLS_CD , dd.SPECF_THRPTC_CLS_DESC , dd.GCN_NUM , pcf.PRSCRPTN_NUM.
NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements.
180 execute (drop table biplr_up_v1) by rosdwp;
NOTE: Statement not executed due to NOEXEC option.
181 disconnect from rosdwp;
NOTE: Statement not executed due to NOEXEC option.
182 quit;
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE SQL used (Total process time):
real time 0.14 seconds
cpu time 0.03 seconds
183
184Hello Again ,
Wish Oracle was a bit more informative. Am using a SAS Institute Product called Enterprise Guide. A "hot fix" was installed to address an issue that the product appears unable to save the latest version of edited code changes (hence " BETWEEN between" remaining even after a prior edit). In any case, with the change, am now receiving this error:
" ERROR: ORACLE prepare error: ORA-00904: "PHRMCY_CLM_FACT"."LAST_SRVC_DT": invalid identifier". (Log file appears below)
-The error remains, regardless of whether one uses "pass through" code to pass the date range to Oracle (which looks ok from the log output below I believe), or if I hard code the date range into the PL SQL query itself.
-The Prepare error always appears at end of the inner SELECT.
-The Prepare error remains, with or without the GROUP BY clause.
Is there anything else here I am missing? Someone suggested a reserve word - but from other ANSI SQL versions, I do not see that is the case. I have consulted SAS Tech Support and SAS List Serve at University of GA. but nothing definitive from these sources. Have requested facility to be able to run Oracle directly, outside this SAS Institute product - in process.
Any suggestions are greatly appreciated. Thanks to everyone very much.
Jeff
14 /********************************************************/
15 * RX_BIPLR_V3.SAS ;
16 /********************************************************/
17
18 dm 'log;clear;out;clear';
19 options linesize =120;
20 Option obs=0 NoReplace;
21
22 ****************************************************************************************;
23 *Date Programmer Reviewed By WHAT WAS DONE;
24 *----- -------------- ------------ -----------------------------------------;
25 *2005 D. Boyd Program creation for test population;
26 *;
27 *02/06/2006 I. Jones Modified to include total population;
28 *;
29 *07/20/2006 I. Jones Identified data elements for exclusion;
30 * or inclusion for consolidation with ;
31 * Robin's report;
32 *;
33 *08/18/2006 I Jones Updated the Specific Therapeutic Classes;
34 * 10-2009 J Shaf - modified to extract actual or potential Bipolar Dx from UBH and Medical Claims;
35 ****************************************************************************************;
36
37
38
39 *%let allclmorgn = ('M','A') ; /* all claims origin code */
40 %let begdate='01SEP2009'd;
41 %let enddate='30SEP2009'd;
42 %let q = %str(%') ;
43
44
45 data null ;
46 call symput('fdos',put(intnx('month',"&begdate"d,-27,'beginning'), date9.) ) ;
47 call symput('ldos',put(intnx('month',"&enddate"d,-0,'ending'), date9.) ) ;
48 run ;
2 The SAS System 12:46 Monday, November 2, 2009
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
cpu time 0.00 seconds
49
50
51
52 **************************************************************;
53 * ??Use the data null step to create a macro variable for the ;
54 * year and month based on the ldos macro variable in the data ;
55 * step above?? ;
56 **************************************************************;
57
58
59 data null ;
60 if month("&ldos"d) < 10
61 then call symput('yr_mo',compress(year("&ldos"d) || '0' || month("&ldos"d) ) ) ;
62 else call symput('yr_mo',compress(year("&ldos"d) || month("&ldos"d) ) ) ;
63 run ;
NOTE: Numeric values have been converted to character values at the places given by: (Line):(Column).
61:39 61:64 62:39 62:57
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
cpu time 0.01 seconds
64
65 *%put &biplr_dx;
66 %put &begdate ;
'01SEP2009'd
67 %put &enddate ;
'30SEP2009'd
68 %put &fdos ;
01JUN2007
69 %put &ldos ;
30SEP2009
70 %put &q ;
71
72
73 libname biplr'/home/jshafi01/projects/adhoc/biplr_dprsn/data';
NOTE: Libref BIPLR was successfully assigned as follows:
Engine: V9
Physical Name: /home/jshafi01/projects/adhoc/biplr_dprsn/data
74 libname rosdwp oracle user="&oracle_user." pass="&oracle_pass." buffsize=32767 path='rosdwp';
NOTE: Libref ROSDWP was successfully assigned as follows:
Engine: ORACLE
Physical Name: rosdwp
75
76 data work.biplr_up_v1;
77 attrib mbr_id length=$26;
78 set biplr.biplr_ubh_med_v1;
79 run;
NOTE: There were 0 observations read from the data set BIPLR.BIPLR_UBH_MED_V1.
NOTE: The data set WORK.BIPLR_UP_V1 has 0 observations and 1 variables.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
cpu time 0.01 seconds
80
81 proc contents;
82 run;
NOTE: PROCEDURE CONTENTS used (Total process time):
real time 0.02 seconds
cpu time 0.02 seconds
83
84 proc datasets
85 library = rosdwp nolist;
86 delete biplr_up_v1;
87 quit;
NOTE: Deleting ROSDWP.BIPLR_UP_V1 (memtype=DATA).
NOTE: PROCEDURE DATASETS used (Total process time):
real time 0.61 seconds
cpu time 0.01 seconds
88
89 proc datasets
90 library=work nolist;
91 copy out = rosdwp move;
92 select biplr_up_v1 ;
93 quit;
NOTE: Moving WORK.BIPLR_UP_V1 to ROSDWP.BIPLR_UP_V1 (memtype=DATA).
NOTE: SAS variable labels, formats, and lengths are not written to DBMS tables.
NOTE: There were 0 observations read from the data set WORK.BIPLR_UP_V1.
NOTE: The data set ROSDWP.BIPLR_UP_V1 has 0 observations and 1 variables.
NOTE: PROCEDURE DATASETS used (Total process time):
real time 0.15 seconds
cpu time 0.04 seconds
94
95
96
97 *****************************************************************************;
98
99 *execute(commit) by rosdwp
100 ******************************************************************************;
101
102
103 proc SQL noprint ;
104 connect to oracle as rosdwp (user="&oracle_user." password="&oracle_pass" buffsize=32767 path='rosdwp'
104 ! preserve_comments);
105 execute(alter session set nls_date_format = 'ddmonyyyy') by rosdwp;
106 CREATE table biplr_rx as
107 SELECT
108 mrb_id,
109 uniq_mbr_id,
110 pcp_spc,
111 rx_date,
112 brand,
113 generic,
114 ahfs_cd,
115 ahfs_dsc,
116 lbl,
117 strngth,
118 unt,
119 spc_tx_cls_cd,
120 spc_tx_cls_dsc,
121 gcn,
122 rx_num,
123 rx_ingrd,
124 rx_paid,
125 rx_cnt,
126 rx_qty,
127 rx_day
128 FROM connection to rosdwp
129 (SELECT
130 mid.UNIQ_MBR_ID as uniq_mrb_id,
131 blpr.mrb_id.mbr_id,
132 pd.PRVDR_SPCLTY_DESC as pcp_spc,
133 pcf.LAST_SRVC_DT as rx_date,
134 dd.BRAND_NAME as brand,
135 dd.GNRC_NAME as generic,
136 dd.AHFS_THRPTC_CLS_CD as ahfs_cd,
137 dd.AHFS_THRPTC_CLS_DESC as ahfs_dsc,
138 dd.LABEL_NAME as lbl,
139 dd.STRNGTH_NUM as strngth,
140 dd.STRNGTH_UNIT_DESC as unt,
141 dd.SPECF_THRPTC_CLS_CD as spc_tx_cls_cd,
142 dd.SPECF_THRPTC_CLS_DESC as spc_tx_cls_dsc,
143 dd.GCN_NUM as gcn,
144 pcf.PRSCRPTN_NUM as rx_num,
145 SUM(pcf.INGRDNT_AMT) as rx_ingrd,
146 SUM(pcf.PD_AMT) as rx_paid,
147 SUM(pcf.UNIT_SRVC_CNT) as rx_cnt,
148 SUM(pcf.DSPNSD_QTY) as rx_qty,
149 SUM(pcf.DAY_SUPLY_CNT) as rx_day
150 FROM
151 PHRMCY_CLM_FACT pcf,
152 MBR_ID_DMNSN mid,
153 DRUG_DMNSN dd,
154 PRVDR_DMNSN pd,
155 BIPLR_UP_V1 blpr
156 WHERE
157 (BIPLR_UP_V1.mbr_id = MBR_ID_DMNSN.UNIQ_MBR_ID) And
158 (PHRMCY_CLM_FACT.FINL_CLM_KEY = PHRMCY_FINL_CLM_DMNSN.FINL_CLM_KEY) AND
159 (PHRMCY_CLM_FACT.MBR_KEY = MBR_ID_DMNSN.MBR_KEY) And
160 (PHRMCY_CLM_FACT.BNFT_KEY = MBR_BNFT_DMNSN.BNFT_KEY) And
161 (PHRMCY_CLM_FACT.DRUG_KEY = DRUG_DMNSN.DRUG_KEY) And
162 (PHRMCY_FINL_CLM_DMNSN.CLM_ORGN_CD IN ('M','A')) AND
163 (PHRMCY_CLM_FACT.LAST_SRVC_DT BETWEEN &q.&fdos.&q and &q.&ldos.&q)
164 );
ERROR: ORACLE prepare error: ORA-00904: "PHRMCY_CLM_FACT"."LAST_SRVC_DT": invalid identifier. SQL statement: SELECT
mid.UNIQ_MBR_ID as uniq_mrb_id, blpr.mrb_id.mbr_id, pd.PRVDR_SPCLTY_DESC as pcp_spc, pcf.LAST_SRVC_DT as
rx_date, dd.BRAND_NAME as brand, dd.GNRC_NAME as generic, dd.AHFS_THRPTC_CLS_CD as ahfs_cd,
dd.AHFS_THRPTC_CLS_DESC as ahfs_dsc, dd.LABEL_NAME as lbl, dd.STRNGTH_NUM as strngth, dd.STRNGTH_UNIT_DESC as
unt, dd.SPECF_THRPTC_CLS_CD as spc_tx_cls_cd, dd.SPECF_THRPTC_CLS_DESC as spc_tx_cls_dsc, dd.GCN_NUM as gcn,
pcf.PRSCRPTN_NUM as rx_num, SUM(pcf.INGRDNT_AMT) as rx_ingrd, SUM(pcf.PD_AMT) as rx_paid, SUM(pcf.UNIT_SRVC_CNT)
as rx_cnt, SUM(pcf.DSPNSD_QTY) as rx_qty, SUM(pcf.DAY_SUPLY_CNT) as rx_day FROM PHRMCY_CLM_FACT pcf,
MBR_ID_DMNSN mid, DRUG_DMNSN dd, PRVDR_DMNSN pd, BIPLR_UP_V1 blpr WHERE (BIPLR_UP_V1.mbr_id =
MBR_ID_DMNSN.UNIQ_MBR_ID) And (PHRMCY_CLM_FACT.FINL_CLM_KEY = PHRMCY_FINL_CLM_DMNSN.FINL_CLM_KEY) AND
(PHRMCY_CLM_FACT.MBR_KEY = MBR_ID_DMNSN.MBR_KEY) And (PHRMCY_CLM_FACT.BNFT_KEY = MBR_BNFT_DMNSN.BNFT_KEY) And
(PHRMCY_CLM_FACT.DRUG_KEY = DRUG_DMNSN.DRUG_KEY) And (PHRMCY_FINL_CLM_DMNSN.CLM_ORGN_CD IN ('M','A')) AND
(PHRMCY_CLM_FACT.LAST_SRVC_DT BETWEEN '01JUN2007' and '30SEP2009').
NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements.
165 execute (drop table biplr_up_v1) by rosdwp;
NOTE: Statement not executed due to NOEXEC option.
166 disconnect from rosdwp;
NOTE: Statement not executed due to NOEXEC option.
167 quit;
NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE SQL used (Total process time):
real time 0.24 seconds
cpu time 0.02 seconds
168
Edited by: user12142482 on Nov 2, 2009 4:02 PM -
Message error ORA-00936 when using JDBC adapter
Hi all,
I'm using the folow scenario:
RFC --> XI --> JDBC
RFC <-- XI <-- JDBC (response)
It's a SYNCHRONOUS interface.
RFC call without COMMIT WORK:
CALL FUNCTION 'Y_TESTE_NEI'
DESTINATION 'RFC_XI'
EXPORTING
DATE_FROM = v_data_from
DATE_TO = v_data_to
TABLES
t_return = t_dados.
I'm not using KEY in JDBC message, because for test I want to get entiry table, and I set the communication channel JDBC to KEY not mandatory.
I'm not having mapping error, in SXMB_MONI I can see the two messages of interface, but both with SYSTEM ERROR.
In JDBC adapter in Runtime Workbench apears the follow message error:
com.sap.aii.af.ra.ms.api.DeliveryException: Error processing request in sax parser: Error when executing statement for table/stored proc. 't7_productionorder' (structure 't7_productionorder'): java.sql.SQLException: ORA-00936: missing expression
And DUMP in function call in R/3: CALL_FUNCTION_REMOTE_ERROR
Could anyone help me about this problem ?
Thanks in advance.
Regis FerratoHi Regis,
I did the same scenario just now. The error you get is, you need to check whether the fields you are entering into the database have correct datatypes.
Check out your database structure with your structure in XI, and also test in Message Mapping, to make sure you are sending correct values.
In my case I was sending date like this '10-12-06', but my DB accepts only '101206'. So I removed the '-'. It was fine .
The Dumping error is not due to your ABAP, due to the DB operation.
Let me know Whether I am correct.
Raj.
Maybe you are looking for
-
Cant figure out how to get printer back online
My computer recognizes my printer as offline. I did a print test in Wireless Summary for my C7280 and the IP address is the same as it is displayed on my computer. However I cannot set a print test from the compyuter as it recognizes it as offline.
-
I have opened a .wmv file in QuickTime Pro 7 and saved as a .mov file. When I try and open this in iMovie both versions are greyed out; am I missing a vital step in the process?! Peter H
-
CollapsiblePanel and datasetProblem
I have a form wich supposed to interact the collapsible panels. The first option add category is working , however the second one does not. should I create a form for separate CollapsiblePanel. <cffunction name="GenerateAdmissionsWizardText"> <cfsave
-
Download reports showing the message-"image cannot display"
Hi All, I have designed several reports by using pivot tables and charts (line chart,bar chart,line-bar combo chart etc) and when I am trying to download the required reports into excel or powerpoint or html it downloaded but instead of charts ( only
-
Red patches using RAW in Aperture
I seem to be getting red patches in my RAW files taken using a Canon 30D. I think its something to do with the exposure in Aperture but it only occurs with RAWs. It does not show up in JPEGs. Anyone have any clue as to what might be causing this? Scr