I am getting this error :The right function requires 2 argument(s).
declare
@startdate datetime,
@enddate datetime
SET @STARTDATE ='01-MAR-2014'
SET @enddate = '01-MAR-2014'
Set @StartDate = Convert(datetime, Convert(char(10), @StartDate, 120) + ' 00:00:00', 120)
set @enddate =convert(datetime,Convert(char(10),@enddate, 120) + ' 23:59:59',120)
SELECT
[row_date]
,[logid]
,CONVERT(VARCHAR(6), (ISNULL(SUM([acwouttime] + [auxouttime] + [holdtime]), 0))/3600) +
':' + RIGHT('0' + CONVERT(varchar(2),(ISNULL(SUM([acwouttime] + [auxouttime] + [holdtime]), 0)) % 3600) / 60), 2)
+ ':' + RIGHT('0' + CONVERT(varchar(2), (ISNULL(SUM([acwouttime] + [auxouttime] + [holdtime]), 0)) % 60), 2)AS HoldTime
FROM [CMSData].[dbo].[hagent2]
WHERE ([logid] IN (1382, 1493,1382,1493,1444,1466,1301,1074,1655,
1749,1685,1686,1684,1617,1681,1792,1595,1597,1687,1622))
AND (row_date BETWEEN @StartDate AND @EndDate)
GROUP BY
[row_date]
,[logid]
hi friends when I am executing this query I am getting this error please help me I will grateful to you .
ERROR: The right function requires 2 argument(s).
you may be better off making date filter as below
declare
@startdate datetime,
@enddate datetime
SET @STARTDATE ='01-MAR-2014'
SET @enddate = '02-MAR-2014'
AND (row_date >= @StartDate AND row_date <@EndDate)
see
http://visakhm.blogspot.in/2012/12/different-ways-to-implement-date-range.html
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs
Similar Messages
-
I bought my Apple iTunes & Apple AppStore Card's at Best Buy, but when I try to use them I get this error: The Gift Certificate or Prepaid Card code you entered has not Ben properly activated. What did I do wrong or did Best Buy not scan it right! Real Geniuses in that store!
If so, then review the first link to see if you can troubleshoot your issue yourself. If that doesn't work, then contact iTunes Support via the second link below:
Invalid, inactive or illegible codes:
http://support.apple.com/kb/TS1292
Contact iTunes support here:
http://www.apple.com/support/itunes/contact/
Cheers,
GB -
I have been trying to find a solution to this problem by browsing this forum but I can't seem to find a solution.
As many others have decided to do I want to copy my Aperature library to an external FW 800 drive as my laptop space is dwindling. It seems all you need to do is copy the Library from the finder which can also be revealed in the preference if Aperature. When copying it seems to transfer for a few seconds but then I get this error "The operation can’t be completed because an item is being modified." I have formatted the drive correctly and there is no issues with Aperature itself so why do you think I am having this error? What can I do to copy this Library to my external?Reboot your machine make sure Aperture doesn't start (as Lion is liable to do) and try it.
-
I cant install or uninstall my itunes. I get this error 'the feature you are trying to use is on a network resource that is unavilable' Now ive seen the solutions on here but im using windows 8.1 and none of them work for me. Ive tried all options so please can someone help?
That doesnt work for me. I removed itunes through the windows cleaner method as shown in other posts and re-installed itunes. Now im getting this error
iTunes was not installed correctly. Please reinstall iTunes
Error 7 (Windows error 126)
Also my Microsoft office has stopped working after i deleted Itunes which is really strange.
Can somebody provide me a solution please.... -
hi, l authorized my computer using iTunes and it said successful, but when l start syncing my applications l get this error: "The iPhone "My name" could not be synced because this computer is no longer authorized for purchased items that are on this phone".
May you help
ThanksTry TS1389: iTunes repeatedly prompts to authorize computer to play iTunes Store purchases.
tt2 -
Adobe Acrobat Pro XI 11.0.06 when I reduce file size or try to optimize, I get this error: The document could not be saved. A number is out of range. I do the exact same thing every month and it works. I did it a few days ago and it worked. I receated the pdf, I renamed it. tried to do it before I imported more pages. no go. the 16 mg pdf will normally reduce to 5 or 6
Hi,
Are you facing the issue with any pdf file?
Please try updating Acrobat to 11.0.7 and check.
You might also want to repair Acrobat and see.
Regards,
Rave -
i can't install icloud on my pc i get this error:the file 'AOSKit.dll' cannot be installed because the file cannot be found in cabinet file 'iCloud.cab'.this could indicate a network error, an error reading from the CD-ROM, or a problem with this package! please help!!!!!
“the procedure entry point kCMByteStreamNotification_AvailableLengthChanged could not be located in the dynamic link library CoreMedia.dll.”
Taken at face value, you're having trouble with an Apple Application Support program file there. (Apple Application Support is where single copies of program files used by multiple different Apple programs are kept.)
Let's try something relatively simple first. Restart the PC. Now head into your Uninstall a program control panel, select "Apple Application Support" and then click "Repair".
Does iTunes launch properly now?
If no joy after that, try the more rigorous uninstall/reinstall procedure from the following post:
Re: I recently updated to vista service pack 2 and I updated to itunes -
HELP!!!
I am trying to install iTunes on my Windows 7 laptop and get this error:
"The installer encountered errors before iTunes could be configured Errors occurred during installation. Your system has not been modified"
Arghhhhh!! I've tried different browsers and various other things suggested on other posts to no availOk people, I think I have found the solution !
If you click on the start button from your desktop screen.
Then in the "search programs and files" field type : apple software update - you can find the apple installer.
Click on the apple software update line and let the machine run it's course. I recommend updating whatever it wants to , ie: safari 5, quicktime, itunes....
I then restarted my computer and it seems to be working now !
Good luck everyone ! -
In motion 5, when I go to export - H.264 - I get this error: The operation could not be completed because an error occurred when creating frame 1364 (error -1). Why and How do I Fix It???
What version of FCPX ?
-
hello i have an iphone 4 its stuck in the apple loop. when ever i unplug it from the computer it shuts down and when i plug it in it shows me on itunes its in recovery mood and every time i click restore i get this error the iPhone could not be restored.an unknown error accurred (2001)
Error 1 or -1
This may indicate a hardware issue with your device. Follow Troubleshooting security software issues, and restore your device on a different known-good computer. If the errors persist on another computer, the device may need service.
http://support.apple.com/kb/TS3694#error1 -
My e-mails worked last night but this morning it did not. My aol emails work just fine only the att mails do not open up.
Keep on getting this error: The requested URL /dc/launch was not found on this server.If you have Panda Cloud Antivirus installed, please see this thread: https://support.mozilla.com/en-US/questions/798059
Otherwise, follow co-rel's instructions in this one: https://support.mozilla.com/en-US/questions/784695 -
When I tried installing this software, I get this error: "The installer encountered an error that caused the installation to fail. contact the software manufacturer for assistance." Any idea why? My computer is Mac OS X Version 10.7.5
What software are you trying to install?
-
I keep trying to load firefox 6 and keep getting this error - The requested URL /cse?cx=partner-pub-3540673482024757:xbhdw8hkfz5&ie=ISO-8859-1&q=&sa=Search was not found on this server. That’s all we know. in English
Bookmark and use this;
Download the '''[https://addons.mozilla.org/en-US/firefox/addon/searchreset/ Mozilla Search Reset]''' {web link}
This add-on is very simple: on installation, it backs up
and then resets your search preferences and home page
to their default values, and then uninstalls itself. This
affects the search bar, URL bar searches, and the home page.
Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
You can try these free programs to scan for malware, which work with your existing antivirus software:
* [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
* [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
* [http://support.kaspersky.com/viruses/disinfection/5350 Anti-Rootkit Utility - TDSSKiller]
* [http://general-changelog-team.fr/en/downloads/viewdownload/20-outils-de-xplode/2-adwcleaner AdwCleaner] (for more info, see this [http://www.bleepingcomputer.com/download/adwcleaner/ alternate AdwCleaner download page])
* [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
* [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
[http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
Did this fix your problems? Please report back to us! -
I am getting this error " The program can't start because MSVCR80.dll is missing from your computer. try reinstalling the program to fixthe problem. " I have reinstall 3 times still nothing? HELP
Read the user tip: https://discussions.apple.com/docs/DOC-6562 for the most thorough explanation of fixing this problem.
-
Him
Every time I start up iTunes I get this error message. "A required iTunes component is not installed. Please repair or reinstall iTunes (-42404)." I have researched this on Google and I have not read of any solution. Please advise.Here you go: http://support.apple.com/kb/HT1923
There are three steps so make sure you follow all of them. They are:
remove iTunes and everthing related to it
verify everything is really removed
reinstall iTunes.
Maybe you are looking for
-
Transport Collection includes Logical System?
Hi, I am collecting up Object for the BW Admin Cockpit and the collected list includes the BW Logical System as well. I can't understand why this would get picked up and I don't know what the consequences are for transporting this. The Transport Co
-
[solved] USB drives won't auto mount
When I plug in a drive, I get this error message: Rejected send message, 1 matched rules; type="method_call", sender=":1.24" (uid=1000 pid=4499 comm="exo-mount) interface="org.freedesktop.Hal.Device.Volume" member="Mount" error name="(unset)" request
-
Compiler not reporting unreachable code
I had obvious bug code after return, but compiler did not even reported an error should not it flag it as unreachable code?) is that normal?
-
Recovering the rules app from one export/import (HOWTO?)
Hello Aravind: I'm having an issue with my rules app. Our customer has a requirement. They want to export the production environment to the test environment, to have the data updated, and be able to reproduce recent issues to create a report. The pro
-
Running thread - which statement to get to know what this thread is doing
Hallo, I have a thread in my database running. Normally the action I am doing with this thread lasts 1 hour. Now it is working for 3 hours. How can I get to know what my thread is doing and how long this will last? Which statement can I use? Thanks i