Strange output with more of
HelloI have a table with data below. The activity and cnt are declared as a number (20)
Select * from gl_data
ACTIVITY CNT
200710 48562
43177 200711
200712 43027
200801 43354
200802 45083
200803 43573
200804 42617
200805 43718
41725 200806
200807 41443
200808 66808
200809 40362
200810 40050
200811 42429
200812 40803
40102 200901
40288 200902
200903 41677
200904 37978
38655 200905
200906 42813
200907 38254
200908 38526
200909 54409
Select activity, cnt, sum (NTC) (activity previous Place1 desc order) val
of gl_data
This query result is
ACTIVITY CNT VAL
200909 54409 54409
200908 38526 92935
200907 38254 76780
200906 42813 81067
200905 38655 81468
200904 37978 76633
200903 41677 79655
200902 40288 81965
200901 40102 80390
200812 40803 * 40803 *.
200811 42429 83232
200810 40050 82479
200809 40362 80412
200808 66808 107170
200807 41443 108251
83168 41725 200806
200805 43718 85443
200804 42617 86335
200803 43573 86190
200802 45083 88656
200801 43354 88437
200712 43027 * 43027 *.
200711 43177 86204
200710 48562 91739
Why the output is not normal as the cnt 200812 and 200712, why he isn't getting summary.
Published by: user12152459 on November 3, 2009 19:54
While 5237783 is just fine, to be a little more explicit about why you get what you see...
With the help of the procedure of the range is in fact an arithmatic operation. Current line + /-1 (depending on the sort order) gives the value of range of procedure. 200902 is 1 unit before 200901 responds so the procedure 1 range, but isn't 1 unit before 200812 200901. You may know that the activity represents year/month, Oracle does not, there are just a number.
John
Tags: Database
Similar Questions
-
A sound card internal Mac pro 3.1 what they do?
And if yes where can buy one?
I need more input and output it attach to my PA and recording, hardware as I do with a windows PC.
The mac comes with a microphone and a single output with terrible impact when it is connected to my sound stuff.
A few people responded to your post above. Might be better to explain what your needs are, rather than starting a new discussion here.
-
Strange problem with analog output PCI 6251 and BNC-2110
I'm controlling current source of third parties using the connectors of analog output on my card PCI 6251 and BNC-2110.
The current source needs an input signal of 0.1V. I tested it using a battery, the potentiometer and the voltmeter, and by manually adjusting the voltage of power current works - current output with control voltage scales according to the specifications and is relatively stable.
The data acquisition card works too - when I connect a voltmeter to the AO0 AO1, the measured voltage corresponds to the target with great precision value.
But when I connect the current source of third AO0 AO1 data acquisition card, the measured output voltage drops and fluctuates. This applies to both channels of the AO.
I wonder what is the problem here. I suspect it could be a matter of the grounding - the current analog control of the source is an entry with two floating terminals differential. I tried to return the switches FS/GS on the BNC-2110, but that makes no difference.
Anyone knows similar behavior? Does anyone have any suggestions?
-
Synchronization of analog and digital output with the external sample clock
Hello
First of all sorry for my English, I will try to explain what I want to do.
I want my PCIe-6321 to send two custom signals (modification sawtooths) on a mirror controller. I would also like to generate output with my card at the beginning of each tooth of saw. Everything must be synchronized with an external k-clock signal of 100 kHz. The idea is that whenever the PCI receives a trigger to external clock, it sends two analog output voltages and when he received 1024 clock ticks it will also send a pic of triggering TTL. What I do is first prepare the map and after that in a loop sending and modifing the output values of the two signals and at the same time send a digital signal Boolean in each arch, so when's done it 1024 iterations of the loop I send an event to the digital port. Attached you can see.
The problem is that I don't know how to synchronize both. Can I use the sample clock just to the analog output? I can use sample for the two outputs clock, or do I need to use the output of the meter? If don't know how to use it here.
If I do nothing else bad/wrong, I would be grateful for feedback.
Thanks in advance,
PabloI don't know how but I find the solution. I'm generating more than a positive value (as I was triggered maybe very fast the oscilloscope has been absent there). If I put the sample clock of digital output to use the sampling/ao/Dev1 clock that it doesn't, but if I put to use the same source as the OD (terminal where my external clock is connected), but the trigger to start the DO to be Dev1/ao/StartTrigger this works. I don't really know why, but it does.
Thank you for your patience and your help. I put here the final code.
-
Using the output with 6009 or 6216 possible buffer?
Hello
I have a USB6009 and a USB6216. I need to generate a signal by using the analog output and I would use the output buffer. My questions are:
-The USB6009 has an output buffer? I always get an error, but I know from experience that this device is very limited, so I wonder if they have not only an output buffer... (Programs in input buffer are not a problem at all).
-J' took the USB6216 and I tried the example WfmGenUp.c downloaded from somewhere in the area of the developer (sorry I lost the link but fix the code) but I am not all analog output signals and after you press ENTER to stop the program (depending on the show) I get this error message:
NO MORTALS RUN - TIME ERROR: 'WfmGenUp.c', line 113, col 9, id thread 0x0000088C: DAQmxStopTask function: (is-200016 return value [0xfffcf2b0]). Measurements: On-board memory precision passing. Due to the limitations of system and/or the bandwidth of the bus, the driver could not write data to the device fast enough to track the rate of output of the device. Reduce your sampling rate, change the method of transfer of data (from interruptions on DMA), use a product with more on-board memory or reduce the number of programs that your computer runs simultaneously. Task name: _unnamedTask<0> Code of State:-200016
I don't know if the problem is just that the 6216 does not support the output buffering or the other...
-So, if the output control is not supported by 6009 or 6216 what would be the best way to constantly generate signals to 100 s/s?
Thank you very much
Kristel
Hi Ryan,
the USB-6009 case has 150 s/s softwaretimed AO, so you won´t be able to use AO stamped with the module.
The USB-6216 supported in the analog output buffer, just follow the recommendations that the driver gives you,
for example by reducing the sampling frequency, if there is an overflow memory due to the limitations of system and/or the bandwidth of the bus.
Experiment with the parameters and the basic to see in what range of sampling it works.
You can find appropriate examples
ANSI C:
C:\Dokumente und All Anwendungsdaten Users\Dokumente\National Instruments\NI - DAQ\Beispiele\DAQmx C\Analog Out\Generate Voltage\Cont Gen Volt Wfm - Int Clk ANSI
LabWindows CVI:
C:\Dokumente und Users\Dokumente\National Instruments\CVI\samples\DAQmx\Analog Out\Generate Voltage\Cont Gen Volt Wfm - Int Clk Anwendungsdaten All
0> -
Strange problem with HP OfficeJet 6500 709n
I have a very strange problem with my printer HP 6500 E709n wireless network. I have recently upgraded to Windows 8 and everything worked well. Then, all of a sudden I wasn't able to scan more. The HP Solution Center says that the printer is disconnected.
The weird part is that it appears in the section of Control Panel as active and properly connected printer and devices and I can still print to it, but not scan to it. He also says in the network section of the HP solutions center that the printer is connected and ready. The printer is connected to my wireless network and I also use it with a Mac Mini. The Mac can print and scan to it.
No idea why this is happening and how to fix it? Thank you.
This problem of not being able to scan only started after upgrade to Windows 8?
If so, then to solve the problem, you must first uninstall the Windows 7 software and then reinstall the software of Windows 8 long.
To uninstall the software, follow these steps:
1 right-click or press on and hold the lower left corner of the screen, then click or type programs and features. A list of installed programs.
2. click or tap the name of your HP printer, and then click or tap on uninstall.
3. follow the on-screen instructions to uninstall the software.After you have uninstalled it, go ahead and download the full software features for your printer. It can be found on the link below.
Driver and HP Officejet Full Feature software
Install this version of the software and try to scan now!
Let me know if it works for you, good luck!
-Kyle
-
Strange problems with the database
Hello
I just got my Fuze and am very happy with it; However, I am having a very strange problem with the database. I have a 16 GB sdhc card that I use with the "rocket" and there are about 4 songs on the card that will not play and have no information charge tag. Their tags appear in the tag browser (not the in the track information screen) as just an empty rectangle. Under the track information screen, sizes are listed as ~ 4000 mb. The songs will not play and I can not jump in front of one of these songs once they were loaded.
At first, I suspected some kind of corruption of tag, so I set out that night to track down the problem. I removed the 16 GB card and reset the player. Then, I loaded one of the corrupt in the internal memory of the player. The track has been scanned and played correctly. Then, I removed the track of the internal memory and it loaded on another SDHC card. Yet once, everything worked correctly, so I knew that the card I was using was a kind of system files or physical problem. I returned the original 16 GB sdhc card in the reader and checked that the file was still unplayable, and then I plugged the "rocket" to my computer. I transferred the unplayable file on my computer and compared (with md5sum) to the original file, thinking that if there was the file system or physical corruption the copy of the map would be damaged. However, the files were equivalent.
To make things even more interesting, I also have problems with the registration of the kind. I have some files tagged Genres such as 'Classic' and 'Rock '. In the list of the genre, I see this:
C
CL
CLA
CLAS
Class
Classic
Classic
Classica
Classic
Rock
So, there is corruption on the kind of 'Classic' but not the kind of "Rock". Each of the substrings of 'Classic' contains only a few titles, with most of the other titles listed where they should be. I checked that the tracks are labeled correctly and in exactly the same way as the other tracks that do not have this problem.
I am at a total loss about what to do, and I'd really appreciate any advice or suggestions. I use the current firmware, 2.03.31a and the songs in question are in Ogg Vorbis format.
MM
Thanks for your replies.
I managed to find what may be the problem. Tracks that received corrupt tags had the names of total path with more than 256 characters. It seems that the driver internal fat32 the rocket uses vomits all over the place when the path name is too long. Before the "rocket", I got an iPod running rockbox tags with the same directory structure that I have on the "rocket", so I don't think that this restriction on the length of the path name is a limitation or requirement of the fat32 file system. Reduce the path corrected the problem with the files being unreadable.
However, the problem with foires genres the rest. Looking at the files show that corruption, they all have a little information in tags. Most of the information is contained in the hashes I have files that identify them via musicbrainz. The limit on the total number of characters in the tags of the track includes the "rocket" label is not read or use?
MM
-
Strange problem with HorizontalFieldManager - it does not show on real device bitmap
I have a rather strange problem with the HorizontalFieldManager on my Blackberry 8820, which I did not on the Simulator, or done other blackberries that I tried to install my game.
The problem is that bitmaps that I add, do not appear on the actual device, as in the images below. The code is provided below as well. No idea how to debug, or resolve is appreciated.
Here's what I see on Simulator and some devices
Here's what I see on the real blackberry:
Code:
......
OK, I found the solution - the problem is that there seems to be a bug where you can't put more fields button radio on a horizontal layout manager with 4.2.2.x.
The solution is to extend the RadioButtonField field and replace the positioning method:
RadioButtonField radioField = new RadioButtonHack ("", textureGroup, isSelected);
SerializableAttribute public class RadioButtonHack extends RadioButtonField {}
public RadioButtonHack() {}
Super();
}public RadioButtonHack (String label, group RadioButtonGroup,
Boolean selected, long style) {}
Super (label, group, selected, style);
}public RadioButtonHack (String label, group RadioButtonGroup,
Boolean selected) {}
Super (label, selected group);
}public RadioButtonHack (label As String) {}
Super (label);
}Protected Sub layout (int width, int height) {}
int temp = this.getPreferredWidth ();
setExtent (time, height);
Super.Layout (time, height);
}}
-
Hi, today we had a strange problem with one of our 5550. I worked through ASDM on it and all of a sudden I couldn't connect via asdm on the interface of management or inside interface. Nothing helps.
When I connected with a vpn, then use asdm, it works. My ip on the network when it did not work was 1xx.xxx.81.235. When I use the vpn is a 1xx.xxx.55.1 from a different ip address. I can build a connection on the inside interface with asdm (with vpn).
I tried closed and without stop the interface of man, that does not.
It may be that the things asa, I am an intruder and dynamically blocks my netwerk range? If yes where can I find this info.
Other users of our team had the same problem.
I also checked the syslog nothing.
THX,
Marc
Although I've ever experienced this myself, but if the running-config has not changed and worked before its possible that the ASA
may have shunned your connection?
To the CLI:
# sh shun
look if your IP address is present, if any make:
# claire shun
http://www.Cisco.com/en/us/docs/security/ASA/asa80/configuration/guide/protect.html#wp1058270
More than likely it is do to a change to the running configuration, I would start by looking at a previously working with the gift of running-config running-config.
-
Ping failed with more than 76 bytes on Codian 4510
Hi all
Some troubleshooting problem I stumbled across what seems to be a strange behavior with the Codian 4510. In two separate environments, I realized that ping the device with a packet size of more than 76 bytes of data results in delays as shown below. Anyone know why this happens?
localhost: ~ jason$ ping s 76 10.2.0.208
PING 10.2.0.208 (10.2.0.208): 76 data bytes
84 bytes from 10.2.0.208: icmp_seq = 0 ttl = 254 times = 3,642 ms
84 bytes from 10.2.0.208: icmp_seq = 1 ttl = 254 = ms 3,579 times
^ C
-10.2.0.208 - ping statistics
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 3.579/3.611/3.642/0.031 ms
localhost: ~ jason$ ping s 77 10.2.0.208
PING 10.2.0.208 (10.2.0.208): 77 data bytes
Request timeout for icmp_seq 0
Timeout for icmp_seq request 1
^ C
-10.2.0.208 - ping statistics
3 packets transmitted, 0 packets received, loss of packets of 100.0%
This is normal, to avoid problems due to the too large ICMP packets.
-
graphical glitches while scrolling with more of an open pdf
I work for a service company HE managed. One user to one of my clients offices has encountered a strange problem with Adobe Acrobat Reader XI. With a single open pdf works XI player perfectly. With two or more files open at the time the program basically PDF stops, graphically speaking. Scrolling causes the pdf to become blurred to the point of being completely unreadable or navigable. Parts of the pdf scrolls while others will remain in place and essentially becomes spliced with some section files PDF was actually scroll to. So if the customer scrolls a half page the entire document will become chopped just pieces of parts at random the pdf document.
We have tried to reinstall, we tried to update, we have tried to repair the installation, nothing has no effect on the error. All Windows updates and updates to the graphics driver have both been implemented since the problem surfaced and made no difference at all.
The client recently upgraded to Windows 10 about a month or two ago, but the problem does not appear immediately after that it appeared just a few days ago.
Reader XI has been reinstalled after migration to Windows 10 and after that the problem appeared.
Someone knows something like that before? Does anyone know of all possible patches to this type of problem?
Hi George,.
Can you please confirm that you are facing this problem with v11.0.13 as well.
Also please share a sample pdf with me at [email protected] so that we can try to reproduce this behavior in our end.
Please, try the following steps and I would, if it helped:
Go in Edition > Preferences
1. use a custom resolution
2. try to disable smooth images, line art, improve the option lines
Kind regards
Rave
-
How to list all the vm with more than one network card?
Hello
Is it possible to only list all my s vm in my environment with more than one network card?
I tried using the Get-NetowrkAdapter cmdlet, but could not get the desired results.
Get - VM | Get-NetworkAdapter | Select-Object Name. ConvertTo-HTML-head $a - body "Virtual Machines < H2 > < / H2 > ' | Out-file D:\vms.htm
Thank you
Hello, AGFlora-
Of course, you can do this with the standard as cmdlets:
## using standard cmdletsGet-VM | Select Name, @{n="NumNICs"; e={(Get-NetworkAdapter -VM $_ | Measure-Object).Count}} | ?{$_.NumNICs -gt 1}
Or, if you want to get the results a little (or a lot) more quickly, you can use the cmdlet Get-view as:
## fast-like, using Get-ViewGet-View -ViewType VirtualMachine -Property Name,Config.Hardware.Device | Select Name,@{n="NumNICs"; e={($_.Config.Hardware.Device | ?{$_ -is [VMware.Vim.VirtualEthernetCard]} | Measure-Object).Count}} | ?{$_.NumNICs -gt 1}
Those are both by selecting the names of virtual machines and their number of network cards. Then you can direct this output to Export-Csv, ConvertTo-HTML, what you like. What to do for you?
-
Query to find records with more than 2 decimal places.
Output:-I have written the below query to find records with more than 2 decimal places, but it is returning records with decimal places 1 & 2. The datatype of the AMT column is NUMBER (without any precision). SELECT amt FROM amount_table WHERE substr(amt, instr(amt, '.')) LIKE '.%' AND length(substr(amt, instr(amt, '.') + 1)) > 2
AMT
* 41591.1*
* 275684.82*
* 64491.59*
* 3320.01*
* 6273.68*
* 27814.18*
* 30326.79*
131.8413635
162.5352898
208.5203816
8863.314632
22551.27856
74.716992
890.0158441
2622.299682
831.6683841
* 1743.14*
2328.195877
3132.453438
5159.827334
3.236234727
37.784
Thanks
Hello
user1585440 wrote:
when i inserted fee_amt as 41591.0999999999 it is displayed as 41591.1 in the output i.e, insert into amount_table (line_number,fee_amt) values (100,41591.0999999999); select fee_amt from amount_table where line_number = 100. this query shows the output as below fee_amt 41591.1 The fee_amt column has number as datatype (without precision) Why it is automatically shown rounded off as 41591.1?
Published by: user1585440 on December 28, 2010 04:50
You use SQL * more your front end?
SQL * Plus has a fixed width to display all columns. The default for numbers is 10 characters. If necessary, SQL * Plus will be round a number or the use of scientific notation, to represent the number of the expected number of characters.
You can use the SQL * more "SET NUMLARGEUR" to change the default view for all the numbers of orders, or "COLUMN" to set a sepcific format in an individual column.
If you explicitly convert your channel numbers in a query, SQL * Plus adjusts the column width to whatever is needed. For exampleSELECT TO_CHAR (fee_amt, 'TM') AS fee_amt_d
"TM" is the default format; You can call TO_CHAR with a single argument, if you prefer.
-
strange behavior with script times
Hi all
I have strange behavior with one of my scripts, and I can't understand where is the problem.
Before you post the code, here's the principle.
My form has two fields of time: "Time of Injection" and "Post injection time.
The script runs when the output of "injection time" event and look if the injection time is before time "post injection.
Here is my code:
//get the value of the field "Injection time" var injection = this.formattedValue; //create an new Date object var injectionTime = new Date(); //split the string to get the HH MM and SS values of the formattedValue (HH:MM:SS) var injectionTimeHoursString = injection.substr(0,2); var injectionTimeMinutesString = injection.substr(3,2); var injectionTimeSecondsString = injection.substr(6,2); //parse the strings into integer var injectionTimeHoursInt = parseInt(injectionTimeHoursString); var injectionTimeMinutesInt = parseInt(injectionTimeMinutesString); var injectionTimeSecondsInt = parseInt(injectionTimeSecondsString); //set the integer values into my Date object injectionTime.setHours(injectionTimeHoursInt, injectionTimeMinutesInt, injectionTimeSecondsInt,0); //do the same for the other time field "Post injection time" var post = post_injection.post_time.formattedValue; var postTime = new Date(); var postTimeHoursString = post.substr(0,2); var postTimeMinutesString = post.substr(3,2); var postTimeSecondsString = post.substr(6,2); var postTimeHoursInt = parseInt(postTimeHoursString); var postTimeMinutesInt = parseInt(postTimeMinutesString); var postTimeSecondsInt = parseInt(postTimeSecondsString); postTime.setHours(postTimeHoursInt, postTimeMinutesInt, postTimeSecondsInt,0); //calculate the difference between both var diff = postTime.getTime() - injectionTime.getTime(); //if the difference gives a negative result, display a message, empty the fields and set focus if(diff<0) { xfa.host.messageBox("The time of injection should be sooner than the time of post-injection activity measure.\n\nPlease re-enter correct times.","Incompatibility of times"); this.rawValue = ""; post_injection.post_time.rawValue = ""; xfa.host.setFocus(post_injection.post_time); }
The code seems to run pretty well... except with certain values.
If postTime is 12:00
and injetion is 12:04
I get the error message and everything, so it's OK
BUT
When postTime is 12:00
and injectionTime is 12:08
No message! as if the difference was not negative! (the difference is zero...)
When I display the time in a messagebox, 12:04 12:04:00 GMT blah blah... gives but 12:08 gives 12:00:00 GMT etc...
same problem with 12:09, but not 12:10 for example...
Any thoughts?
Thank you.
Thank you, but since I'm used to javascript, I'll stick to it.
I understand the problem. It's a javascript with the ParseInt method bug!
Check here: http://www.breakingpar.com/bkp/home.nsf/0/87256B280015193F87256C85006A6604
parseInt("08") = 0.
How to lose 2 hours for a stupid bug...
-
I have a strange problem with my RAM supported by installers. When I check the activity monitor, 3 installers are open and they start around 80 MB memory RAM used for about 7 or 8 concerts after 10 minutes. I have to force them to quit, but I don't know what I am closing or why they open in the first place. Applications downloaded on iTunes?
In addition, the Console has opened with the same message several times, but I don't know what that means.
Any help would be appreciated.
Hello
The last is a picture of the Terminal window.
Just because it lists 'Console' does not mean that it has nothing to do with this application.
You have not said why or what you're trying to install so I can't help with that.
You can use the activity monitor to leave their.
After you select an item, use the X in a type of stop sign icon and confirm force quit.
21:36 Thursday; September 15, 2016
iMac 2.5 Ghz i5 2011 (El Capitan)
G4/1GhzDual MDD (Leopard 10.5.8)
MacBookPro (Snow Leopard 10.6.8) 2 GB
Mac OS X (10.6.8).
iPhone and iPad (2)
Maybe you are looking for
-
I'm not able to get the email to sort properly... not on the threads.
No matter what I do the emails do not sort by date received, without rhyme or reason troubled crazy!
-
Since the last update browser is not the icon of firefox so no menu
Everything worked great before updating 29,0, since downloading the Firefox in my browser icon is missing, the page shows no sign that I'm in Firefox, even though everything else seems always the same than before. I need help to get the page to its n
-
Can I upgrade the Module Wi - Fi in the Satellite L50 - B?
I currently have the Toshiba Satellite L50 - B PSKTAA - 02G 001, and it works only on 2.4 GHz. I need this phone to work in the 5 GHz range.Can I upgrade the Wifi Module in this laptop to work on the 5 GHz. What will work the Wifi Modules replacement
-
Hi all I want to insert a graphic control on top a video image acquired by a camera. Is it possible to put a picture in the plot of the graph area? Thanks in advance for advice. Santorro
-
Hello I don't have an idea how much RAM my Compaq Presario 061 has, but I would like to know what is the most high, I can go to, any help is greatly appreciated. Windows XP Home Edition Version 2002, Service Pack 2 Build 2600 Processor AMD Athlon 64