Can anyone expalin this FMS query?
Dear Expert,
Can anyone expalin this FMS query, which follows
Query1:
IF $[ORDR.U_QuoOppNum] is NULL or $[ORDR.U_QuoOppNum] = ''
BEGIN
SELECT T0.Name as 'Segments'
FROM [dbo].[@SEGMENT] T0
Where SUBSTRING( T0.Code, 1, 3 ) = SUBSTRING( $[ORDR.U_QuoTypSeg], 1, 3)
END
ELSE
SELECT T0.U_OppSeg FROM OOPR T0 where T0.OpprId = $[ORDR.U_QuoOppNum]
Query2:
SELECT code
FROM [@SEGMENT] T0
Where SUBSTRING( T0.Code, 1, 3 ) = SUBSTRING( $[ORDR.U_QuoTypSeg], 1, 3)
AND Name = $[ORDR.U_QuoSeg]
Thanks in advance,
Dwarak
Dear Dwarak,
The 1st query assign UDF U_OppSeg value from Sales Opportunity to Sales order if U_QuoOppNum in sales order matches opportunity ID. Otherwise, assign Name value in UDT @SEGMENT where the first 3 letters match with sales order UDF U_QuoTypSeg.
The 2nd query is the first part of the previous query after IF. I explained in the 2nd half.
Thanks,
Gordon
Similar Messages
-
Can anyone explain this query.?
Can anyone explain this query.?
select nvl(s.p_id,q.p_id),nvl(s.p_type,q.p_type),nvl(s.p_line,q.p_line),
nvl(s.sales2004,0),nvl(s.sales2005,0),nvl(q.quota2004,0),nvl(q.quota2005,0)
from sales s
full outer join quota q on(s.p_id = q.p_id and s.p_type=q.p_type and s.p_line=q.p_line)from sales s full outer join quota qTable quota is outer joined to table sales , if there are no matching records in table quota then also the query retuns the sales record with null values for the corresponding quota record columns
NVL() has been used to handle such cases -
Can anyone explain this? ORA-01722
Hi all,
Can anyone understand this?
I have 3 database servers both running on windows 2000 advanced server, they're used by the development team. Also we have our production database.
The 3 databases are cloned from the production, so database configuration parameters are all equal. Today I've received a query from the development team to run on the production, the query is just simple like this:
SELECT *
FROM x
WHERE x.field_v = 177762522
I get this error
ORA-01722: invalid number
this is a hudge table, and the fiedl_v is a varchar2(9) type.
The worst thing is that on the others 3 databases this query returns results, except on the production.
So, can anyone explain me why does the implicit (char to number) conversion occours on the development databases , and fails on the production? What are the main reasons that can influence datatype conversion like this one?
Both databases have the 9.0.6 patch.
The 3 development BD's are totally cloned from the production.
Thanks.William:
There is no guarantee on the order of evaluation of the predicates. Even with your isnum function, the invalid number could arise. The only safe way is to compare strings to strings as in your first example.
To make the isnum "safe", you would need something more like:
SELECT *
FROM (SELECT *
FROM x
WHERE isnum(x.field_v) = 'Y' and
ROWNUM > 0)
WHERE x.field_v = 177762522;The ROWNUM > 0 predicate in the in-line view will prevent predicate pushing and guarantee that the isnum condition is evaluated first.
John -
Can anyone expalin to me the following properties in the Web Dynpro Iview P
Hi all,
Can anyone expalin to me the following properties in the Web Dynpro Iview Properties Editor--
Authentication Scheme
Can be Merged
Default Entry for Folder
Entry Point
Show Debug Screen
Tray Type
Points assured for helpHi shobhendra srivastava,
1) An authentication scheme is a definition of what is required for an authentication process. In the iView you can set what authentication process (UserName/Password, X.509 certificate, etc.) the iView requires. Find more information <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/90/52c43dac1bcf51e10000000a114084/frameset.htm">here</a>.
2) The attribute "Can be Merged" allows you to merge certain objects (worksets, pages, iviews) under the same point in the portal navigation structure. All objects with the same value for attribute "Merge ID" are merged together. The object with the highest value for attribute "Merge Priority" provides the name displayed in the navigation elements (tabs in TLN and links in Detailed Navigation)
3) Find a good explanation of the attribute Entry Point <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/4e/3e703e632c7937e10000000a114084/frameset.htm">here</a>.
4) If this parameter is "true" a debugging screen is displayed before starting the WebDynpro application. Make sure that the parameter DebugMode in the service configuration (=>Applications=>com.sap.portal.appintegrator => Service => Common_Configuration) is not 'false' if you want to use this feature.
5) The attribute Tray Type defines the design of the iView's frame. The attribute can take the following values:
fill: The content area appears with a background color
plain: The content area appears with a white background and a frame
transparent: The background is transparent and the content area appears without a frame
Hope I could help!
Best regards,
Martin -
Hi all, I upgraded my MBP to Lion , but on the screen where i need to type my password, click on my photo and it does not appear the place for me to type my password and it stay stuck there. Can anyone solve this problem for me?
Reboot the machine holding Command and r keys down, you'll boot into Lion Recovery Partition
In there will be Disk Utility, use that to select your Lion OS X Partition and Repair Permissions.
After that is done reboot the machine and see if you can log in.
If not repeat the above steps to get into Lion Recovery, get online and reinstall Lion again, it will overwrite the installed version and hopefully after that it wil work.
Reboot and try again.
If not follow my steps to create a Snow Leopard Data Recovery drive, then option boot from it and grab a copy of your files off the machine.
Then reinstall all your programs onto the external drive like setting up a new machine, then use Disk Utility to erase the entire internal boot drive (select the drive media on the far left, not the partiton slightly indented) format Option: GUID , 1 partition OS X Extended and then use Carbon Copy Cloner to clone the external to the newly formatted internal drive. Once that is finished reboot and disconnect the external drive.
Once you go that, boot into Snow Leopard and update to 10.6.8, use the AppStore and option click on Purchases and download Lion again and install.
Lots of work, but there is no Lion disks.
https://discussions.apple.com/message/16276201#16276201 -
Can anyone explain this behavior and tell me how to fix it?
Using NetBeans 6.5 on Windows, Glassfish v2.1
I have a JSF application with a page that has a tab set.
On one of the tabs I have a panel with company information.
One of the components on the page is an InputText field with the value bound to a session bean variable.
The tab also has an Add button.
Here is what the JSP looks like for the input text and button components
<h:inputText binding="#{MainPage.companyNameTF}" id="companyNameTF" readonly="#{SessionBean1.readOnlyFlag}"
<h:commandButton action="#{MainPage.mainAddBtn_action}" disabled="#{SessionBean1.disableEdit}" id="mainAddBtn"
style="font-family: Arial,Helvetica,sans-serif; font-size: 14px; font-weight: bold; left: 425px; top: 380px; position: absolute; width: 75px" value="Add"/>
This is all plain vanilla stuff and I would expect that when the Add button is pushed, the session bean property would be filled with
the value entered in the input text field.
In the java code for the page, I have a method to process the Add button push.
Originally, it just called a method in the session bean to check that a value was entered in the input text field by checking the bound
session bean property.
For some reason, that was not getting filled and I was getting either a null or empty string rather than the value in the text field.
I added some checking in the method that processes the Add button push so I could check the values in the debugger.
Here is a sample of that code:
public String mainAddBtn_action() {
String s = sb1.getCompanyName();
s = (String)this.companyNameTF.getValue();
s = (String)this.companyNameTF.getSubmittedValue();I check this in the debugger and NONE of the variants that I have listed have the value that was entered into the text field.
The submittedValue is null and the others are empty strings (that is what they were initalized to).
This is all pertty straight forward stuff and I am at a loss to explain what is happening.
Can anyone expain this behavior, and, most important, how can I force the values to be present when the Add button is pushed.
I have never experienced this problem before, and have no clue what is causing it.
Thanks.Basically, the component bindings are just being used in plain vanilla get/set modes.
I set them to "" when I do a clear for the fields and they are set to a value via the text field.
No other action other than to read the values via get to insert them into the database.
And, I always use the get/set methods rather than just setting the value directly.
This is what is so strange about this behavior - I have created dozens of database add/update/delete pages using this same model and have not had a problem with them - even in a tab context.
Not a clue why this one is different.
I did notice that I had an error on the page (in IE7, you get a small triangle warning sign when something is not right).
I figured that might be the problem - maybe buggering up the rendering process.
I tracked that down and do not get that anymore (it had to do with the PDF display I was trying to get working a while back), but that did not resolve the problem.
I don't think there are any tab conflicts - none of the components are shared between tabs, but I will see what happens when I move a couple of the components out of the tab context.
I noticed that it seems to skip a cycle. Here is what I can do.
1) Fill in text fields and add a record - works fine the first time.
2) Clear the text fields
3) Enter new data in the text fields and push Add
4) I get an error saying fields are blank from my data check process.
5) Enter new data and push Add - the record is added with the new data.
My work around is to not enter data in step 3 and just accept the error message in step 4, then go ahead and enter the real data in step 5.
Very ugly, but it works every time. -
Can anyone read this Apple crash report?
Hi everyone!
My iMac's been absolutely fine since I bought it. The Lion upgrade was smooth. I upgraded on the first day Lion became available.
In the past week, I keep getting every other day a progressive gray screen and a warning that the computer needs to restart. I've no idea what's causing the crash... it happens when I have the standard suite of apps running (Mail, iTunes, Safari, etc) so no exotic application.
Here's a crash report. Can anyone read this and pin point the problem?
Thanks!
Interval Since Last Panic Report: 26855 sec
Panics Since Last Report: 1
Anonymous UUID: 2A90D08F-7981-4C26-90A0-88431085705A
Thu Jan 19 21:02:56 2012
panic(cpu 1 caller 0xffffff8000570f80): "MCHECK: m_type=12350 m=0xffffff807b9b6500"@/SourceCache/xnu/xnu-1699.24.8/bsd/kern/uipc_mbuf.c:3129
Backtrace (CPU 1), Frame : Return Address
0xffffff808045bad0 : 0xffffff8000220702
0xffffff808045bb50 : 0xffffff8000570f80
0xffffff808045bb80 : 0xffffff8000572c77
0xffffff808045bc10 : 0xffffff80005731d6
0xffffff808045bc30 : 0xffffff8000358c25
0xffffff808045bd10 : 0xffffff8000353729
0xffffff808045bd50 : 0xffffff8000580644
0xffffff808045be40 : 0xffffff8000563973
0xffffff808045be70 : 0xffffff80005614bf
0xffffff808045bf00 : 0xffffff8000561612
0xffffff808045bf50 : 0xffffff80005caa9b
0xffffff808045bfb0 : 0xffffff80002d8363
BSD process name corresponding to current thread: IMServicePlugInA
Mac OS version:
11C74
Kernel version:
Darwin Kernel Version 11.2.0: Tue Aug 9 20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64
Kernel UUID: 59275DFA-10C0-30B3-9E26-F7B5DFB1A432
System model name: iMac12,1 (Mac-942B5BF58194151B)
System uptime in nanoseconds: 7371663855074
last loaded kext at 7163667149728: com.trusteer.driver.gakl_driver_2 1 (addr 0xffffff7f8079d000, size 28672)
last unloaded kext at 7058117348300: com.apple.driver.AppleUSBCDC 4.1.15 (addr 0xffffff7f80799000, size 12288)
loaded kexts:
com.trusteer.driver.gakl_driver_2 1
com.kaspersky.kext.kimul.38 38
com.parallels.kext.prl_vnic 6.0 12106.692267
com.parallels.kext.prl_netbridge 6.0 12106.692267
com.parallels.kext.prl_hid_hook 6.0 12106.692267
com.parallels.kext.prl_hypervisor 6.0 12106.692267
com.parallels.kext.prl_usb_connect 6.0 12106.692267
com.kaspersky.kext.klif 2.2.0d14
com.apple.driver.AppleHWSensor 1.9.4d0
com.apple.filesystems.autofs 3.0
com.apple.driver.AppleBluetoothMultitouch 66.3
com.apple.driver.AudioAUUC 1.59
com.apple.driver.AppleMikeyHIDDriver 122
com.apple.driver.AppleHDA 2.1.3f7
com.apple.driver.AGPM 100.12.42
com.apple.driver.AppleMikeyDriver 2.1.3f7
com.apple.driver.AppleUpstreamUserClient 3.5.9
com.apple.driver.AppleMCCSControl 1.0.26
com.apple.kext.ATIFramebuffer 7.1.4
com.apple.iokit.IOUserEthernet 1.0.0d1
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.AudioIPCDriver 1.2.1
com.apple.driver.AirPort.Atheros40 501.58.1
com.apple.driver.ACPI_SMC_PlatformPlugin 4.7.5d4
com.apple.driver.AppleLPC 1.5.3
com.apple.driver.AppleBacklight 170.1.9
com.apple.ATIRadeonX3000 7.1.4
com.apple.driver.AppleIntelHD3000Graphics 7.1.4
com.apple.driver.AppleSMCLMU 2.0.1d2
com.apple.driver.AppleIRController 312
com.apple.driver.AppleUSBCardReader 3.0.1
com.apple.iokit.SCSITaskUserClient 3.0.1
com.apple.driver.Oxford_Semi 3.0.1
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 33
com.apple.iokit.IOAHCIBlockStorage 2.0.1
com.apple.driver.AppleUSBHub 4.5.0
com.apple.driver.AppleFWOHCI 4.8.9
com.apple.iokit.AppleBCM5701Ethernet 3.0.8b2
com.apple.driver.AppleEFINVRAM 1.5.0
com.apple.driver.AppleAHCIPort 2.2.0
com.apple.driver.AppleUSBEHCI 4.5.5
com.apple.driver.AppleACPIButtons 1.4
com.apple.driver.AppleRTC 1.4
com.apple.driver.AppleHPET 1.6
com.apple.driver.AppleSMBIOS 1.7
com.apple.driver.AppleACPIEC 1.4
com.apple.driver.AppleAPIC 1.5
com.apple.driver.AppleIntelCPUPowerManagementClient 167.1.0
com.apple.nke.applicationfirewall 3.2.30
com.apple.security.quarantine 1
com.apple.driver.AppleIntelCPUPowerManagement 167.1.0
com.apple.driver.AppleBluetoothHIDKeyboard 152.3
com.apple.driver.AppleHIDKeyboard 152.3
com.apple.kext.triggers 1.0
com.apple.driver.AppleMultitouchDriver 220.62.1
com.apple.driver.IOBluetoothHIDDriver 4.0.1f4
com.apple.driver.AppleAVBAudio 1.0.0d11
com.apple.driver.DspFuncLib 2.1.3f7
com.apple.driver.AppleSMBusController 1.0.10d0
com.apple.iokit.IOSurface 80.0
com.apple.iokit.IOFireWireIP 2.2.4
com.apple.iokit.IOBluetoothSerialManager 4.0.1f4
com.apple.iokit.IOSerialFamily 10.0.5
com.apple.iokit.IOAVBFamily 1.0.0d22
com.apple.iokit.IOAudioFamily 1.8.3fc11
com.apple.kext.OSvKernDSPLib 1.3
com.apple.driver.AppleHDAController 2.1.3f7
com.apple.iokit.IOHDAFamily 2.1.3f7
com.apple.driver.ApplePolicyControl 3.0.16
com.apple.iokit.IO80211Family 411.1
com.apple.driver.IOPlatformPluginFamily 4.7.5d4
com.apple.driver.AppleSMBusPCI 1.0.10d0
com.apple.driver.AppleGraphicsControl 3.0.16
com.apple.driver.AppleBacklightExpert 1.0.3
com.apple.driver.AppleThunderboltEDMSink 1.1.3
com.apple.driver.AppleThunderboltEDMSource 1.1.3
com.apple.kext.ATI6000Controller 7.1.4
com.apple.kext.ATISupport 7.1.4
com.apple.iokit.IONDRVSupport 2.3.2
com.apple.driver.AppleIntelSNBGraphicsFB 7.1.4
com.apple.driver.AppleSMC 3.1.1d8
com.apple.iokit.IOGraphicsFamily 2.3.2
com.apple.driver.BroadcomUSBBluetoothHCIController 4.0.1f4
com.apple.driver.AppleUSBBluetoothHCIController 4.0.1f4
com.apple.iokit.IOBluetoothFamily 4.0.1f4
com.apple.driver.AppleThunderboltDPOutAdapter 1.5.8
com.apple.driver.AppleThunderboltDPInAdapter 1.5.8
com.apple.driver.AppleThunderboltDPAdapterFamily 1.5.8
com.apple.driver.AppleThunderboltPCIDownAdapter 1.2.1
com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.0.1
com.apple.iokit.IOBDStorageFamily 1.6
com.apple.iokit.IODVDStorageFamily 1.7
com.apple.iokit.IOCDStorageFamily 1.7
com.apple.iokit.IOUSBHIDDriver 4.4.5
com.apple.iokit.IOAHCISerialATAPI 2.0.1
com.apple.iokit.IOUSBMassStorageClass 3.0.0
com.apple.iokit.IOSCSIBlockCommandsDevice 3.0.1
com.apple.iokit.IOFireWireSerialBusProtocolTransport 2.1.0
com.apple.iokit.IOSCSIArchitectureModelFamily 3.0.1
com.apple.iokit.IOFireWireSBP2 4.2.0
com.apple.driver.AppleUSBMergeNub 4.5.3
com.apple.driver.AppleUSBComposite 3.9.0
com.apple.driver.XsanFilter 403
com.apple.driver.AppleThunderboltNHI 1.3.2
com.apple.iokit.IOThunderboltFamily 1.7.4
com.apple.iokit.IOUSBUserClient 4.5.3
com.apple.iokit.IOFireWireFamily 4.4.5
com.apple.iokit.IOEthernetAVBController 1.0.0d5
com.apple.iokit.IONetworkingFamily 2.0
com.apple.iokit.IOAHCIFamily 2.0.7
com.apple.iokit.IOUSBFamily 4.5.5
com.apple.driver.AppleEFIRuntime 1.5.0
com.apple.iokit.IOHIDFamily 1.7.1
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 165.3
com.apple.kext.AppleMatch 1.0.0d1
com.apple.security.TMSafetyNet 7
com.apple.driver.DiskImages 331
com.apple.iokit.IOStorageFamily 1.7
com.apple.driver.AppleKeyStore 28.18
com.apple.driver.AppleACPIPlatform 1.4
com.apple.iokit.IOPCIFamily 2.6.7
com.apple.iokit.IOACPIFamily 1.4
Unable to gather system configuration information.Model: iMac12,1, BootROM IM121.0047.B1D, 4 processors, Intel Core i5, 2.5 GHz, 4 GB, SMC 1.71f21
Graphics: AMD Radeon HD 6750M, AMD Radeon HD 6750M, PCIe, 512 MB
Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80CE, 0x4D34373142353637334648302D4348392020
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80CE, 0x4D34373142353637334648302D4348392020
AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x9A), Atheros 9380: 4.0.58.4-P2P
Bluetooth: Version 4.0.1f4, 2 service, 18 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
Serial ATA Device: WDC WD5000AAKS-402AA0, 500.11 GB
Serial ATA Device: HL-DT-STDVDRW GA32N
USB Device: hub_device, 0x0424 (SMSC), 0x2514, 0xfa100000 / 3
USB Device: iPhone, apple_vendor_id, 0x12a0, 0xfa130000 / 5
USB Device: BRCM2046 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0xfa110000 / 4
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8215, 0xfa111000 / 6
USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x850b, 0xfa200000 / 2
USB Device: hub_device, 0x0424 (SMSC), 0x2514, 0xfd100000 / 2
USB Device: 7600 Series, 0x043d (Lexmark International Inc.), 0x0150, 0xfd140000 / 5
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd120000 / 4
USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0xfd110000 / 3
FireWire Device: eGo HDD, Iomega, 800mbit_speedThis crash reports says...
OS: 10.7.2
Processor: Intel 64-bit
Computer: iMac 10 generation, lowest-end model
Interval Since Last Panic Report: 26855 sec
Panics Since Last Report: 1
Anonymous UUID: 2A90D08F-7981-4C26-90A0-88431085705A
Thu Jan 19 21:02:56 2012
panic(cpu 1 caller 0xffffff8000570f80): "MCHECK: m_type=12350 m=0xffffff807b9b6500"@/SourceCache/xnu/xnu-1699.24.8/bsd/kern/uipc_mbuf.c:3129
Backtrace (CPU 1), Frame : Return Address
0xffffff808045bad0 : 0xffffff8000220702
0xffffff808045bb50 : 0xffffff8000570f80
0xffffff808045bb80 : 0xffffff8000572c77
0xffffff808045bc10 : 0xffffff80005731d6
0xffffff808045bc30 : 0xffffff8000358c25
0xffffff808045bd10 : 0xffffff8000353729
0xffffff808045bd50 : 0xffffff8000580644
0xffffff808045be40 : 0xffffff8000563973
0xffffff808045be70 : 0xffffff80005614bf
0xffffff808045bf00 : 0xffffff8000561612
0xffffff808045bf50 : 0xffffff80005caa9b
0xffffff808045bfb0 : 0xffffff80002d8363
This is a kernel error. Did your screen give you this error? This is well know as the "Black Screen Of Death". Just restart your computer and see what happens.
Source of picture: http://en.wikipedia.org/wiki/File:Panic10.6.png -
It seems that the new version of iPhoto will no longer share photos between computers on the same network. Can anyone confirm this?
lovinmymac wrote:
I have "automatically create previews" in the preferences UNCHECKED. Why is Aperture creating previews? For the screen image?
You might also need to turn Preview generation off for any existing Projects. Select the Project in the Projects pane and use the cog button at the top of the pane to uncheck 'Maintain Previews For Project'.
Ian -
Hello! The question is this. In London, took the Iphone 5 as sim free, flew to Moscow put Simcoe, and he writes me that is locked to the operator O2. Can anyone encountered this problem? What to do? How to remove the Unlock?
<Edited by Host>Look at your receipt. Does it say unlocked? It is possible to purchase both locked "sim free" and unlocked iPhones from Apple.
ONLY the carrier an iPhone is locked to can legitimately unlock it.
IF your receipt says that it was supposed to be unlocked, and it is not, call AppleCare. They should be able to straighten it out. -
The trashcan is not showing up in the right hand corner of my photos on my iPad. So I can't delete pictures. Can anyone solve this problem?
Where did the photos come from ? Only photos taken with the iPad, copied onto it via the camera connection kit, or saved from emails/websites etc can be deleted directly on the iPad - photos that were synced from your computer are deleted by moving/removing/de-selecting them from where they were synced from on your computer and then re-syncing.
-
Can anyone explain this to me, please. It's a static section question.
Can anyone explain this to me, please. It's a static section question.
I came across the following style of programming recently and I would like to know what the Static section is actually doing in the class. Thx.
Here is the code.
public class ClassA {
private static Hashtable ClassAList = new Hashtable();
private ClassB cB;
private Vector goodLink;
private Hashtable classCList;
static
ClassA cA = new ClassA();
ClassAList.put("whatever", cA);
public static ClassA getClassA()
return (ClassA) ClassAList.get("whatever");hi,
The static section shall be loaded before it's constructor is called. (i.e at the time of loading the class). Therefore making it available for any other objects to call.
hope this clarifies ur question
prasanna -
Can anyone decipher this?
Can anyone decipher this from a MacBook Air?
Version:1.0 StartHTML:0000000177 EndHTML:0000023165 StartFragment:0000002541 EndFragment:0000023129 SourceURL:file://localhost/Users/Station03/Desktop/error%20report.docx
Interval Since Last Panic Report: 4945928 sec
Panics Since Last Report: 1
Anonymous UUID: AAAB478E-7DF3-46BC-B5A6-415AF728522F
Tue Jun 26 17:24:04 2012
panic(cpu 1 caller 0x2abf6a): Kernel trap at 0x00000000, type 14=page fault, registers:
CR0: 0x8001003b, CR2: 0x00000000, CR3: 0x00100000, CR4: 0x00000660
EAX: 0x00000000, EBX: 0x08826000, ECX: 0x107cfdc0, EDX: 0x0ced4f40
CR2: 0x00000000, EBP: 0x58c4bf78, ESI: 0x00000000, EDI: 0x08826000
EFL: 0x00010206, EIP: 0x00000000, CS: 0x00000008, DS: 0x07fc0010
Error code: 0x00000010
Backtrace (CPU 1), Frame : Return Address (4 potential args on stack)
0x58c4bd68 : 0x21b837 (0x5dd7fc 0x58c4bd9c 0x223ce1 0x0)
0x58c4bdb8 : 0x2abf6a (0x59e3d0 0x0 0xe 0x59e59a)
0x58c4be98 : 0x2a1a78 (0x58c4beb0 0xf9de0a4 0x58c4bf78 0x0)
0x58c4bea8 : 0x0 (0xe 0x6c340048 0x58c40010 0x550010)
0x58c4bf78 : 0x230235 (0x8826000 0x0 0x58c4bfc8 0x227cea)
0x58c4bfc8 : 0x2a179c (0x863ea0 0x0 0x10 0x7f414e4)
BSD process name corresponding to current thread: kernel_task
Mac OS version:
10K549
Kernel version:
Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386
System model name: MacBookAir3,2 (Mac-942C5DF58193131B)
System uptime in nanoseconds: 349846083630500
unloaded kexts:
com.apple.iokit.SCSITaskUserClient 2.6.8 (addr 0x592a5000, size 0x28672) - last unloaded 177286763869073
loaded kexts:
com.FTDI.driver.FTDIUSBSerialDriver 2.2.14
com.apple.driver.AppleUSBTCKeyEventDriver 201.6 - last loaded 301283701360087
com.apple.iokit.SCSITaskUserClient 2.6.8
com.apple.filesystems.autofs 2.1.0
com.apple.driver.AppleHWSensor 1.9.3d0
com.apple.driver.AppleUpstreamUserClient 3.5.7
com.apple.driver.AppleMCCSControl 1.0.20
com.apple.driver.ApplePlatformEnabler 2.0.2d1
com.apple.driver.AGPM 100.12.31
com.apple.driver.AppleMikeyHIDDriver 1.2.0
com.apple.driver.AppleHDA 2.0.5f14
com.apple.driver.AudioAUUC 1.57
com.apple.driver.AppleMikeyDriver 2.0.5f14
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.AudioIPCDriver 1.1.6
com.apple.driver.AppleIntelPenrynProfile 17
com.apple.driver.ACPI_SMC_PlatformPlugin 4.7.0a1
com.apple.GeForce 6.3.6
com.apple.driver.AppleLPC 1.5.1
com.apple.driver.AppleBacklight 170.0.46
com.apple.driver.AppleUSBTCButtons 201.6
com.apple.driver.AppleUSBTCKeyboard 201.6
com.apple.driver.AppleUSBCardReader 2.6.1
com.apple.iokit.IOAHCIBlockStorage 1.6.4
com.apple.driver.AirPortBrcm43224 428.42.4
com.apple.driver.AppleAHCIPort 2.1.7
com.apple.driver.AppleUSBHub 4.2.4
com.apple.driver.AppleUSBEHCI 4.2.4
com.apple.BootCache 31.1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.driver.AppleUSBOHCI 4.2.0
com.apple.driver.AppleSmartBatteryManager 160.0.0
com.apple.driver.AppleEFINVRAM 1.4.0
com.apple.driver.AppleRTC 1.3.1
com.apple.driver.AppleHPET 1.5
com.apple.driver.AppleACPIButtons 1.3.6
com.apple.driver.AppleSMBIOS 1.7
com.apple.driver.AppleACPIEC 1.3.6
com.apple.driver.AppleAPIC 1.4
com.apple.driver.AppleIntelCPUPowerManagementClient 142.6.0
com.apple.security.sandbox 1
com.apple.security.quarantine 0
com.apple.nke.applicationfirewall 2.1.14
com.apple.driver.AppleIntelCPUPowerManagement 142.6.0
com.apple.driver.AppleProfileReadCounterAction 17
com.apple.nvidia.nv50hal 6.3.6
com.apple.driver.DspFuncLib 2.0.5f14
com.apple.driver.AppleProfileTimestampAction 10
com.apple.driver.AppleProfileThreadInfoAction 14
com.apple.driver.AppleProfileRegisterStateAction 10
com.apple.driver.AppleProfileKEventAction 10
com.apple.driver.AppleProfileCallstackAction 20
com.apple.driver.AppleSMBusController 1.0.10d0
com.apple.iokit.IOSurface 74.2
com.apple.iokit.IOBluetoothSerialManager 2.4.5f3
com.apple.iokit.IOSerialFamily 10.0.3
com.apple.iokit.IOAudioFamily 1.8.3fc2
com.apple.kext.OSvKernDSPLib 1.3
com.apple.driver.AppleHDAController 2.0.5f14
com.apple.iokit.IOHDAFamily 2.0.5f14
com.apple.iokit.AppleProfileFamily 41
com.apple.driver.AppleSMC 3.1.0d5
com.apple.driver.IOPlatformPluginFamily 4.7.0a1
com.apple.driver.AppleSMBusPCI 1.0.10d0
com.apple.NVDAResman 6.3.6
com.apple.driver.AppleBacklightExpert 1.0.1
com.apple.iokit.IONDRVSupport 2.2.1
com.apple.iokit.IOGraphicsFamily 2.2.1
com.apple.driver.BroadcomUSBBluetoothHCIController 2.4.5f3
com.apple.driver.AppleUSBBluetoothHCIController 2.4.5f3
com.apple.iokit.IOBluetoothFamily 2.4.5f3
com.apple.driver.AppleUSBMultitouch 207.7
com.apple.iokit.IOUSBHIDDriver 4.2.0
com.apple.iokit.IOSCSIBlockCommandsDevice 2.6.8
com.apple.iokit.IOUSBMassStorageClass 2.6.7
com.apple.iokit.IOSCSIArchitectureModelFamily 2.6.8
com.apple.driver.AppleUSBMergeNub 4.2.4
com.apple.driver.AppleUSBComposite 3.9.0
com.apple.driver.XsanFilter 402.1
com.apple.iokit.IO80211Family 320.1
com.apple.driver.AppleMCP89RootPortPM 1.11
com.apple.iokit.IOAHCIFamily 2.0.6
com.apple.iokit.IOUSBUserClient 4.2.4
com.apple.iokit.IONetworkingFamily 1.10
com.apple.iokit.IOUSBFamily 4.2.4
com.apple.driver.NVSMU 2.2.7
com.apple.driver.AppleEFIRuntime 1.4.0
com.apple.iokit.IOHIDFamily 1.6.6
com.apple.iokit.IOSMBusFamily 1.1
com.apple.kext.AppleMatch 1.0.0d1
com.apple.security.TMSafetyNet 6
com.apple.driver.DiskImages 289.1
com.apple.iokit.IOStorageFamily 1.6.3
com.apple.driver.AppleACPIPlatform 1.3.6
com.apple.iokit.IOPCIFamily 2.6.5
com.apple.iokit.IOACPIFamily 1.3.0
Model: MacBookAir3,2, BootROM MBA31.0061.B01, 2 processors, Intel Core 2 Duo, 2.13 GHz, 4 GB, SMC 1.66f55
Graphics: NVIDIA GeForce 320M, NVIDIA GeForce 320M, PCI, 256 MB
Memory Module: global_name
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD1), Broadcom BCM43xx 1.0 (5.10.131.42.4)
Bluetooth: Version 2.4.5f3, 2 service, 19 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en0
Serial ATA Device: APPLE SSD TS256C, 233.76 GB
USB Device: FaceTime Camera (Built-in), 0x05ac (Apple Inc.), 0x850a, 0x24600000 / 2
USB Device: Internal Memory Card Reader, 0x05ac (Apple Inc.), 0x8403, 0x26100000 / 2
USB Device: BRCM2070 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0x04500000 / 3
USB Device: Bluetooth USB Host Controller, 0x05ac (Apple Inc.), 0x821b, 0x04530000 / 5
USB Device: Apple Internal Keyboard / Trackpad, 0x05ac (Apple Inc.), 0x023f, 0x04300000 / 2A third-party USB device. I don't know which one. It wasn't connected at the time of the panic.
-
Can we replace this SELECT query by more efficient code
can we replace this SELECT query by more efficient code ?:-
SELECT * FROM zv7_custord
INTO TABLE G_T_ZV7_CUSTORD
WHERE ( SENDER in S_SENDER and
ORDNUM in S_ORDER and
ZDATE in S_DATE ) OR
( SENDER in S_SENDER AND
STATUS = SPACE )
ORDER BY IDOCNUM.Hi
U can leave ORDER BY option and sort the table by yourself and try to split the query:
SELECT * FROM zv7_custord
INTO TABLE G_T_ZV7_CUSTORD
WHERE SENDER in S_SENDER and
ORDNUM in S_ORDER and
ZDATE in S_DATE .
SELECT * FROM zv7_custord
APPENDING TABLE G_T_ZV7_CUSTORD
WHERE SENDER in S_SENDER and
NOT ORDNUM in S_ORDER and
NOT ZDATE in S_DATE and
STATUS = SPACE
or
SELECT * FROM zv7_custord
INTO TABLE G_T_ZV7_CUSTORD
WHERE SENDER in S_SENDER and
ORDNUM in S_ORDER and
ZDATE in S_DATE .
SELECT * FROM zv7_custord
APPENDING TABLE G_T_ZV7_CUSTORD
WHERE SENDER in S_SENDER and
STATUS = SPACE.
* Sort the table key fields
SORT G_T_ZV7_CUSTORD BY <KEY1> <KEY2> .....
DELETE ADJACENT DUPLICATES FROM G_T_ZV7_CUSTORD COMPARING <KEY1> .....
Max -
How can i join this two query?
I have two table table employee and CSEReduxResponses
In table employee i have
CREATE TABLE [dbo].[employee](
[emp_id] [int] IDENTITY(1,1) NOT NULL,
[emp_namefirst] [varchar](255) NOT NULL,
[emp_namemiddle] [varchar](50) NULL,
[emp_namelast] [varchar](255) NOT NULL
on responds i have
CREATE TABLE [dbo].[CSEReduxResponses](
[response_id] [int] IDENTITY(1,1) NOT NULL,
[employee] [int] NOT NULL,
[employeedept] [int] NOT NULL,
[star] [tinyint] NOT NULL,
[status] [int] NOT NULL,
[approvedby] [int] NULL,
[approveddate] [datetime] NULL,
[execoffice_status] [int] NULL,
Im trying to get the employee with the MAX execpffice_status( this is either a 1 or 0).
i have this query that i made for it
select top(1) with ties employee, SUM(execoffice_status) as 'total'
from CSEReduxResponses
group by employee
order by 'total' desc
my query for employee table is
select emp_namefirst as first , emp_namelast as [last]
from phonelist.dbo.employee where emp_namefirst is not null
How can i get this 2 query together so i can output the employee (first and last )name
with the max exeoffice_status?
i use :
Microsoft SQL Server Management Studio 10.0.2531.0
ps: sorry if i put this is the wrong forum, this is my first time here and first post.Are you looking for the below?
CREATE TABLE [dbo].[employee](
[emp_id] [int] IDENTITY(1,1) NOT NULL,
[emp_namefirst] [varchar](255) NOT NULL,
[emp_namemiddle] [varchar](50) NULL,
[emp_namelast] [varchar](255) NOT NULL
Insert into Employee Values('abc','bcd','cdf')
Insert into Employee Values('xyz','yxw','xwv')
CREATE TABLE [dbo].[CSEReduxResponses](
[response_id] [int] IDENTITY(1,1) NOT NULL,
[employee] [int] NOT NULL,
[employeedept] [int] NOT NULL,
[star] [tinyint] NOT NULL,
[status] [int] NOT NULL,
[approvedby] [int] NULL,
[approveddate] [datetime] NULL,
[execoffice_status] [int] NULL,
Insert into [CSEReduxResponses]( employee,employeedept,star,status,approvedby,approveddate,execoffice_status)
Values(1,100,1,1,1,GETDATE(),0),
(1,100,1,1,1,GETDATE(),1),
(2,100,1,1,1,GETDATE(),0)
;With cte as( Select *,SUM([execoffice_status]) over(partition by Employee) sumstatus From [CSEReduxResponses] )
Select Distinct A.*,B.sumstatus
From Employee A
Inner Join cte B On A.emp_id = B.employee
--OR
;With cte as( Select employee ,SUM([execoffice_status]) sumstatus From [CSEReduxResponses] group by Employee)
Select Distinct A.*,(Select sumstatus From cte B where A.emp_id = B.employee)
From Employee A
Drop table Employee,[CSEReduxResponses] -
Can anyone explain this: Numeric or Value Error Line 1
I have a stored procedure that starts out like so:
PROCEDURE test_proc(param1 IN VARCHAR2, param2 IN VARCHAR2, param3 OUT
SYS_REFCURSOR) IS
v_var varchar2(5);
BEGIN
SELECT * FROM. . .
The procedure tested fine in PL/SQL Developer. When calling from
ODP.NET like so. . .
OracleCommand cmd = new OracleCommand("test_proc", <connection>);
cmd.CommandType = CommandType.StoredProcedure;
cmd.Parameters.Add("param1", "somevalue");
cmd.Parameters.Add("param2", "XX");
cmd.Parameters.Add("param3", OracleDbType.RefCursor,
ParameterDirection.Output);
DataSet ds = new DataSet();
OracleDataAdapter da = new OracleDataAdapter(cmd);
con.Open();
da.fill(ds);
con.Close();
. . .the procedure executed as expected. If I changed the value of
param2 to "XXX" or any value three chars long I got the "ORA-06502:
Numeric or Value Error at Line 1" error.
After beating my head against the wall for hours, I tried changing the
size of v_var to 50, and the error disappeared. Mind you, the error
was being thrown long before v_var was being set further down in the
proc. Even more interesting is that the possible values of v_var were
all less than 5 chars wide. Most interesting: the value of p_param2 had nothing whatever to do with v_var.
Can anyone explain this?Hi,
Is your database 9206 by chance? Re: Error ORA-06502 PL/SQL
Cheers,
Greg
Maybe you are looking for
-
Zen Touch problem caused by drive
I bought My Touch back in May 2004, because of its great reputation and awsome battery life. and for the most im pleased with it, but i do have one big problem. When installing the drivers where these are the ones from the Cd or the Newest drivers i
-
When I download an app, I open it up in downloads and it's just a box with a bunch of useless chinese looking text. What am I doing wrong. Any help would be appreciated
-
Making sense of wsdl code generation (BetFair API)
Hi all, I must warn you in advance that my Java knowledge is basic - I am learning as I go along, and some parts have a steep learning curve! I have imported the BetFair wsdl (from https://api.betfair.com/betex-api-public-ws/v2/BFService.wsdl )and ge
-
Corrupt iTunes Library file (.itl AND .xml)
I just got a new mac and decided not to put my music on it. Instead I kept my entire itunes library on an external hard drive. At some point, my hard drive must have disconnected while using iTunes and the library files became corrupt. When I see the
-
Urgent!!!!pls help meout
Hi All, I've got installed my system with SAP R/3 Version 5. The problem is when i type the abap program the keywords are not displaying in blue color. I failed to see the version also(system->status). Kindly help me out plsssssssssssssssssssssss....