And here's one for the era. How can SQL?
Entry: Channel 541862356Table has 2 columns:
SNO SLENGTH
---------------- -------------
5418 4
54186 5
54321 5
Output should be 54186.We have no other input. that is, get the closest match to the input string.
How to do this?
Edited by: user12240205 may 3, 2012 22:51
WITH t AS
(SELECT 5418 sno, 4 cnt
FROM DUAL
UNION
SELECT 54186, 5
FROM DUAL
UNION
SELECT 54321, 5
FROM DUAL)
SELECT sno, utl_match.edit_distance(sno,541862356) dist
FROM t
where utl_match.edit_distance(sno,541862356) =(select min(utl_match.edit_distance(sno,541862356)) from t);
Tags: Database
Similar Questions
-
One for the era: how to get this output using REGULAR EXPRESSIONS?
How to get the bottom of output using REGULAR EXPRESSIONS?
Published by: user12240205 on June 18, 2012 03:19SQL> ed Wrote file afiedt.buf 1* CREATE TABLE cus___addresses (full_address VARCHAR2(200 BYTE)) SQL> / Table created. SQL> PROMPT Address Format is: House #/Housename, street, City, Zip Code, COUNTRY House #/Housename, street, City, Zip Code, COUNTRY SQL> INSERT INTO cus___addresses VALUES('1, 3rd street, Lansing, MI 49001, USA'); 1 row created. SQL> INSERT INTO cus___addresses VALUES('3B, fifth street, Clinton, OK 74103, USA'); 1 row created. SQL> INSERT INTO cus___addresses VALUES('Rose Villa, Stanton Grove, Murray, TN 37183, USA'); 1 row created. SQL> SELECT * FROM cus___addresses; FULL_ADDRESS ---------------------------------------------------------------------------------------------------- 1, 3rd street, Lansing, MI 49001, USA 3B, fifth street, Clinton, OK 74103, USA Rose Villa, Stanton Grove, Murray, TN 37183, USA SQL> The REG EXP query shouLd output the ZIP codes: i.e. 49001, 74103, 37183 in 3 rows.
/* Formatted on 2012/06/18 17:25 (Formatter Plus v4.8.8) */ SELECT REGEXP_SUBSTR ((REGEXP_SUBSTR (full_address, '[^,]+', 1, 4)), '[[:digit:]]+') RESULT FROM cus___addresses
-
And here's one for Joel:
What is the subtleties on the Burmese?
Oh, heck, substances. A fine example of complex-script-people helping complex-script-people.
Fine point number 1: If you are going to compose Burmese in InDesign, you use a dark font of owner-encoding. I have not had the chance to try with CS4 yet, but all complex script in which I can set the type by using Unicode Burmese is always the most problematic.
So this is the writing system that you get when you are burning on palm leaves, when you use as few straight lines as possible because straight scratches in the surface of a fibrous material tends to tear this material:
This square encompassing character in the middle of the first line has been a thorn in the foot of Burmese Unicode for a long time. Most of the fonts out there for the Burmese 'Unicode' uses PUA code points to draw the many different forms of this character, because sometimes he has to attach a series of glyphs of varying widths, instead of one. There are a couple of true Burmese Unicode fonts: there are not hacks PUA, * but there are many more fonts that might be better described as "transitional Unicode".
In addition, Burma has most of the typical challenges of composition for scripts SE Asian - the presence or absence of spaces between words and sentences is mostly a stylistic decision of the writer, there is no commonly accepted dictionary which will force the correct word breaks, so anyone before Burmese must use spaces of width zero , or more likely, must insist that the margins, font sizes, the width of the columns, etc. cannot be changed by a person who is not reading and writing in the language. Most Burmese translators I work with use spaces to separate phrases, much as we would use commas in English. They are safe places at the break, but since the old fonts of coding owners who are just in Latin alphabet fonts with glyphs replaced by Burmese glyphs, the text will break in InDesign right in the middle of the word, because the replaced glyph just happens to identify themselves as "semicolon". My favorite example (less) is a Burmese font in which all six quotes (single/double, right, front, left-right) are used for six different Burmese glyphs.
* Please note that I use 'hack' in the most complimentary sense possible.
* The Burmese example above reads something along the lines, "I have no idea how read this language, but it's the most beautiful thing I've ever seen."
-
I need help reinstalling adobe illustrator on my iMac, I had to clear all yesterday and I can not find the serial number or old packaging purchase. I bought at Best Buy in California, but I moved to Texas since then. How can I do this?
Hello
I sent you a PM, please answer and a link to download illustrator than CS6 is
https://helpx.Adobe.com/x-productkb/policy-pricing/CS6-product-downloads.html
Kind regards
Gary singh
-
4 is good, but I need firebug and other plugins that don't work on 4.
How can I run them both? (doesn't have to be at the same time)
One method is to use the portable version of Firefox and use the custom installation option to install on your hard drive. It will automatically create a new profile for the portable version (location where user data is stored). You can get portable Firefox 3.6 http://portableapps.com/apps/internet/firefox_portable or for Firefox 4 beta http://portableapps.com/apps/internet/firefox_portable/test
Firebug developers are working on a version that works with Firefox 4, you can get it from http://getfirebug.com/releases/firebug/1.6X/ - install the most recent version that there are listed.
-
Hi I have a laptop of RM and its asking me for the product key can u help me
Hi I have a laptop of RM and its me askin for product key can u help me thx
Use the product key on the COA label affixed to the bottom of your computer (or in the battery compartment).
-
When I receive e-mails with attachments, they appear at the top of the Inbox that is to say that they are the first to read. Those with some appear at the bottom of the Inbox. As a result, I have to search up and down the Inbox to make sure that I read all the emails that I receive. Is it possible that I can get all the e-mails appear in the Inbox, because they are received if they or a piece attached or not?
Well click on the heading date and change the sort order to this day. Click again to reverse it.
-
MacBook Pro (retina, 15 inches, beginning 2013) El Capitan 10.11.3, Simple question here: I can't open FinalCut Express (4, I believe). The wheel turns for hours. How can I install/uninstall and will I lose all my old films (for the most part stored on external hard drives). Thanks for your suggestions.
You will not lose anything, but the app if you uninstall. If you decide to uninstall use this app to make sure that all the other files which depends on FCE are also deleted however I can't give you any assurance as to whether you will be able to reinstall so that it works correctly. It is a software that has not been supported for almost 5 years and there are conflicting reports as to its compatibility with OS X 10.11. Can't I test it myself.
Maybe someone else will chime in with their own experiences.
Russ
-
I have a one year subscription for creative cloud for students and teachers and I installed it on my old MacBook Pro, but it broke, and I just bought a new. How can I transfer the CC package to the new computer?
No need to empty the trash after moving from opm.db to the trash.
Well, follow the procedure below:
Launch monitor activity and "Force quit" all processes associated with Adobe as creative cloud, CoreSync, AAMupdater, AAMupdater notify, demon Adobe Crash of the activity monitor.
Follow the previous steps again, but this time rename OOBE folder OOBE-old.
Then launch creative cloud app and check.
-
Our office has 10 licenses for Adobe Acrobat Pro. One of our computers crashed so we want to deactivate the license and reinstall on a new computer. How can we check the serial number on Acrobat Pro installed on each computer to determine what serial number is now unused? I don't want to die with the computer software
Hi John,.
It is not possible to disable the license from one computer crashed or possible to check which serial number has been used on computer because they are encrypted.
A retail license is good to be installed on 2 machines. I checked your account and found 4 different serial numbers of Acrobat registered for your account.
It is always suggested to buy a volume license, if you have more than 2 machines instead of buy 4 different serial numbers.
I checked all the serial numbers entered and you have sufficient activation count remaining to cover all your machines.
Kind regards
Rave
-
-At the time, I did something to where when I open a file in photoshop, is no longer a single window, now it is two storage ones. one for the program itself, and another for the actual file how to return it where it's a window without having to be full screen mode? I managed to go a few times like this, but right now it's really annoying me. Help!
Just drag the small window up just under the toolbar, you will see the area highlighted, and when you drop the file should anchor.
-
If my disk defragmentation has been stopped and the computer tells me to check the log events for more details how can I do my accessible Defragmenter again?
Hello1. have you made changes on the computer recently?
Method 1.
Type these commands in the start menu, run a dialog box:
Here's how:
a. Click Start.
b. in the run box, type the following commands one by one and press to enter.regsvr32 dfrgsnap.dll
regsvr32 dfrgui.dll
Method 2.
I. to resolve this problem, follow these steps:a. Click Start, run, type % Windir%\Inf, and then click OK.
b. right-click the dfrg.inf file and then click on install.ORII. Alternatively, you can reinstall Disk Defragmenter using the following command:a. Click Start, run and type that the following command and press ENTER.Rundll32.exe setupapi, InstallHinfSection DefaultInstall 132 %windir%\inf\dfrg.infI hope this helps. -
I used Microsoft for years. How can I use my files and store and add to them with the I mac
I used Microsoft for years. How can I now access my stored info and edit and add to my files with my Apple I Mac. Having problems to work with files in the mac
I used microsoft years how can I access my stored info and edit and add to them on the Mac.
This can help you get started > https://www.apple.com/support/macbasics/
Additional help here > https://support.apple.com/en-us/HT201732
A good resource for help on your Mac is easy to access. Click on an empty area anywhere on your screen. You should see Finder > file > edit > view > go > window > help at the top of your screen.
Click on help > Mac Help then type in a keyword for what you need to help in the search field top right of the Help window.
-
When the updates of windows I get and error code for 643. How can I fix it?
When the updates of windows I get and error code for 643. How can I fix it?
When the updates of windows I get and error code for 643. How can I fix it?
Here is an answer which is marked as an answer to the error code 643.
I also participated in that thread, and I gave my suggestions.
-
I signed up to send Adobe & track today and I used the wrong address for billing. How can I change the email address, or Adobe ID?
Welcome to Adobe Send & Track! Here is a link to update your Adobe ID information: your Adobe ID account management
Maybe you are looking for
-
Unmountable Boot Volume error message
Hello. Monday, I bought Norton Internet Security 2007 and tried to install it. I was reading a word document while I was installing it. I received an error message and was prompted to restart Windows XP. When I tried to reboot Windows XP. I received
-
This happens when I check for mail or try to send an e-mail.
-
Hello I'm a Microsoft Online Customer Service, which contacts on behalf of my client. It lights its Windows Defender and received this error message below: «Windows defender encountered an error: 0x800705b4.» This operation completed because the time
-
The menu system default language does not change according to the location that uses in-app
Hello I have an emergency in application if you can reply me as soon as possible. In fact, I've implemented localization in application for Os 5.0 for 7.0.But, I extract some problems on specific devices so can you help me out for short. My problem:
-
Is it possible to draw directly liquid tag of a collection of articles without looping
I wonder if it is possible to directly to the rendering of a liquid tag to a collection of items without first browsing these items.Say so I have a webapp to a collection of output module, and I know that I just want to get the name of the element to