Quotes causing problem-- I think
I have below a pl block, all it is supposed to do is replace 111 in (\\APP-MDMDAV-111\%)with 1, Don't know what I am doing wrong. something is wrong for sure may be the whole thing is wrng. Any Suggestions
DECLARE
V_STRING_ORIGIONAL VARCHAR2(100);
V_STRING_NEW VARCHAR2(100);
V_STR1 VARCHAR2(2500);
V_STR2 VARCHAR2(2500);
V_STR3 VARCHAR2(2500);
BEGIN
V_STR1 :='SELECT CONFIG_VALUE FROM EV_CONFIG WHERE CONFIG_VALUE LIKE'|| '''\\APP-MDMDAV-111\%'''||';';
DBMS_OUTPUT.PUT_LINE('ORIGNAL VALUE IS = ' || V_STR1);
EXECUTE IMMEDIATE V_STR1 INTO V_STRING_ORIGIONAL;
V_STR2:='SELECT REPLACE ('||'''||V_STRING_ORIGIONAL||'''||','|| '''111''' || ',' || '''1'''||') FROM DUAL;';
DBMS_OUTPUT.PUT_LINE('NEW VALUE IS = ' || V_STR2);
EXECUTE IMMEDIATE V_STR1 INTO V_STRING_NEW;
V_STR3 := 'UPDATE EV_CONFIG SET CONFIG_VALUE ='||'''||V_STRING_NEW||'''||'WHERE CONFIG_VALUE = '||'''|| V_STRING_ORIGIONAL '''||';';
DBMS_OUTPUT.PUT_LINE('UPDATE STATEMENT IS = ' || V_STR3);
EXECUTE IMMEDIATE V_STR3;
END;
You don't need Dynamic SQL
DECLARE
V_STRING_ORIGIONAL VARCHAR2(100);
V_STRING_NEW VARCHAR2(100);
BEGIN
SELECT CONFIG_VALUE into V_STRING_ORIGIONAL
FROM EV_CONFIG WHERE CONFIG_VALUE LIKE 'APP-MDMDAV-111\%';
select replace(V_STRING_ORIGIONAL ,111,1) into V_STRING_NEW from dual;
UPDATE EV_CONFIG SET CONFIG_VALUE =V_STRING_NEW
WHERE CONFIG_VALUE = V_STRING_ORIGIONAL;
END;However, you don't need PL/SQL the same can be achieve as follows
UPDATE EV_CONFIG A
SET CONFIG_VALUE =(select replace(CONFIG_VALUE ,111,1)
from EV_CONFIG B
WHERE A.UNIQUE_ID=B.UNIQUE_ID) -- Assuming table has Primary key or some kind of Unique id
WHERE CONFIG_VALUE LIKE '\\APP-MDMDAV-111\%'
Similar Messages
-
Single Quote causing problem in XPATH
The workflow was working fine until one of the fields had a single quote in the string and caused the update action to stall.
Using the Execute SQL query module I am updating data in an Oracle table. The query looks like this
UPDATE GSI_FEEDBACK_FORM_HEADERS
SET SITE_STREET = '{$ /process_data/xfaform/object/data/xdp/datasets/data/form1/Details/site_street $}',
SITE_STREET2 = '{$ /process_data/xfaform/object/data/xdp/datasets/data/form1/Details/site_street2 $}'
One of the forms had the street value
"Connah's Quay Deeside". I figured out that the single quote is causing the module to read it as the end of the XPATH, hence causing a "SQL command not ended properly" error.
Any suggestions to oversome this issue.
AdityaNo problem
It also:
Makes your SQL look much neater.
You can type in "test" values for the parameters, so that you can test your SQL statement and see the results.
Howard
http://www.avoka.com -
Can any one help me get rid of a deleted app 4oD that still appears in the Settings list. I deleted it from the home screen and Spotlight search confirms it has gone. It is causing problems because I get notified of updates and I cannot get rid of them either. I have tried re-downloading via my MacBook because there isn't a download option from the iPad (App Store clearly think I still have it when I don't) then deleting again but the listing in Settings remains.
It is really irritating me.
Thanks.Have you tried deleting the App within the Settings menu (rather than from the Home Screen)?
Settings>General>Usage>
From the Apps list, find the App (press "Show all Apps" if the app is not in the immediately shown list), tap on the app you wish to delete, then tap "Delete App" -
I have 2 Adobe IDs and I think its causing problems. How do I delete the redundant one?
I have 2 Adobe IDs and I think its causing problems. How do I delete the redundant one?
I don't think you can... you will have to have an employee delete/merge for you
Adobe contact information - http://helpx.adobe.com/contact.html may help
or
Change Account https://forums.adobe.com/thread/1465499 may help
-ID support http://helpx.adobe.com/x-productkb/global/service-c1.html -
I installed ReloadEvery a while ago and it seemed to be working fine however I am now having problems with FF crashing and weird things like pages not reloading and not being able to use the back button etc
I have already tried uninstalling and reinstalling FF and upgrading to FF 4.
When I upgraded to FF 4 I was still having problems even though I didn't have any Extensions installed at all, or so I thought. I noticed that ReloadEvery was still installed. I was rather puzzled as I had done a clean install of FF 4. I want to remove ReloadEvery to see if it will solve my problems.
I have also tried following the help on the FF Troubleshooting about manually uninstalling Extensions but again ReloadEvery not listed there yet I am still able to use it in FF!
I want to get rid of it!! I really need some help please.Clear the cache and the cookies from sites that cause problems.
"Clear the Cache":
*Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
"Remove Cookies" from sites causing problems:
*Tools > Options > Privacy > Cookies: "Show Cookies"
If clearing cookies doesn't work then it is possible that the <i>cookies.sqlite</i> file that stores the cookies is corrupted.
Rename (or delete) <b>cookies.sqlite</b> (cookies.sqlite.old) and delete other present cookie files like <b>cookies.sqlite-journal</b> in the Firefox Profile Folder in case the file cookies.sqlite got corrupted.
*http://kb.mozillazine.org/Cookies -
Installing "Java for Mac OS X 10.5 Update 6" (1.0) causing problems
Hi,
I installed the "Java for Mac OS X 10.5 Update 6" (1.0)" yesterday evening and it caused problems:
- network
- date/time screwed up
- Time Machine crashed
My environment is a MacBook Pro, running 10.5.8, all latest patches applied. During the install all other applications were closed (my once in three months cleanup of the desktop , Time Machine was not running although it might have kicked in during the download, I left it alone for install and the necessary reboot. I didn't hook it up to the power, had 82% battery left, afterwards (after all repairs) still 76%, so my guess is that is not the root cause, although I did get the power source warning and waved it away during the installs.
Looking back into the logfiles and using some gut-feeling I do think somehow the date/time seeting was screwed up and caused all other problems. The date was reset to the famous Unix starttime, Jan 1, 1970. At first I didn't notice, only after my network (Airport Extreme based) asked me WPA password and then complained about the date/time I noticed something weird.
After resetting date/time, verifying the disk for problems (none found), re-entering the WPA password, network ran again, had to re-connect with the Time Capsule and check the sparse backup-volume there before I got everything up-and-running again.
Not a very big deal, but annoying, and certainly something wrong in the update here.
Anyone any explains ?
Regards,
Wim.Sorry if I missed it...have you scoured logs for anything that might shed light on success/fail during the install?
-
Adobe Reader 9.3.3-CPSID_83708 is causing problems but ADD/DELEATE will not allow me to deleate. Why
Do you have admin rights on your system? Can you uninstall other programs?
If yes and you still think you have downloaded wrong update, use windows cleanup utility to remove this installation. You can find cleanup utility at several websites eg.
http://majorgeeks.com/Windows_Installer_CleanUp_Utility_d4459.html
Then reinstall 9.3 Reader from adobe website and update it to 9.3.3 using Help>Check for updates. -
Pages update causes problems?
Since April's update I have had problems with Pages. Templates keep opening with the 'cannot find font' message even though the font is activated. Since I use Font Explorer to manage fonts I tried moving the fonts into the system folder/font folder. Pages still could not find them. After deleting Pages and Keynote and reinstalling them from my CD all is happy again.
My impression is that the update caused the problems. Anybody else experiencing this?
KurtHullo Kurt:
Glad you got it sorted. Didn't think it would help you much without further insight - but I had no trouble with the update either. One of those things you had to persevere with on the system you know to fix.
I recall that when I first installed OsX, there was a font collection called "Classic." It was not of fonts the designers call "classic", so I assume it was carried over from Os9, even though I hadn't installed that.
You can collate whatever collections you want from Pages, as you know: just so long as they go into the User or System Library fonts. I don't know how it is with Font Explorer, but with Font Book I find the safest way of resolving duplicates so they don't keep reappearing is to "resolve duplicates" first for any black-dotted fonts, then scan for the greyed out versions where they appear. These can be safely "removed" via Font Book.
This way Pages can choose which copy of a font it doesn't need.
BTW I've just updated to OsX 10.4.7. Can't put it on my profile yet. But it reproduces type throughout the system, and especially in Pages, even more snappily than before, and is said to improve Font Book's handling - as well as some PDF problems.
Be interesting to see whether those are the ones that members have had trouble with. MacFixit suggests that this system update can cause problems with various duplicate files, but I started with a clean computer, left it alone for the update, and did a Safe Boot to see what that cleaned out before I bothered with all that, and then I found no need for it. Routine maintenance did turn up quite a few permissions to be repaired though.
OTOH, if the system details on your profile are right, you might do better to look for a combo update on Mac Downloads to be sure you get it all stitched.
Cheers.
Mac OsX 10.4.7, never mind what it says under here. -
My Mac book pro is 15 months old and now suddenly it has started resetting the date and time, causing problems with applications and my wireless access. Any suggestions as to why this is happening and how to fix it?
Seems the time isn't being saved to your computer correctly, it may be a corrupt file that isn't saving the time anymore.
You can move the
com.apple.systempreferences.plist
file out of your Users/Library/Preferences folder to the desktop and reboot.
then go to your System Preferences > Date and Time and set a time server close to your location (or in your time zone)
(trash the file on the desktop if no ill issues occur later on)
or you can follow/bookmark these support docs to reset your PRAM and SMC (and for future reference)
http://support.apple.com/kb/TS2570
http://support.apple.com/kb/TS1440
http://support.apple.com/kb/HT1455
http://support.apple.com/kb/ht3964
http://support.apple.com/kb/HT1379
http://support.apple.com/kb/ht1379
http://support.apple.com/kb/HT1509
I don't remember exactly where OS X is keeping it time settings now, but I think one of those choices should help resolve your issue and won't hurt anything giving them a shot. Perhaps someone else could refresh my memory. -
Re: Does partitionning cause problems with the Toshiba Recovery System ?
I'm french so don't be afraid of mistakes !
I wonder if I can repartition my HDD as I want
First of all, I explain you what I've understood with the FAQ:
If Vista fail to boot, Toshiba Recovery in the hidden partition WinRE ( eisa configuration) offer to repair and use either the DVD we have burn or the directory HDDRecovery in the partition E: to repair.
My question is if I don't have the DVD (or if I lost it) :
Can I repartition my HDD (not the Recovery partition but enlarge the partition C: en reduce the partition E:) without causing problems of recovery ?
In other terms will the Recovery partition at boot update the position of recovery files in E:
And if it works, can I simply copy-paste the HDDRecovery directory from E: to C: and then to E: while I format E:
Thank you for your answers
Juju313Hello
I think you mixed up something...
The hidden Windows partition (Recovery Environment) has nothing to do with the Toshiba recovery disk or HDD recovery procedure. This is a Windows feature that is on all PCs and notebooks available so my suggestion is you read this good Wikipedia article about this:
http://en.wikipedia.org/wiki/Recovery_Environment
The HDD recovery files are stored on the second partition of the HDD in the folder HDDRecovery. So if you use the HDD recovery function only the first partition will be formatted and you can only use this feature if you have access to the advanced boot menu. If you dont have it you must use the Toshiba recovery disk because the disk formats the whole HDD and restore the factory settings of the notebook (the HDD recovery too but only with the first partition).
You can change the partition size of both partitions but there should be enough free space on both partitions. Otherwise the HDD recovery does maybe not work.
About the Vista partition tool I can prefer this useful article:
http://aps2.toshiba-tro.de/kb0/TSB7101OB0006R01.htm
I hope you understand it better now and if you have more questions please let us know.
Greets -
Null values from DB2 cause problems
Hi,
I have another problem with database link to DB2 using IBM iSeries Access for Linux on 64 bit OEL5 with Oracle Database gateway and unixODBC 2.2.14.
DB link works. However, null values from DB2 cause problems. Date columns that are null on db2 return a date '30.11.0002', and character columns that are null return an error ORA-28528: Heterogeneous Services datatype conversion error.
isql returns correct results.
How can i fix this? Perhaps set some parameters for data conversion on the gateway?
Thank you.If the driver is not fully ODBC level 3 compliant and misses functions, we're lost. But sometimes the drivers are ODBC level 3 compliant but miss the correct 64bit implementation. In those cases we can tell the gateway to use the 32bit ODBC level 3 standard by setting in the gateway init file:
HS_FDS_SQLLEN_INTERPRETATION=32 -
I upgraded from 3.6.16 to 5, but don't like how 5 handles tabs (auto reloading 'problem loading' tabs when internet connection is reestablished). So I installed 3.6 in a separate folder, e.g. both versions are on this computer. I went back to using 3.6, and let it upgrade to either 3.6.18 or 19 (don't recall which & it's not open right now). I'm having problems with it using too much CPU & Memory, and not sure if that's a difference between 3.6.16 & 3.6.18/19, or if having 5 on the same computer even if closed could be causing the problem.
Can I uninstall 5 without causing problems with the 3.6 version and the single profile?If you haven't tried this, give it a try. It worked for me, hopefully it will work for you. In your version 3 firefox, disable all extensions, I had two plugins (doubletwist and joost, disable those if you have them). Then install firefox 5 by overwriting your version 3 firefox. It should work fine after that. I tried everything before, I gave that a last ditch shot. Oh yeah, before you install firefox 5, clear your cache of everything just to be sure.
Hopefully that helps. -
I have two Iphones 5 with different email addresses sharing one Apple ID account.Both are using IOS 8.
I would like to set up a new Apple Id for one of the phones and remove it from the old account.
If I do that, can I move all of the purchased apps and songs to the new Apple account?
Also, will sharing one Apple ID account with two devices cause problems with using messaging and FaceTime?Sharing an iCloud account between two devices can be done without causing issues with iMessage and FaceTime, just go into Settings for each of these functions and designate separate points of contact (i.e. phone number only, or phone number and unique email address). While that works, you'll then face the problem where a phone call to one iPhone will ring both if on the same Wi-Fi network -- but again, that can be avoided by changing each phone's settings.
Rather than do all that, don't fight it -- use separate IDs for iCloud. You can still use a common ID for iTunes purchases (the ID for purchases and iCloud do not have to be the same) or you can use Family Sharing to share purchases from a primary Apple account. -
i just updated my latest java but the update is causing problems with some external devices. So i would like to uninstall this latest java update and get back the previous one. That should solve to problems with my external device.
Is this possible and how do i do that?
Anyone who responds thanks for that!
Juko
I am running
Hardware Overview:
Model Name: Mac Pro
Model Identifier: MacPro1,1
Processor Name: Dual-Core Intel Xeon
Processor Speed: 2,66 GHz
Number of Processors: 2
Total Number of Cores: 4
L2 Cache (per Processor): 4 MB
Memory: 6 GB
Bus Speed: 1,33 GHz
Boot ROM Version: MP11.005D.B00
SMC Version (system): 1.7f10
Serial Number (system): CK7XXXXXXGP
Hardware UUID: 00000000-0000-1000-8000-0017F20F82F0
System Software Overview:
System Version: Mac OS X 10.7.5 (11G63)
Kernel Version: Darwin 11.4.2
Boot Volume: Macintosh HD(2)
Boot Mode: Normal
Computer Name: Mac Pro van Juko de Vries
User Name: Juko de Vries (jukodevries)
Secure Virtual Memory: Enabled
64-bit Kernel and Extensions: No
Time since boot: 11 days 20:39
Message was edited by HostJava 6 you can't as Apple maintains it, and Java 7 you could if you uninstall it and Oracle provides the earlier version which they likely won't his last update fixed 37 remote exploits.
Java broken some software here and there, all you'll have to do is wait for a update from the other parties. -
I found this (TS3579: If the wrong date or time is displayed in some apps on your Mac Learn about If the wrong date or time is displayed in some apps on your Mac) useful because I did not know about the effect of typing in data and that you could only drag to rearrange the data. I had typed in data before and this had caused problems but restoring defaults did not cause correct dates to show up in Finder.
It sounds like there are a couple things going on here. First check if you have a successful install of SQL Server, then we'll figure out the connection issues.
Can you launch SQL Server Configuration Manager and check for SQL Server (MSSQLSERVER) if default instance or SQL Server (other name) if you've configured your instance as a named instance. Once you find this, make sure the service is started.
If not started, try to start it and see if it throws an error. If you get an error, post the error message your hitting. If the service starts, you can then launch SSMS and try to connect. If you have a default instance, you can use the machine
name in the connection dialog. Ex: "COWBOYS" where Cowboys is the machine name. However, if you named the SQL Server instance during install, you'll need to connect using the machine\instance format. Ex: COWBOYS\Romo (where Romo
is the instance name you set during install).
You can also look at the summary.txt file in the SQL Server setup error logs to see what happened on the most recent install. Past install history is archived in the log folder if you need to dig those up to help troubleshoot, but the most
recent one may help get to the bottom of it if there is an issue with setup detecting a prior instance that needs to be repaired.
Thanks,
Sam Lester (MSFT)
http://blogs.msdn.com/b/samlester
This posting is provided "AS IS" with no warranties, and confers no rights. Please remember to click
"Mark as Answer" and
"Vote as Helpful" on posts that help you. This can be beneficial to other community members reading the thread.
Maybe you are looking for
-
[Window Title] Microsoft Windows [Main Instruction] iTunes has stopped working [Content] A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available. [Close program] This is what I
-
IDOC-XI-File Scenario -Response?
I know how to configure R/3 to send IDOC to XI, and then XI-File configuration. I read how-to doc on acknowledgment, it assumes the receiving party is also on R/3 where they configured AUDIT to send response from receiving party. But this case is rec
-
Hi guys, I have a problem with imessage. My iphone 4S is factory unlocked and i have been using t-mobile carrier. i tried settings - messages - imessage on but there is this 'waiting for activation' thing. Does anyone know how to solve this? Thanks!
-
I am creating a series of captive movies and adding the canned navigation bars to them. I would like to eliminate the advertisement for captivate in the Info button. Can the info dialog box be customized or removed? Additionally, of the choices conta
-
Unable to bring Enterprise Mgr v2.0.4 apps - get ORA-12222
I am a member of OTN and bought Oracle Enterprise Manager v2.0.4 and Oracle 8i v8.1.5 for NT. Background ========= I have successfully installed v8.1.5 Oracle Server for NT. I have NT 4.0 SP 5 running on my Workstation. I able to run the java samples