"HAVING NOT LIKE" isn't working
When I wanted to sum the value of all inputted device data except one type I had to put this...
SELECT AttributeName, DateAdd(minute,-5,System.TimeStamp) as WinStartTime, system.TimeStamp as WinEndTime, DeviceId, Avg(Value) as Value, Count(*) as EventCount
FROM input
GROUP BY TumblingWindow(minute, 5), DeviceId, AttributeName
Having 'OK' = CASE
WHEN AttributeName LIKE '%/pir/%' THEN 'PIR'
ELSE 'OK'
END
...instead of simply saying...
SELECT AttributeName, DateAdd(minute,-5,System.TimeStamp) as WinStartTime, system.TimeStamp as WinEndTime, DeviceId, Avg(Value) as Value, Count(*) as EventCount
FROM input
GROUP BY TumblingWindow(minute, 5), DeviceId, AttributeName
Having AttributeName NOT LIKE '%/pir/%'
It accepted the "NOT LIKE" version, but didn't produce any output.
Does anyone understand why NOT LIKE doesn't work in this scenario?
Thanks in advance,
Peter
#PEJL
Got any nice code? If you invest time in coding an elegant, novel or impressive answer on MSDN forums, why not copy it over to
TechNet Wiki, for future generations to benefit from! You'll never get archived again, and
you could win weekly awards!
Have you got what it takes o become this month's
TechNet Technical Guru? Join a long list of well known community big hitters, show your knowledge and prowess in your favoured technologies!
Hi Peter,
Could you please try your scenario again? We deployed a service change recently which should support this scenario.
We have a different issue where testing of queries in the browser (without starting a job) does not have this fix yet, that change should be rolled out as soon as it is ready.
Zafar
Zafar Abbas
Similar Messages
-
I do not like how it works on my new iPad ios6.
I do not like how it works on my new iPad ios6. How do I go back to 5.1.1?
Help please.There are parts of your recent post that I do not understand, you can try a few things though.
press and hold the home and sleep/wake buttons until the apple logo appears on the screen, and then let go.
settings/general/reset/reset all settings
if the above do not solve your issue then a complet restore may be necessary. -
I do not like the new iOS 7 system on both my iPad 2 and iPhone 4S. I can not like the way Safari works, I can not see a way to enter name to search for new web sites. Is there a way I can go back to the old iOS 6.1.5 operating system on my devices? Thank you.
I can not see a way to enter name to search for new web sites
Put your search terms in the combined URL and search bar at the top of the browser (exactly the same as you do in most modern desktop browsers such as Chrome, Safari, Explorer). There is no separate search box, just use the box where you enter web addresses.
And no, you cannot downgrade. -
I am using iPhone 4s with no sim card. My WiFi turned grey and isn't working. I've tried many methods like freezing and Resetting the network settings, still not working. Now what should I do? (iOS 7.1.2)
Put in a micro SIM (SIM need not be active) and
Restore from backup
Restore as new
http://support.apple.com/en-us/HT201252 -
Does anbody know why my front camera isn't working? Please help. Thank You(:
Try the standard fixes:
- Reset. Nothing is lost
Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Restore from backup
- Restore to factory defaults/new iPod
If still problem time for an appointment at the Genus Bar of an Apple store. -
My iphone 6 connects to the car via bluetooth, the music works good, but the phone calls does not work. It looks like it is working but doesn't. I have tried in my Hyundai Sonata and a Dodge Dart rent car and get the same results. I updated the last 8.0.2. It worked the first day i had the phone, and then i updated to Ios 8.0.2 and it quit working.
Now when i get in the car, it acts like it is connected and makes the same call it was on after syncing to bluetooth, but it really isn't on a call. This is happening on both cars.
Does anyone know if this is the phone and i need to take it to Apple or if there is an issue that Apple is working on getting a fix for?
My son in law has the exact same phone as me, we both got the on 10/6, he had a Dodge Dart and his is working via bluetooth.
Someone HELP please, as i consider this a safety issue by not having my calls go to bluetooth.We had the same problem, but figure out the solution.
You MUST have at least 1 song added to your ITUNE! After you add a free song, then everything else should work as normal!
Hope this helps! -
My husband uses adobe cs5. The clone tool isn't working and after resetting the tools adobe bridge now goes to picasa. How can we make the clone tool work and have bridge go to cs5 not picasa?
A lot more information about your hardware and software is needed.
BOILERPLATE TEXT:
If you give complete and detailed information about your setup and the issue at hand,
such as your platform (Mac or Win),
exact versions of your OS, of Photoshop (not just "CC", but something like CC2014.v.2.2) and of Bridge,
your settings in Photoshop > Preference > Performance
the type of file you were working on,
machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
what troubleshooting steps you have taken so far,
what error message(s) you receive,
if having issues opening raw files also the exact camera make and model that generated them,
if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
a screen shot of your settings or of the image could be very helpful too,
etc.,
someone may be able to help you (not necessarily this poster, who is not a Windows user).
Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
http://forums.adobe.com/thread/419981?tstart=0
Thanks! -
My Verizon broadband was always crashing (some software issue that has been resolved) and after that my Thunderbird email stopped working saying I needed a password. I have tried everything in every option and still cannot change the password and log in. It has been a month since I have been able to use Thunderbird. I got a gmail account which I do not like at all. I don't like the format. I have not tried to get my mail from Thunderbird to gmail since I am already having enough problems.
I have even tried to uninstall Thunderbird and simply get a new one and start over but it always shows up my old one and thus I have the same password problem. My old version is never uninstalled properly which I find strange...even with a restart after the uninstall.
Any help would be much appreciated so that I can use Thunderbird.
AngelaNo idea what "tried everything" means.
Here is how you troubleshoot a password problem.
Go to your email providers web mail page and verify that you have a working username and password by logging into your account there. If you cannot log in there, look for the link to reset your password. Your email password is administered with your email provider.
Once you have a working password you need to remove any stored passwords in Thunderbird and replace with the new, working password.
From the menu bar select''' Tools-Options-Security-Passwords-Stored Passwords'''
Remove the passwords for the problem account. Close Thunderbird and restart it. You will be asked for a password. Enter the new password.
No menu bar with Tools? Press the '''alt '''key.
FYI: Thunderbird settings are stored in a different file from the program. Removing the program and reinstalling just keeps you busy for a little while and rarely fixes anything. As you have seen the old settings are picked up when Thunderbird is reinstalled. -
Hi. I have an ipod touch 4th generation, it's in perfectly good condition no cracks or anything. The issue is my ipod is locked and i'm not able to type in my passcode because the numeric keypad isn't working properly.For ex. when i hit 8 (which is the second number in my passcode) the number 5 type in. Also my home button isn't working. Hope that was specfic enough.. thanks!!
Place the iOS device in recovery mode with one of thes programs and then restore via iTunes
For PC
RecBoot: Easy Way to Put iPhone into Recovery Mode
If necessary:
Download QTMLClient.dll & iTunesMobileDevice.dll for RecBoot
For MAC or PC
The Firmware Umbrella - TinyUmbrella
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
For how to restore:
iTunes: Restoring iOS software
To restore from backup see:
iOS: How to back up
If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
You can redownload most iTunes purchases by: -
Hi there,
Wondering if you might know? I don't have enough space to update the new software on iPad. So my facetime isn't working anymore, this is prob why. Seems I have to delete like all the games/apps we have to do so. Will I lose the progress data/levels in the games? But how do I back up the games data?
Please help. Scared to delete them to update and then not have the space to restore them and if I get them again will the levels/progress be gone?
Thanks RachelConnect your device to iTunes and do the update through iTunes. Using a computer takes much less space on your device than doing the update on your device.
-
In CS 5, the font size in the type tool isn't working correctly.
Example: 30 point looks like 4 point
How can I correct it?In case you have not fixed this, take a look at your Image Size (Ctrl Alt i). The default when you make a new document window is 72ppi which can result in smaller text than you sometimes expect. If you open Image size, turn off resample, and change the resolution to something like 300, you'll get much larger type for the same settings.
For this reason one of the first things I do after installing Photoshop, or resetting Preferences, is to open Preferences > Units & rulers, and set Type to mm. This way I know that if the document is set to A4, and orientated in landscape (297mm x 210mm) setting text to 21mm is going to result in type exactly one tenth the height of the document.
I believe people in America still use inches, but unfortunately inches are not an option for Type units in Preferences. It is easy enough to work it out in your head though. A 10x8 document with type set to 25mm will give you text one eighth the height of the document.
The bottom line is you can at least predict what is going to happen when setting text size. -
My home button isn't working. It works to put it in dfu mode but not to return to home page where my apps are. Can anyone help please?
Try:
http://snapguide.com/guides/calibrate-your-home-button/?utm_expid=69945963-15
fix for Home button
iPhone Home Button Not Working or Unresponsive? Try This Fix
- If you have iOS 5 and later you can turn on Assistive Touch it add the Home and other buttons to the iPods screen. Settings>General>Accessibility>Assistive Touch
- If not under warranty Apple will exchange your iPod for a refurbished one for:
Apple - Support - iPod - Repair pricing
You can do it an an Apple store by:
Apple Retail Store - Genius Bar
or sent it in to Apple. See:
Apple - Support - iPod - Service FAQ
- There are third-party places like the following that will repair the Home button. Google for more.
iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens -
My iPod touch 5th generation isn't working. I plugged it in last night to charge and now its not turning on or responding to anything. It used to do this thing where it would freeze when it was 100% charged and plugged in and I was using it. I'd just unplug it, restart it (home button and top button) and then it would be fine. That had happened like 5 hours prior to me plugging it in again and then it going totally blank.
Try:
- iOS: Not responding or does not turn on
- Also try DFU mode after try recovery mode
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
- If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
- Try another cable
- Try on another computer
- If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
Apple Retail Store - Genius Bar -
So when I enter:
SELECT opened_by from(
SELECT ps."NUMBER",
ps.opened_by,
ps.assignee_name,
ps.closed_by,
listagg(att.type,',') within group(order by att.type) actions,
listagg(att.description_txt,',') within group (order by att.description_txt) descs
from tableps ps
LEFT JOIN activity_txt att ON ps."NUMBER" = att."NUMBER" and att.type in('Assignment','Reassignment')
where open_time between to_date('01-OCT-2012','DD-MON-YYYY') and to_date('31-OCT-2013','DD-MON-YYYY')
and ((ps.opened_by=ps.closed_by) and (ps.closed_by=ps.assignee_name) and (ps.assignee_name=ps.opened_by))
group by ps."NUMBER",ps.opened_by,ps.assignee_name,ps.closed_by
where (actions not like '%Reass%'or actions is null)
and (descs like ('%NONE to '|| opened_by ||'%') or descs is null)
and (descs not like '%,%' or descs is NULL);
All is well in the world...however when I add distinct to the outer select I get the
ORA-01489: result of string concatenation is too long
01489. 00000 - "result of string concatenation is too long"
*Cause: String concatenation result is more than the maximum size.
*Action: Make sure that the result is less than the maximum size.
I don't understand the difference why one would work and one doesn't.I little changed your quesry,
Please try, if you are getting same error, then it means you have very large desciptions in description_txt column.
Pleasech check :
https://forums.oracle.com/thread/2596075
https://forums.oracle.com/message/10601105#10601105
SELECT T."NUMBER",
T.opened_by,
T.assignee_name,
T.closed_by,
listagg(T.type,',') within GROUP(ORDER BY T.type) actions,
listagg(T.description_txt,',') within GROUP (ORDER BY T.description_txt) descs
FROM
(SELECT
ps."NUMBER",
ps.opened_by,
ps.assignee_name,
ps.closed_by,att.type, att.description_txt
FROM tableps ps LEFT JOIN activity_txt att ON ps."NUMBER" = att."NUMBER" AND att.type IN('Assignment','Reassignment')
WHERE open_time BETWEEN to_date('01-OCT-2012','DD-MON-YYYY') AND to_date('31-OCT-2013','DD-MON-YYYY')
AND ((ps.opened_by =ps.closed_by)
AND (ps.closed_by =ps.assignee_name)
AND (ps.assignee_name=ps.opened_by))
and (att.type NOT LIKE '%Reass%' OR att.type IS NULL)
AND (att.description_txt LIKE ('%NONE to '|| opened_by ||'%') OR att.description_txt IS NULL)
AND (att.description_txt NOT LIKE '%,%'OR att.description_txt IS NULL)) T
Group by T."NUMBER",
T.opened_by,
T.assignee_name,
T.closed_by
And carefully read Solomon Yakobson's and Frank Kulash's replies.
Regards
Mahir M. Quluzade -
So the left side of my iPhone isn't working at all and I even tried turning it off for 5 minutes about 10 million times but nothing is working. Any suggestions on what to do I need help like ASAP!?
Have you performed a reset? Tap and hold the Home button and the On/Off button for approximately 10-15 seconds, until the Apple logo appears. Release both buttons and await restart.
Maybe you are looking for
-
Detect Note Changes in MIDI Sequencer
Hi all, I’m trying to detect when the MIDI Sequencer changes notes using some kind of a listener to detect when the note changes occur. My example program is able to detect the end of the sequence and I’d like to be able to detect note changes and pr
-
CD stuck in combo drive – not mounted / not recognized, so cannot eject
A CD which had been recognized and could be played in iTunes was in the combo drive when I rebooted. After reboot the CD was not recognized/mounted, and was not visible in Finder, iTunes, or DiskUtility (therefore, it cannot be ejected). I rebooted w
-
Hi Gang, OK, I have been sick for sixteen years, about as long as the Target hacker has been alive. I will be 67 in a few weeks. My PC tells me it cannot load SuperFetch at boot time. What did I clobber? I saved the message as offered. Thanks, Al Mar
-
. bapi to create customer
Hi All, I am having problem finding a right bapi for create a customer. I am using "bapi_customer_createfromdata1" to create a customer. Problem is i couldn't find a structure to pass sales org. data as well as partner functions. Please help me. Feel
-
Error in Contract: "Configuration for product is missing"
Hi Experts, I have a problem with configurable products in CRM 7.0. I defined a product like configurable setting the flag "Configurable Product" in material master data. Also, using the "Product Models" functionalities, I created a very simple confi