What is the Quoting Mechanism for String Literals?
Oracle 10G enterprise edition
Hi all,
I am trying to use the new feature support for string literals in 10G.but unfortunately it returns an error. Is there any settings to be done to get implemented with this feature?
BEGIN
DBMS_OUTPUT.put_line ('This is ram''s string!');
DBMS_OUTPUT.put_line(q'[This is ram's string!]');
END;
ERROR:
ORA-01756: quoted string not properly terminated
Thanks
Ram
Art in oracle wrote:
Oracle 10G enterprise editionAre you sure you are using 10g? (which version?)
It works ok for me... (10.2.0.1)
SQL> select q'[This is fred's quoted string]' from dual;
Q'[THISISFRED'SQUOTEDSTRING]
This is fred's quoted string
SQL> set serveroutput on
SQL> ed
Wrote file afiedt.buf
1 BEGIN
2 DBMS_OUTPUT.put_line ('This is ram''s string!');
3 DBMS_OUTPUT.put_line(q'[This is ram's string!]');
4* END;
SQL> /
This is ram's string!
This is ram's string!
PL/SQL procedure successfully completed.
SQL>
Similar Messages
-
What are the config steps for contract mass change and quota arrangement?
Hi friends
what are the config steps for contract mass change and quota arrangement?
Regards
Raj KumarProcess Flow
The mass change process consists of four steps. You navigate between these steps by choosing the Next and Back buttons located at the bottom right-hand corner of the screens.
1. Search for contracts
You search for and select the contracts or the contract hierarchy that you want to change.
Contracts that have the status Closed cannot be changed.
2. Define mass changes
You specify the changes you want to make.
You make changes at header data level and at item data level by choosing the relevant change methods. A green tick appears next to each change parameter so that you can see where changes are already active.
Once you enter this step, the documents you have selected to be changed are locked so that other users cannot make changes to them until you are finished with this process.
3. Simulate mass changes
Here you can perform a trial run of your mass changes. This simulation step is optional.
We recommend that you perform this step so that you can check how the change methods you have chosen will be processed by the system.
You receive status messages about the change methods for each contract and can quickly see whether any errors arise in connection with the proposed changes at this stage. From this step, it is easier for you to go back and correct the error than after applying the changes.
Background processing
The system processes the changes in the background.
If there are a large number of contracts to be processed, this step could take some time to complete. In this case, you can leave the transaction so that you can, for example, carry out other tasks in the meantime.
The system sends you an e-mail once the simulation step is complete. The e-mail contains a link to the relevant screen in the application so that you can return to it when it is convenient for you to do so. If you have left the SRM application, you can only return via this link.
Here you can see the status of the changes and, if necessary, you can correct any errors by going back to the Define mass changes step.
The messages that you receive in the simulation step are not confirmation that a change has been performed. They simulate the messages you get after you apply the changes. You must complete the final step of the mass change process and apply the changes before they take effect.
4. Carry out mass changes
Here you apply the changes to the contracts.
You cannot reverse this step, which is why we advise you to perform the simulation step beforehand. -
How to find out what is the lock key for the computer
How to find out what is the lock key for the computer?
You don't.
If you forgot or lost the password, all you can practically do is reset it.
The manner in which you do so depends on what version of OS X you are running. The older versions utilize the reset password utility on your recovery/re-installation disk/drive.
On Lion, you use the following technique to reset the Administrators password:
Boot to your Lion Recovery Partition, by holding down the Option key while starting, and then selecting the Recovery HD as the boot choice.
Once booted, at the top of the screen is a menu ..., select Utilities / Terminal from the menu bar.
In the Terminal window, type “resetpassword” (without the quotes) and press return. A “Reset Password” window will open. Select your boot volume (your SSD drive) if it is not already selected. Select your administrators username from the menu labeled “Select the user account” if it is not already selected. Follow the prompts to reset the password. Restart the computer from the apple menu. -
What is the recommended way for persisting JMS messages?
What is the recommended way for persisting JMS messages?. As per the IMQ admin documentation , using the default built-in persistence type which is through unix flat files is much efficient and faster, compared to the database persistence .
Tried setting up the jdbc stuff for database persistence on iAS 6.5 . I am getting the following
error .
[24/Apr/2002:16:09:20 PDT] [B1060]: Loading persistent data...
[24/Apr/2002:16:09:21 PDT] Using plugged in persistent store: database connection
url=jdbc:oracle:thin:@dbatool.mygazoo.com:1521:qa1 brokerid=ias01
[24/Apr/2002:16:09:23 PDT] [B1039]: Broker "jmqbroker" ready.
[24/Apr/2002:16:11:56 PDT] ERROR [B4012]: Failed to persist interest
SystemManager%3ASystemManagerEngine%2BiMQ+Destination%0AgetName%28%29%3A%09%09SM_Response%0AClass%3A%09%09%09com.sun.messaging.Topic%0AgetVERSION%28%29%3A%09%092.0%0AisReadonly%28%29%3A%09%09false%0AgetProperties%28%29%3A%09%7BJMQDestinationName%3DSM_Response%2C+JMQDestinationDescription%3DA+Description+for+the+Destination+Object%7D:
java.sql.SQLException: ORA-01401: inserted value too large for column
[24/Apr/2002:16:11:56 PDT] WARNING [B2009]: Creation of consumer SM_Response to destination 1
failed:com.sun.messaging.jmq.jmsserver.util.BrokerException: Failed to persist interest
SystemManager%3ASystemManagerEngine%2BiMQ+Destination%0AgetName%28%29%3A%09%09SM_Response%0AClass%3A%09%09%09com.sun.messaging.Topic%0AgetVERSION%28%29%3A%09%092.0%0AisReadonly%28%29%3A%09%09false%0AgetProperties%28%29%3A%09%7BJMQDestinationName%3DSM_Response%2C+JMQDestinationDescription%3DA+Description+for+the+Destination+Object%7D:
java.sql.SQLException: ORA-01401: inserted value too large for column
Any thoughts?From the output, you are using imq 2.0. In that release
the key used to persist a durable subscriber in the database
table has a limit of 100 characters. The output shows that
your value is:
SystemManager%3ASystemManagerEngine%2BiMQ+Destination%0AgetName%28%29%3A%09%09SM_Res
ponse%0AClass%3A%09%09%09com.sun.messaging.Topic%0AgetVERSION%28%29%3A%09%092.0%0Ais
Readonly%28%29%3A%09%09false%0AgetProperties%28%29%3A%09%7BJMQDestinationName%3DSM_R
esponse%2C+JMQDestinationDescription%3DA+Description+for+the+Destination+Object%7D:
which is much longer than 100 characters.
You might want to shorten the string you use for the
durable name.
And yes, the default file-based persistence store is
more efficient when compared to the plugged-in persistence
through a database. -
Hi All,
What should be the regular expression for string MT940_UB_*.txt and MT940_MB_*.txt to be used as filename inSFTP sender channel in PI 7.31 ??
If any one has any idea on this please let me know.
Thanks
NehaHi All,
None of the file names suggested is working.
I have tried using - MT940_MB_*\.txt , MT940_MB_*.*txt , MT940*.txt
None of them is able to pick this filename - MT940_MB_20142204060823_1.txt
Currently I am using generic regular expression which picks all .txt files. - ([^\s]+(\.(txt))$)
Let me know ur suggestion on this.
Thanks
Neha Verma -
What is the bdc program for vendor master?
what is the bdc program for vendor master?
Hi,
Find the code here.
And do create your text file data in the order of itab structure.
{report ZBDC_XK01
no standard page heading line-size 255.
data: bdcdata like bdcdata occurs 0 with header line.
data: begin of itab occurs 0,
lifnr like lfa1-lifnr,
bukrs like RF02K-bukrs,
ekorg like RF02K-ekorg,
ktokk like RF02K-ktokk,
anred like lfa1-anred,
name1 like lfa1-name1,
sortl like lfa1-sortl,
land1 like lfa1-land1,
spras like lfa1-spras,
waers like lfm1-waers,
end of itab.
selection-screen begin of block blk1 with frame.
parameters: p_file like rlgrap-filename OBLIGATORY.
selection-screen end of block blk1.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
perform f4_help_p_file.
start-of-selection.
perform get_data.
perform upload.
END-OF-SELECTION.
*& Form f4_help_p_file
text
--> p1 text
<-- p2 text
form f4_help_p_file .
data: v_file like p_file.
CALL FUNCTION 'F4_FILENAME'
IMPORTING
file_name = v_file.
CHECK sy-subrc EQ 0.
p_file = v_file.
endform. " f4_help_p_file
*& Form get_data
text
--> p1 text
<-- p2 text
form get_data .
data: s_file type string.
s_file = p_file.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = s_file
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = 'X'
HEADER_LENGTH = 0
READ_BY_LINE = 'X'
DAT_MODE = 'D'
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
CHECK_BOM = ' '
IMPORTING
FILELENGTH =
HEADER =
tables
data_tab = itab
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
stop.
ENDIF.
endform. " get_data
*& Form upload
text
--> p1 text
<-- p2 text
form upload .
loop at itab.
perform bdc_dynpro using 'SAPMF02K' '0100'.
perform bdc_field using 'BDC_CURSOR'
'RF02K-KTOKK'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'RF02K-LIFNR' itab-lifnr.
perform bdc_field using 'RF02K-BUKRS' '0001'.
perform bdc_field using 'RF02K-EKORG' '1000'.
perform bdc_field using 'RF02K-KTOKK' '0001'.
perform bdc_dynpro using 'SAPMF02K' '0110'.
perform bdc_field using 'BDC_CURSOR'
'LFA1-SPRAS'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'LFA1-ANRED' itab-anred.
perform bdc_field using 'LFA1-NAME1' itab-name1.
perform bdc_field using 'LFA1-SORTL' itab-sortl.
perform bdc_field using 'LFA1-LAND1' itab-land1.
perform bdc_field using 'LFA1-SPRAS' itab-spras.
perform bdc_dynpro using 'SAPMF02K' '0120'.
perform bdc_field using 'BDC_CURSOR'
'LFA1-KUNNR'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_dynpro using 'SAPMF02K' '0130'.
perform bdc_field using 'BDC_CURSOR'
'LFBK-BANKS(01)'.
perform bdc_field using 'BDC_OKCODE'
'=ENTR'.
perform bdc_dynpro using 'SAPMF02K' '0210'.
perform bdc_field using 'BDC_CURSOR'
'LFB1-AKONT'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_dynpro using 'SAPMF02K' '0215'.
perform bdc_field using 'BDC_CURSOR'
'LFB1-ZTERM'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_dynpro using 'SAPMF02K' '0220'.
perform bdc_field using 'BDC_CURSOR'
'LFB5-MAHNA'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_dynpro using 'SAPMF02K' '0310'.
perform bdc_field using 'BDC_CURSOR'
'LFM1-WAERS'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'LFM1-WAERS' itab-waers.
perform bdc_dynpro using 'SAPMF02K' '0320'.
perform bdc_field using 'BDC_CURSOR'
'RF02K-LIFNR'.
perform bdc_field using 'BDC_OKCODE'
'=ENTR'.
perform bdc_dynpro using 'SAPLSPO1' '0300'.
perform bdc_field using 'BDC_OKCODE'
'=YES'.
call transaction 'XK01' using bdcdata mode 'A'.
refresh bdcdata.
clear itab.
endloop.
endform. " upload
*& Form bdc_dynpro
text
-->P_0126 text
-->P_0127 text
form bdc_dynpro using program dynpro.
clear bdcdata.
bdcdata-program = program.
bdcdata-dynpro = dynpro.
bdcdata-dynbegin = 'X'.
append bdcdata.
endform. " bdc_dynpro
*& Form bdc_field
text
-->P_0316 text
-->P_0317 text
form bdc_field using fnam fval.
clear bdcdata.
bdcdata-fnam = fnam.
bdcdata-fval = fval.
append bdcdata.
endform. " bdc_field}
Reward points if you find it helpful
Thanks,
Prasanna -
What is the use of passing String[] args in main() method?
what is the use of passing String[] args in main() method?
Is there any specific use for this ?actually my sir asked me the same question & I gave
the same reply as given by you........but he further
asked what is the use of this also??
ie accepting cmd line args at runtime??is there any
specific purpose ??Apart from the one you just mentioned? No -
What is the best practise for setting dirty flag of a page/view?
For a page/view, normaylly there are 2 things to do for diry data:
1. when it's clean, Save button is disabled, when it's dirty, save button is enabled.
2. when it's dirty and the window is closed, a popup says "you have unsaved data, close will lose the data".
My thought is: it must be handled at client side, because not all valuechange is auto submitted. E.g., you type the 1st letter of a string in a input box, the server side does not know it, but save button should be enabled immediately.
Is it possible to capture all valueChange events in a page or a view at client side?
I'm not sure what is the best practise for setting dirty flag? If there is better solution? Does ADF provide facility for this?public void save(ActionEvent event){
boolean formValid = isFormValid();
if (formValid) {
save button is enabled.
private boolean isFormValid() {
boolean valid = true;
if (Check Condition 1) {
valid = false;
showErrorMessage1();
if (Check Condition 2) {
valid = false;
showErrorMessage1();
return valid;
private void showErrorMessage1() {
when it's dirty and the window is closed, a popup says "you have unsaved data, close will lose the data". -
What is the encryption method for the user's password?
hi all,
who knows what is the encryption method for the user's password?
the password is 803004, and i get the encrypted string "D7EDED84BC624A917F5B462A4DCA05CDCE256EEEEEDC97D59A57930E06CF9781E022CC8E430FF04E"
thanks,
danThere is no default password for a guest user unless you've created one:
(screenshot from the System Pref Guest User Pane) -
What is the power requirment for MSI N550GTX-Ti Cyclone II 1G GDDR5/OC
hello guys , i have a simple question and need an answer before buying that card N550 GTX Cyclone II 1G DDR5 OC
what is the power requirment for this card
i have a power supply with 450 Watt Cooler master , is it enough to run this card perfectiy?
another question , what is your opinions about this card? is it good with the new games? and powerfull games? like Max Payne3 and BattleField 3,
The witcher2 ... etc
with Core i5 3470 IvyBridge 3.2GHz ,, and 8GHz Ram 1600 MHz ,, mother board ASUS P8B75-V , Western Digital Caviar Green 1TB HDD?
thanks for this great ForumQuote from: thephenom on 21-October-12, 14:23:28
the other question please, whats ur opinions about this card? is it ok with powerfull games?
GTX 550 and GTX 650 are budget (mid-range) GPUs.
They are good for everything (including 3D games).
However, in complex 3D games don't expect high FPS values.
If you play games most of the time, you should go for GTX 560 / GTX 660. -
What is the latest VBIOS for MSI GTX 660 Twin Frozr III OC?
Staff would like to help, first of all sorry for my english, I'm from Brazil.
I wonder what is the latest VBIOS for the model MSI GTX 660 Twin Frozr III OC?
Model:
N660 TF 2GD5 / OC
S / N: 602-V287-04SB1208202320
Another my doubt is:
What is the difference of this model for Gaming Version.
It has the possibility of transforming the MSI GTX 660 Twin Frozr III OC MSI GTX 660 Gaming?
Thank you for your help.Quote from: Dragon16 on 20-May-15, 10:46:55
Staff would like to help, first of all sorry for my english, I'm from Brazil.
I wonder what is the latest VBIOS for the model MSI GTX 660 Twin Frozr III OC?
Model:
N660 TF 2GD5 / OC
S / N: 602-V287-04SB1208202320
This is the latest UEFI vbios: https://forum-en.msi.com/index.php?topic=251786.msg1447440#msg1447440
Quote from: Dragon16 on 20-May-15, 10:46:55
Another my doubt is:
What is the difference of this model for Gaming Version.
It has the possibility of transforming the MSI GTX 660 Twin Frozr III OC MSI GTX 660 Gaming?
No, that is not possible. These are totally different cards. They have a different custom design with a cooler totally different and the GAming offering profiles that can't be used with an ordinary N660 TF 2GD5/OC -
MOVED: What is the latest VBIOS for MSI R9 270X Gaming 2G?
This topic has been moved to GAMING Graphics Cards.
https://forum-en.msi.com/index.php?topic=255820.0Quote from: Dragon16 on 20-May-15, 10:49:34
Staff would like to help, first of all sorry for my english, I'm from Brazil.
I wonder what is the latest VBIOS for the model MSI R9 270X Gaming 2G?
Model: R9 270X 2G Gaming
S / N: 602-V303-02SB1310012724
Quote from: Dragon16 on 23-May-15, 01:32:13
Yeah, you provided the wrong S/N... It IS 602-V303-03SB and not 602-V303-02SB as you said, no wonder the confusion (and although I already asked..). Hence you have a regular Gaming and the provided vbios is definitely correct. If there is a switch on the card it is to switch between legacy and UEFI/GOP vbios (no middle position). -
What is the latest VBIOS for MSI R9 270X Gaming 2G?
Staff would like to help, first of all sorry for my english, I'm from Brazil.
I wonder what is the latest VBIOS for the model MSI R9 270X Gaming 2G?
Model: R9 270X 2G Gaming
S / N: 602-V303-02SB1310012724
Thank you for your help.Quote from: Dragon16 on 20-May-15, 10:49:34
Staff would like to help, first of all sorry for my english, I'm from Brazil.
I wonder what is the latest VBIOS for the model MSI R9 270X Gaming 2G?
Model: R9 270X 2G Gaming
S / N: 602-V303-02SB1310012724
Quote from: Dragon16 on 23-May-15, 01:32:13
Yeah, you provided the wrong S/N... It IS 602-V303-03SB and not 602-V303-02SB as you said, no wonder the confusion (and although I already asked..). Hence you have a regular Gaming and the provided vbios is definitely correct. If there is a switch on the card it is to switch between legacy and UEFI/GOP vbios (no middle position). -
Hi
I wonder to know what is the enterprise solution for windows and application event log management and analyzer.
I have recently research and find two application that seems to be profession ,1-manageengine eventlog analyzer, 2- Solarwinds LEM(Solarwind Log & Event Manager).
I Want to know the point of view of Microsoft expert and give me their experience and solutions.
thanks in advance.Consider MS System Center 2012.
Rgds -
What are the field names for below mentioned
Hello Friends
What are the fields names for below tables
in EKKO
Purchase Document Date
Net Value of the purchase document.
In EKPO
Item Description
From which place We bought it. (It means in Sales Items there we can know from which plant we sold the goods, like in EKPO, there is any field like this)
Please let we are defining the report to find out the stock availability for perticular storage location using select Options plant, company code, material no.
How many tables involve her to build this report. and also field names, they come under which table.
Please send me this information ASAP. PLz Plz Plz..........
Regards
PraveenYou can check the fields of these tables via SE11
Purchase Document Date - EKKO-BEDAT
Item Description - EKPO-TXZ01
Net price per item - EKPO-NETPR.
Regards,
Rich Heilman
Maybe you are looking for
-
How do i get my money back for a purchase i regret
On 10/10/12 I made a purchase accedentilly. the reason for this is because my baby brother was playing Bike race free and bought to other versions with no intention.
-
I'll try to make this brief. Projects created in Final Cut Express HD don't work in Final Cut Pro. What do you do? I upgraded to Final Cut Pro thinking all my older projects could easily be updated. Now they all crash whenever I try to open them. Thi
-
How to fetch print and print preview variables
hi everyone, my requirement is as soon as sales order created. printout of that sales order will be taken at the same time email should be send to that particular customer. the problem is the email is sent as soon as we check th
-
Export an image from flash, the output color not same as original from flash
i try to create my logo from flash i use export function in gif format. the output color is not same as what i saw at flash. may i know why? below is the screenshot. flash output
-
Recording of changes in configuration
Hi, In SolMan, is recording of changes made in the 'Configuration' either through SolMan or directly from ECC 6.0 server possible ? If yes, how ??