I'm trying to extract the strings and load them into a text-helpplease file
I'm trying to extract the strings and load them into a file text without space between them - see belowp_csa = ISCC M4 DP
where p_csa is a tring to load into a text file
Code:
SELECT SUBSTR (p_csa, 0, 0) INTO v_telco FROM DUAL;
SELECT SUBSTR (p_csa, 1, 4) INTO v_comp FROM DUAL;
SELECT SUBSTR (p_csa, 5.3) INTO v_csa_prefix FROM DUAL;
SELECT SUBSTR (p_csa, 8, 4) INTO v_csa_type FROM DUAL;
fileidinvoice: = UTL_FILE. FOPEN (c_data_location, filenameinvoice, 'W');
fileidlog: = UTL_FILE. FOPEN (c_data_location, filenamelog, 'W');
UTL_FILE. PUT_LINE)
fileidinvoice, v_telco | » '|| v_comp | "|" | v_csa_prefix: "| v_csa_type);
-the content of the file-
ISCC M4 DP
=====================
I want to remove the space between the chain above for the content of the file should look like this:
-the content of the file-
GCSIM4DP
Hello
976253 wrote:
I'm trying to extract the strings and load them into a file text without space between them - see belowp_csa = ISCC M4 DP
where p_csa is a tring to load into a text file
Code:
SELECT SUBSTR (p_csa, 0, 0) INTO v_telco FROM DUAL;
Is it always NULL?
SELECT SUBSTR (p_csa, 1, 4) INTO v_comp FROM DUAL;
You don't need the double table much in PL/SQL. You can simply say
v_comp := SUBSTR (p_csa, 1, 4);
Almost all integrated single-row functions work in PL/SQL. (NVL2 is the only one I know who does not work in PL/SQL).
SELECT SUBSTR (p_csa, 5.3) INTO v_csa_prefix FROM DUAL;
SELECT SUBSTR (p_csa, 8, 4) INTO v_csa_type FROM DUAL;fileidinvoice: = UTL_FILE. FOPEN (c_data_location, filenameinvoice, 'W');
fileidlog: = UTL_FILE. FOPEN (c_data_location, filenamelog, 'W');UTL_FILE. PUT_LINE)
fileidinvoice, v_telco | » '|| v_comp | "|" | v_csa_prefix: "| v_csa_type);
What are you trying to do here? For example, what you're trying to put between c_comp and v_csa_prefix?
-the content of the file-
ISCC M4 DP
=====================
I want to remove the space between the chain above for the content of the file should look like this:-the content of the file-
GCSIM4DP
If you don't want space, then only concatenate all the spaces in the string before you write it and REPLACE allows you to delete all the spaces that have been copied from p_csa. For example:
UTL_FILE.PUT_LINE ( fileidinvoice
, REPLACE ( v_telco || v_comp
|| v_csa_prefix
|| v_csa_type
, ' '
)
);
I guess you need the v_comp of separate variables, the v_csa_prefix and the v_csa_type for something.
I hope that answers your question.
If this isn't the case, after a complete script that people can run to recreate the problem and test their ideas. Display the results you want (in other words, the contents of the file created).
Always say what version of Oracle you are using (for example, 11.2.0.3.0).
See the FAQ forum {message identifier: = 9360002}
Tags: Database
Similar Questions
-
I tried to download a pdf and convert them into excel, but the data in excellent is always to the image format. How can I get the pdf data into the columns and rows so that I can do the calculations?
If you start the https://forums.adobe.com/welcome Forums Index
You will be able to select a forum for the specific Adobe products you use
Click on the symbol "arrow down" on the right (where it is said to see all our products and Services) to open the drop-down list and scroll
-
Read data from the Table and load it into the csv file
Hello
I would like to read a table (select * from employees) and load the data into a csv file.
What methods are available?
Records will be at high volume.
Thank you
If it is to do a lot, use APEX.
Create a new page with an interactive report based on the SQL code you want. When you go to download Excel, it is actually a CSV file.
If it is large, you may need to go on the FILE_UTL road.
If it is only once, use an interface such as SQL tool * or SQL * Developer.
If it's a learning experience, you must do all three.
MK
-
New items - save the cut and paste them into another image.
I'm new to photoshop. I am trying to record an image that I could 'cutting' a photo, so I want to paste this image on a different photo. I learn about layers (slowly...) and I've seen several tutorials. What I have seen/heard makes it look simple, but I'm missing something. Worked on it for several nights with no luck. Using Photoshop Elements 11. Appreciate the comments, the links, the ets. Thanks in advance.
Once you have the choice of loan on the first image,
Use the move tool (see the below screen shot for the moov tool), and then drag the selection to the first image on the secondary image tab.
As soon as you place the cursor on the second image the second image tab will open and now you can place the cutting on the second image.
It will automatically create the layer for you.
-Thomas yannick
-
I've recently updated to macOS Sierra 10.12 and scanning to HP computer software cannot be located when I open the HP utility.
I can't find a further recommended HP software for my device other than El captain in operating system online.
If I try to scan through preferences systems for printers and Scanners I can open the scanner, but I can't create a PDF combining into one document - it cancels the procedure after about 2 pages!
The scan HP Destinations 'PDF for Adobe Reader' is red 'could not locate the target application that might have removed or uninstalled. File format = "PDF".
How can I get that back?
Thank you
Hi @JOGL,
Thank you for joining the HP Forums!
I understand that computer analysis can not be activated as well as the scan and combine them into a single pdf document. With your printer HP Officejet 7610. I am pleased to see that for you!
At this time for this model. There is no software and drivers for Mac OS X 10.12 again, given that the operating system has just been launched, it could take some time. For the time being, you can try to use HP Easy Scan to see if that can meet your scanning preferences. In otherwise, all we can do is wait for the software and drivers to be released.
If you are unable to reach a resolution, please click on accept solution. If you appreciate my help, please click on the thumbs up icon. The two icons are below this post.
Thanks for posting and have a nice day!
-
Analyzes the string and extract the string delimiter
Hello
Basic questions. Is this possible with the scan of regular expression of the string to extract the string that are in the specified delimiters. Here is an example:
Name of the \\Name of the folder 1\Name to the folder 2\Name to the folder 3\File
Chain analysis can produce the following by specifying the regular expression on the right:
1 folder name
Name of the folder 2
Name of the folder 3
File name
I tried \\\%s\\%s\\%s\\%s but the %s stops on the first white space.
Thank you
Michel
RavensFan suggested the service appropriate for your condition, but you can also use an alternative, which is "spreadsheet of array of strings.
-
At the opening of the library of photos, each photo turn the black thumbnail and so that to open it. Preview also does not have photos properly. I tried to repair the library and this did not help. Could this be a problem with the RAM? Help, please!
Check, if pictures can access the original files of your pictures, or if the originals are missing.
You can test to try to edit a photo or trying to export it with "file > export > export original file..."
Photos can be edited or exported?
Shooting Raw or JPEG? Where your photo library is stored? On an external disk or in your pictures folder?
-
My Vista system trying to download the updates, and it does not complete the download. It is up to "Windowsupdate_00000646" and "windowsupdate_dt000" How do I clear this code to receive these updates?
They are only updated office or all updates?
For Office updates, usually to pick up the item at the: http://www.microsoft.com/downloads/en/default.aspx
then manually download and install the same.
If all updates, perhaps consider the following general tips-
Option: File of Windows Update agent wups2.dll is incorrectly registered and the registry associated with the Wups2.dll file files are missing.
Method 1: Save the Windows Update files
1. Click Start and type notepad in the box start the search.
2. click on Notepad in the list programs.
3. copy the following commands, and then paste them into the opened Notepad window:
REGSVR32 WUPS2. DLL/S
REGSVR32 STINKS. DLL/S
REGSVR32 WUAUENG. DLL/S
REGSVR32 WUAPI. DLL/S
REGSVR32 WUCLTUX. DLL/S
REGSVR32 WUWEBV. DLL/S
REGSVR32 JSCRIPT. DLL/S
REGSVR32 MSXML3. DLL/S
4. in Notepad, on the file menu, click Save as.
5. in the file type list, click all files.
6. in the file name box, type register.bat.
7. save the Register.bat file to your desktop.
8 right-click the Register.bat file, and then click Run as administrator. If you are prompted for an administrator password or a confirmation, type the password or click on continue.
9. try to reinstall updates.http://support.Microsoft.com/kb/958053
See: method 1: save the Windows Update fileshttp://support.Microsoft.com/kb/326253
Method 5: Registry Windows Update engine fileshttp://support.Microsoft.com/kb/971058
How to reset the Windows Update components?Method 2: Download and install Windows Update agent
Windows Update Agent
How to get the latest version of the Windows Update Agent to help manage updates on a computer
http://support.Microsoft.com/kb/949104Information for network administrators about how to obtain the latest Windows Update Agent
http://support.Microsoft.com/kb/946928Click Start, click run, click Browse, navigate to the file you saved and click Open.
Add the switch /wuforce at the end of the command run and then click OK. For example, the command run might look like this: "C:\WindowsUpdateAgent30-x86.exe" /wuforce
Click run.
Follow the steps to complete the wizard.
Important
To reinstall Windows Update Agent - download the relevant file from one of the links provided above and save it to a drive where Vista is not loaded because the file cannot be launched directly from the root directory of the system.
Click Start, run, type: "D:\WindowsUpdateAgent30-x86.exe /wuforce" (without the quotes) and press ENTER to install the Windows Update engine.
Note: There is a space between "D:\WindowsUpdateAgent30-x86.exe" and "/ wuforce.
D: is the drive where Windows is not installed (IE a flash drive or a 2nd hard drive etc.)
TaurArian [MVP] 2005-2010 - Update Services
-
Original title: Reader for printer HP LaserJet 4200 for Windows 7 gives problem
My hp laserjet 4200n printer is connected to a print server of XP through the parallel port, when I share this printer from a 64-bit Windows 7 computer and you are trying to install the driver, it says driver not found. * INI file I already Miss down site fromhp driver loaded but invain.
Please suggest
Hi Mohammed Arif a. R,.
You can try to plug the printer again and check the updates of Windows and see if the drivers are install.
Install Windows updates in Windows 7
http://Windows.Microsoft.com/en-us/Windows7/install-Windows-updates
You can also view the following HP Web site and try redownloading drivers and check.
Also check out the following link and try the suggested steps.
Network printer problems
http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-network-printer-problems
Note: This article also applies to Windows 7.
Hope this information is useful.
-
I can barely read my monitor. I tried to adjust the color and resolution but does not
original title: monitor settings
I can barely read my monitor. I tried to adjust the color and resolution, but nothing helped.
Hello
try going to your graphic card manufacturers site or computer and are looking for the driver download section
Search your computer or graphics card model number based on what you have and download and install the latest graphics drivers for vista
then try to make the screen of solution of problems
http://Windows.Microsoft.com/en-us/Windows-Vista/change-screen-resolution
Change the screen resolution
-
Tried to update the computer and got the error code 80070490
I tried to download the update, and I get the error code 80070490. I tried to download one that you people told me to download to see if it corrects the problem. He did not, then I was told that I needed to reinstall Vista from disk, but I don't have the disc Vista came already in my computer. Is there a link where I can download from you guys directly. Help, please.
Hello
M ode 1.
You can try to install the updates to the clean boot, please visit the link mentioned to perform the clean boot below.
http://support.Microsoft.com/kb/929135
Method 2.
See the city link below to download and install the system update readiness tool
http://support.Microsoft.com/kb/947821
Method.3
Follow the link below city to run windows update
http://Windows.Microsoft.com/en-us/Windows-Vista/install-Windows-updates
See also: http://Windows.Microsoft.com/en-GB/Windows-Vista/Windows-Update-error-80070490
-
Original title: acro32.exe
I did the update of windows, and there was a lot of mistakes. I then tried to restart the system, and it is said that acro32.exe is he keep awake. What is and how to fix it?
If you really see a message about "acro32.exe" is probably malware you should scan your computer with the virus eset online scanner and then download, update and run the free version of MalwareBytes AntiMalware.
If, as is most likely, the message concerns AcroRd32.exe, the main executable file of Adobe Reader. Go to control panel > programs and features and uninstall Adobe Reader. If you have problems uninstalling Adobe Reader, see--> http://labs.adobe.com/downloads/acrobatcleaner.html
Assuming that things patches, install Foxit Reader (free) instead--> http://www.foxitsoftware.com/Secure_PDF_Reader/
Or, if you really want Adobe Reader back, go here--> https://get.adobe.com/reader/ (remember to uncheck the box to install McAfee Security Scan or any other 'add-on free")
-
Hello, I have a creative signature cloud trying to renew the plan and will not appear in the information of the plan page. What should I do? adiquiro a new plan? or can someone help me?
Hello
For more information, see the following links:
Renew, restart, or extend your Adobe Creative Cloud membership
'Renew your membership' message when you start an Adobe Creative Cloud application
If nothing helps, please get in touch with support with adobe:
-
How to import a vector editable in Illustrator to draw I was working with on my portable version of Illustrator? (I'm trying to leave my laptop at home and use my iPad to show customers the work and edit them in place with them.)
Hi,
This workflow is not yet possible to the draw. But it has been a very popular feature request lately and I know that the team is studying how it could be integrated into the app.
I will definitely pass your comments along to the team.
Sue.
-
Hi, on some sites of adobe muse, when I load, I get a mobile version of the site (on a laptop). I tried to remove the 'phone' and the words after that on the address bar and even cleaned my browser, but the problem still exists. What can be the reason? I am using Lenovo y50... help me please
The y50 Lenovo is a hybrid and that manufacturers are especially ThinkPads, I guess that Adobe sees it as such is why you get the phone display.
However, you can delete the 5876 to get a view of the desktop and all do it muse site
for example, the home page
change the /phone/index.html to businesscatalyst.com/index.html to see the office... I suppect you forgot the slash so delete/phone phone not only
Office ex = yourweb page | Home
Maybe you are looking for
-
How can I get rid of the highlight of the part of the url?
Part of the address (mozilla.com of https://support.mozilla.com/en-US/questions/new?product=desktop & category = d4 etc.) is highlighted. Why? It feels like a bike to safety wheels. This 'device' should become optional. I want to see the full address
-
Is Microsoft-New Xbox 360-shows green and purple of screen when playing, defective?
I just bought a new xbox360 for Christmas and since the purchase, he showed color display only green and purple. Once when playing adventures with the kinect, all entered colors automatically, but it has not changed and when to use again another day
-
"WLTRYSVC' 'event 2" '.
Impossible to computer to boot, solved by a restore point to earlier date. Reappened after the update of the window. Previous working configuration worked. Source WLTRYSVC, ID of event 2, Desription SelfServiceStatus () failed. Problem of Recorring.
-
How can I removed all the contacts list?
Hello, all. I want to removed the entire list of contacts from my blackBerry with blackberry API. I wrote this... --------------------------------------------------------------------- try {} List of strings [] = PIM.getInstance () .listPIMLists (PIM.
-
Hello Is it possible to disable the codec C60 with the remote control?