Fixed Query update DATETIME issue
I'm trying to convert a VARCHAR value to a DATETIME value in a table in a SQL database with the following Fixed Query Details:
update SAPQNJDB.MPM_AFKOL
set GSUZS = CONVERT(Datetime,'2012-03-28 11:10:00.000')
where AUFNR = '000001000648'
But I receive the error as below:
SQL error has occurred on query The SQL statement "update SAPQNJDB.MPM_AFKOL
set GSUZS = CONVERT(Datetime,'2012-03-28 11:10:00.000')
where AUFNR = '000001000648'" contains the syntax error[s]: - 2:14 - Intermediate-SQL syntax error: CONVERT or TRANSLATE function not allowed
- 2:30 - SQL syntax error: the token "," was not expected here
- 2:30 - expecting "using", found ','
SQL Version is 2008
SAP MII Version 15.0 sp 0 patch 0
Type: Querytemplate
Datasource Modes: Command
A normal select query on the same tables just works fine.
Issue is solved.
Changing the datasource from DataSource(SQL) to IDBC(SQL) did the trick
Similar Messages
-
is apple going to fix the magic trackpad issue with Autocad zoom/pan soon?
It only started happening when I updated to Yosemite
I am using macbook pro 15" RetinaAlthough it not only bothers me but alot of other photo booth users aswell
-
how can I fix the battery drain issue on my iPhone 5s? it started when an updated to iOS 8.2 and upgrading to iOS 8.3 still did not fix it.
Search this forum. Your issue has already been addressed ad nauseum.
Best,
GDG -
I am having major issues with links in keynote! Even though the links (a navigation system) are on the master page, they are only working on some of my slides. Anyone have ideas on how to fix this or similar issues? Help!
I have created a navigation system on the master pages and set the presentation to links only mode. I also have other links scattered throughout the program, like a linkable table of contents, etc. Some of them work, some of them don't. Not sure why. Anyone out there having similar issues? Or have any idea on how I can solve this issue? Any help would be appreciated!
Thanks!Links should not create any problems in Keynote. If they are set up correctly on text, the text will be underlined. Objects that have links will have a curved arrow bottom right, if you click the arrow a popup will display the link information.
Try this repair for Keynote, ensure you complete all the tasks and in the order shown:
1
delete all the iWork applications if you have them, not just Keynote, using Appcleaner from Mac Update, its a freeware application
2
empty the trash: Finder > Empty Trash
3
Shut down your Mac, wait 30 seconds, then power on the Mac, immediately after the start chime, hold down the Shift key
When you see the grey Apple symbol and progress indicator (a spinning gear), release the Shift key.
If you are prompted to log in, type your password, then hold down the Shift key again as you click Log in.
4
Let the Mac fully boot up, it will take longer as the OS is repairing the drive
5
when fully booted, go to Applications > Utilities > Disc Utility; click on the boot drive then First Aid tab and click repair disc permissions
6
when complete, restart the Mac normally, Apple menu > Restart
7
install Keynote from the Mac App Store
let us know if this helped -
I can't connect to ad-hoc networks with my iPod touch 4g AND IT ****** ME OFF!! (running firmware 6.1.2) Please fix this extremely annoying issue ASAP!!
Try:
- Powering off and then back on your router.
- Anything else here
iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
- Change the DNS to either Google's or Open DNS servers
Public DNS — Google Developers
OpenDNS IP Addresses
- Try on another computer/network
- Wait if it is an Apple problem -
FSCM via WS-RM (without PI ) - Update termination issue
Hello experts .
We are trying to integrate SD with FSCM ( credit management) using WS-RM (without PI).
Details of the issue and steps followed so far.
Ideal Scenario :
Once we create / change a sales order ( in SD ) , the interface Creditworthinessquery_out (WS Consumer ) gets triggered (in SD) and the subsequent response CREDITWORTHINESSQUERY_IN(Provider) is triggered from FSCM (with the details of creditworthiness).Once the query response in received an notification is triggered from SD to FSCM (asynchronous service).
After receiving the query response the functionality of credit check happens while creating / changing the sales order .
Configuration steps followed in SOAMANAGER
We have created end points for all the relevant service interfaces (Providers) , and also created logical ports for the respective consumers.
During the creation of logical ports - for the consumers we used the WSDL (of the providers) as the inbound message action.
(This has been done to all the services query , notification that are relevant in our integration).
Current behavior / issue .
While creating sales order the sales order is not getting saved (getting updated in the database).System allows us to complete the sales order creation process and also we get a message as sales order saved successfully. But then there is a update terminated express document that pops up. Sales order is not getting updated in the database.
When I see the logs/traces in SOAMANAGER I see that the query out is successful , query in has the right response (in warning state though) . But no notification is being triggered ??
How to overcome this update termination issue ?
When we see the SM13 log , it points to SLD issue (LCR 010: Internal error in SLD API). why do we need a SLD without PIHi ,
Finally we are able to solve the update termination issue . But again we are using a work around .
Situation :
Once we executed the VA01 transaction we were getting update termination issue . After lots of debuggung we found that system was trying to get the Business system details ( Own business system data ) . The table lcrt_clntcache had no values.
Solution
We inserted appropriate values in the Table LCRT_CLNTCACH (business system data ) and now it works .This is a work around we got as of now.Credit checks are happening successfully and also integration is good .
(typically if we define business system in SLD (PI) , and run SLD_CHECK , this table gets populated , but in our case we are not using PI instead we are using WS-RM)
But now few questions arise .
a) Why do we need a business system in case we are not using PI ( typically we define business system and technical system in PI ) and instead using WS-RM ?
b) Is it a good practice to update the table ( as did in workaround above )?
c) Is this any bug and needs to be consulted with SAP ?
Please let me know your views .
Edited by: Vedula Adeep on Jan 16, 2012 8:42 AM -
IChart & Fixed Query /w scooter values in legend (xMII 11.5.1)
Hello all, this is my first post here and I hope that I can get some help.
Environment Details:
Server: Windows 2003, xMII 11.5.1, Java Plugin 1.4.2_13
Client: Windows XP, IE6, Java Plugin 1.4.2_13
My problem is that I cannot get scooter values to show in the legend with a simple iChart & Fixed Query. At least not without more problems. Let me explain...
The following chart & query does not show scooter values in the legend (values are shown in the upper left hand corner for the selected item though):
<applet name="ProcessDataApplet" height="421" width="1259" code="iChart" archive="illum8.zip" codebase="/Illuminator/Classes" "mayscript="true">
<param name="Mode" value="FixedQuery" />
<param name="QueryTemplate" value="Allvac/AMP/QueryTemplate" />
<param name="DisplayTemplate" value="Allvac/AMP/DisplayTemplate" />
<param name="Server" value="MONROE_VAR_ARMS" />
<param name="Query" value="SELECT [TIMESTAMP],[ACTUAL_FURNACE_CURRENT],[ACTUAL_FURNACE_VOLTAGE],[RAM_VELOCITY] FROM [PRODUCT_HEADER] INNER JOIN [PRODUCT_AUDIT_DATA] ON ([PRODUCT_HEADER].[PRODUCT_KEY] = [PRODUCT_AUDIT_DATA].[PRODUCT_KEY]) WHERE [PRODUCT_HEADER].[PRODUCT_KEY] = '525cb615-1b15-4b07-aa7c-9f1df9c47ba3' AND [TIMESTAMP] >= '02/27/2008 03:21:22' AND [TIMESTAMP] <= '02/27/2008 15:14:34' ORDER BY [TIMESTAMP] ASC" />
<param name="RowCount" value="8558" />
<param name="ChartType" value="Line" />
<param name="AxisValueColumn" value="TIMESTAMP" />
<param name="XAxisFontSize" value="10" />
<param name="LegendWidth" value="40" />
<param name="LegendFontSize" value="10" />
<param name="GlobalServerScaling" value="false" />
<param name="ZeroBasedScale" value="true" />
<param name="UseScreenResolution" value="false" />
<param name="EnableDoubleClickRefresh" value="false" />
<param name="ShowMouseTracking" value="true" />
<param name="ShowScooter" value="true" />
<param name="AutoScale.1" value="true" />
<param name="Decimals.1" value="2" />
<param name="AutoScale.2" value="true" />
<param name="Decimals.2" value="2" />
<param name="MinRange.3" value="0.00000" />
<param name="MaxRange.3" value="0.40000" />
<param name="Decimals.3" value="2" />
</applet>
I went one step further to see if I could get the scooter values shown in the legend. I modified the query to use the StartDate & EndDate placeholders like so:
SELECT [TIMESTAMP],[ACTUAL_FURNACE_CURRENT],[ACTUAL_FURNACE_VOLTAGE],[RAM_VELOCITY] FROM [PRODUCT_HEADER] INNER JOIN [PRODUCT_AUDIT_DATA] ON ([PRODUCT_HEADER].[PRODUCT_KEY] = [PRODUCT_AUDIT_DATA].[PRODUCT_KEY]) WHERE [PRODUCT_HEADER].[PRODUCT_KEY] = '525cb615-1b15-4b07-aa7c-9f1df9c47ba3' AND [TIMESTAMP] >= [SD] AND [TIMESTAMP] <= [ED] ORDER BY [TIMESTAMP] ASC
I also added my initial StartDate & EndDate parameters:
<param name="StartDate" value="02/27/2008 03:21:22" />
<param name="EndDate" value="02/27/2008 15:14:34" />
NOW the scooter values are shown in the legend, which is great, but all of a sudden the zoom is broken. When I select an area to zoom and then click the zoom button, it zooms to a completely different area of the chart. This is worse than my original problem.
Can someone please help me out with this? I have a feeling I'm leaving out something simple, but I can't find it.
By the way, my display template and query template used in this example are empty so that I could show all parameters to you.
Thanks,
BryanI removed scaling and accuracy parameters. I also removed some parameters that controlled styling. I added global auto scaling.
Now X & Y are updating properly on zoom. Although unzoom isn't working for start date and end date. They stay at the zoomed date. The post data also shows the zoomed dates being sent to the server after unzoom. The Y range updates properly on unzoom.
Here is my updated applet html:
<applet name="ProcessDataApplet" height="421" width="1259" code="iChart" archive="illum8.zip" codebase="/Illuminator/Classes" "mayscript="true">
<param name="Mode" value="FixedQuery" />
<param name="InitialUpdate" value="true" />
<param name="QueryTemplate" value="Allvac/AMP/QueryTemplate" />
<param name="DisplayTemplate" value="Allvac/AMP/DisplayTemplate" />
<param name="Server" value="MONROE_VAR_ARMS" />
<param name="Query" value="SELECT [TIMESTAMP],[ACTUAL_FURNACE_CURRENT],[ACTUAL_FURNACE_VOLTAGE],[RAM_VELOCITY] FROM [PRODUCT_HEADER] INNER JOIN [PRODUCT_AUDIT_DATA] ON ([PRODUCT_HEADER].[PRODUCT_KEY] = [PRODUCT_AUDIT_DATA].[PRODUCT_KEY]) WHERE [PRODUCT_HEADER].[PRODUCT_KEY] = '525cb615-1b15-4b07-aa7c-9f1df9c47ba3' AND [TIMESTAMP] >= [SD] AND [TIMESTAMP] <= [ED] ORDER BY [TIMESTAMP] ASC" />
<param name="RowCount" value="10000" />
<param name="StartDate" value="02/27/2008 03:21:22" />
<param name="EndDate" value="02/27/2008 15:14:34" />
<param name="ChartType" value="Line" />
<param name="GlobalAutoScale" value="true" />
<param name="UseScreenResolution" value="false" />
<param name="ShowMouseTracking" value="true" />
<param name="ShowScooter" value="true" />
<PARAM NAME="Trace" VALUE="true">
</applet>
This problem isn't making any sense to me. The documentation makes it sound like showing the current values in the legend is as easy as setting ShowScooter = true. This wasn't the case for me though. I had to use the [SD] and [ED] placeholders in my fixed query before the values would show up in the legend. But then zooming breaks. It looks like we're heading in the right direction to get the zooming fixed, but at the cost of being able to scale each pen.
The first thing you said to me in your first post was that I'm using a 3+ years old version of xMII. Are you saying there is a good chance this is a bug? I was pretty convinced from the beginning that this problem is a bug. The customer I am working for set me up with an xMII 11.5.1 server because that is what they are using in production. Is there an online document with a list of bug fixes between versions? If this is a known bug in 11.5.1 then maybe I can get the go ahead to upgrade. -
OS 3.1.2 Update didn't fix the "updating library, please wait a few minutes
I was hoping that the software update would fix the "Updating library, please wait a few minutes" screen that comes up when I try to play a song on my ipod touch after syncing. Is this bizarre "updating library" delay going to be a permanent feature of the ipod touch now? Could someone from Apple please clarify if you are trying to fix this, or is this just the way it is now?
If you (Apple) aren't going fix it, I hope you make it known in your marketing for the ipod touch that you can't listen to your songs immediately. If you don't disclose this, I sure hope the Zune touch people make a big deal out of it when promoting their mp3 player. I woudn't have bought an ipod touch if I had known I had to wait 2-10 minutes to listen to a song.I suspect there's something else going on here... I'm having terrible trouble syncing films, and even tho they are clearly there, they don't seem to load in the list... I noticed that especially if I had dropped my network connection - the list would disappear (and this is on multiple touches)... It then starts to look very like my issues on Apple TV, where if it cannot verify the film back throught the network to the store, it deletes the content from your box... I suspect that each time it loads on the touch, it's doing some kind of 'legitimacy' verify, and that's what's causing the problem.... If I crash the sync just before the end, the re-index seems to work okay, but there is still that slight delay....
-
Will BB fix most of these "issues"
Hi all,
I am new to BB with the Z10. I really want to keep this device. I really like the simplicity of the phone as a productivity device. I have had Android and they work well, but I don't really care for all the other "**bleep**" they seem to have on them. I use my cell phone mostly as a phone believe it or not.
But I am disappointed with a few things like the contact list duplicating and even up to quadrupling some contacts. No real way to speed dial more than a few entries. The gmail only keeping a limited time frame of older emails.
I have been reading threads and looking for solutions on this board and others with some discouraging results. Will BB fix most of these "issues" and others that this community is posting about? I have about 5day's left before I need to make a decision to send the phone back or not.
To the group, what say you?
Regards, RicK T.BlackBerry is working on the gmail duplicate contacts fix.
See more here: Duplicate Gmail Contacts appear on the BlackBerry Z10 smartphone
1. If any post helps you please click the below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
3. Install free BlackBerry Protect today for backups of contacts and data.
4. Guide to Unlocking your BlackBerry & Unlock Codes
Join our BBM Channels (Beta)
BlackBerry Support Forums Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
Power Query Update breaks connection to PostgreSQL database
After the update to Power Query 2.11.3625.144, we can't connect our PostgreSQL database anymore.
Error message is:
DataSource.NotFound: PostgreSQL: Unable to find a database provider with invariant name 'Npgsql'.
This error may have been the result of provider-specific client software being required but missing on this computer. To download client software for this provider, visit the following site and choose at minimum 'Npgsql version 2.0.12': http://go.microsoft.com/fwlink/?LinkID=282716
Readding the Npgsql driver doesn't solve the issue. Has the version requirement changed with the Power Query update? Or is PostgreSQL connectivity completely broken?Hmm,
If I add the line, I get the following error message in Power Query:
'Npgsql' returned the error: 'Unrecognized element. (C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config line 169)'.
This error may have been the result of provider-specific client software being required but missing on this computer. To download client software for this provider, visit the following site and choose at minimum 'Npgsql version 2.0.12': http://go.microsoft.com/fwlink/?LinkID=282716
The code in the machine config looks like this:
<system.data>
<DbProviderFactories />
<add description=".Net Framework Data Provider for Postgresql Server" type="Npgsql.NpgsqlFactory, Npgsql, Version=2.0.12.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7" name="Npgsql Data Provider" invariant="Npgsql" support="FF"/>
</system.data>
The node seems to be empty by default. Can it be that the surrounding stuff has to be differently written in that case? -
[svn] 3420: Fix for Runtime Configuration issues.
Revision: 3420
Author: [email protected]
Date: 2008-09-30 11:13:54 -0700 (Tue, 30 Sep 2008)
Log Message:
Fix for Runtime Configuration issues. If the destination is initialized, then you'll want to initialize the instance when it is created. Otherwise, you want to wait until the destination is initialized. Typically, when using runtime configuration, the destination is not initialized and the instance is not initialized, instead the properties on the instance are set.
qa: no
bug: n/a
checkintests: passed
Details:
modules/core/src/flex/messaging/Destination.java
* add an initialized flag and a method for retrieving the value
modules/core/src/flex/messaging/factories/JavaFactory.java
* fix typos in comments
modules/core/src/flex/messaging/factories/JavaFactoryInstance.java
* if the destination is initialized, then you'll want to initialize the factory instance when it is created
modules/core/src/flex/messaging/FactoryDestination.java
* if the destination was not initialized before the factory instance was created, the factory instance will be initialized when the destination is initialized
Modified Paths:
blazeds/trunk/modules/core/src/flex/messaging/Destination.java
blazeds/trunk/modules/core/src/flex/messaging/FactoryDestination.java
blazeds/trunk/modules/core/src/flex/messaging/factories/JavaFactory.java
blazeds/trunk/modules/core/src/flex/messaging/factories/JavaFactoryInstance.javaHi JBKL, and a warm welcome to the forums!
For the Ethernet Location... Is that Interface dragged to the top of Network>Show:>Network Port Configurations?
It may be that the Router needs a Firmware update to keep up with the OS Updates... check online, don't trust any automatic checking feature in the Router.
Where are we now? -
Cannot locate policy manager query/update service
Hi,
I installed soa_server 11.1.1.4.0 on windows server 2003 machine, I got a weird issue while accessing the weblogic policy manager through em. I logged into em console, weblogic domain, domain, webservvice, policy throw this erro below
"*Cannot locate policy manager query/update service. Policy manager service look up did not find a valid service, due to: Unable to connect to WS Policy Manager. <- oracle.wsm.policymanager.PolicyManagerException: WSM-02118 : The query service cannot be created. <- javax.naming.NameNotFoundException: While trying to lookup 'QueryService#oracle.wsm.policymanager.ejb.IStringQueryServiceRemote' didn't find subcontext 'QueryService#oracle'. Resolved ''; remaining name 'QueryService#oracle/wsm/policymanager/ejb/IStringQueryServiceRemote'*"
even my wls-m is running , I can access the http://host/wls-pm.
Last three days I have spend for this issue but no clue.I disabled SSL, enable with SSL host validation false but also get this error.Please sort out this issue.
Thanks
GovindanProblem solved.
Soln:
Given ip address in the Listen Address field of weblogic Admin and SOA server. :)
Thanks
Govindan P -
How to fix IE/Opera swf issue?
Hello
Wonder how to fix that IE 7 issue of having to click on the
flash file/banner in order to activate it...Opera also has this
issue as well. Thing is I need a fix that will be easy in one go -
I've got a rotation/random array/series of banners on this home
page -
http://www.enhancedwireless.net/index.html
4 of which are Flash - so how can I script it to where all 4
swf files will be taken care of...that they'll be activated in
Opera and IE?
Thanks much
KBWell, I just spent a while trying to make this work - but
there's no difference on Opera or IE 7 - my banner still won't work
unless you click on the banner to activate it...I stripped out
quite a bit of the html that Flash puts on the file (it didn't work
even when I did leave all that js in) and put in the following -
what's wrong? This is the entire html now for my banner...
=====================
<!-- saved from url=(0013)about:internet -->
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1" />
<title>HigherThroughputRO</title>
<script type="text/javascript"
src="swfobject.js"></script>
<style type="text/css">
<!--
a:link {
color: #CCCCCC;
-->
</style></head>
<body bgcolor="#1246b4">
<!--url's used in the movie-->
<a href="
http://www.enhancedwireless.net/Technology/ODMA.shtml"></a>
<a href="
http://www.enhancedwireless.net/Technology/NewProds.shtml"></a>
<a href="
http://www.enhancedwireless.net/Company/who.shtml"></a>
<!--text used in the movie-->
<div id="flashcontent">Please update your <a href="
http://www.adobe.com/products/flashplayer/">Flash</a>
Player.</div>
<script type="text/javascript">
var so = new SWFObject("HigherThroughputRO.swf", "HT", "800",
"212", "8", "#1246b4");
so.addParam("quality", "best");
so.addParam("wmode", "window");
so.write("flashcontent");
</script>
</body>
</html>
===================
This is how the banner appears on my index page in the array
of 7 files:
==========================
myAd[0] = "<object
data='images/bnrs/HigherThroughputRO.swf'
type='application/x-shockwave-flash' width='800'
height='212'><param name='movie'
value='images/bnrs/HigherThroughputRO.swf'><param name='loop'
value='flase'><param name='quality'
value='high'></object>"
===========================
Thanks much
KB -
Dear Apple, Have you fixed the 'Time out' issue with airport? It now happens to me 2-3 times a day for the past 6 months. Answers please.
We're not Apple - these boards are user-to-user.
Your profile says 10.7.3 - try applying the 10.7.5 combo update. -
I have reinstalled Itunes 10.4 .1 10. windows says drivers are not installed. I have followed all trouble shooting advice, fixes and updates for windows 7
I have reinstalled Itunes 10.4 .1 10. windows says drivers are not installed. I have followed all trouble shooting advice, fixes and updates for windows 7
Maybe you are looking for
-
I have tried continually today to get my phone to be recognised by ovi suite. It see's the phone model when adding a new device, but when i click on the phone, it comes up with the phone is not in ovi suite mode???? What the heck, its the only mode a
-
I had a itunes card purchased for me...I redeemed it on my iphone in the Itunes APP...shows it was redeemed succesfully.Want to use the balance for an APP game i have....SImpsons Tapped out...hoe do i transfer it to it . it keeps using my credit card
-
Touppercase vs tolowercase (which one do you use?)
I was curious to know which one was more popular. I did some searching and found: tolowercase onesearch: 1,118 google: 157,000 touppercase onesearch: 1,135 google: 45,700 So, on these forums it seems that they are roughly equally used
-
After effects CS6 error file cannot be imported - this 'moov' file is damaged or unsupported
Hi there, I'm working in After Effects CS6 (11.0.2.11) I imported an AAF that was exported from Avid MC 6.5.2. I colour corrected and graded the sequence using colorista 2 and magic bullet looks and some other native AE FX. Before exporting I decided
-
Good MVC-based Struts modular application example
I am searching for some good modular applications in Struts as a reference for the applications we are making. It is hard to find really good examples. Most are too simple with only 2 struts-config.xml files. Also validation, tiles and MessagesResour