AS with the range (i.e., [] in SQL Server)

Hello!

I have a varChar column where I want to select only the records with the digital id column also contains records beginning with the characters A - Z.
I would use this SQL server syntax (that I tried havn't, but found examples of):

SELECT *.
FROM table WHERE
idColumn LIKE ' [1-9] % ';

What would be the equivalent in Oracle? If AS command is not applicable, then what to do?

Best regards
Paul

Hello

It would be something like:

... where regexp_like(yourField,'^[0-9]*$');

who uses the regular expression.

Example:

SQL> with d as (
  2  select '12345' v from dual
  3  union all
  4  select '123abc456' from dual
  5  union all
  6  select '123***' from dual
  7  )
  8  select *
  9  from d
 10  where regexp_like(v,'^[0-9]*$') ;

V
---------
12345

Tags: Database

Similar Questions

  • With the help of Back-End SQL Server 2008

    I intend to launch a project with JDeveloper 11 g R2 as front end and SQL Server 2008 as primary server.
    ADF does support SQL Server 2008 as a backend?

    According to the http://www.oracle.com/technetwork/developer-tools/jdev/index-091111.html#Databases, yes SQL Server 2008 is supported.

    additional for configuration, these links should help –ADF with SQL Server

    Published by: detrilles on June 11, 2012 Sudipto 16:09

  • Why is a user with the DBA privilege necessary side SQL Server to migrate?

    Greetings

    Project to migrate a SQL database to Oracle using SQL Developer.

    The docs say that a user with DBA privileges is required in the SQL Server database when you run the migration of the side Oracle.

    Why?

    Why a user with only READ access to SQL Server data would be necessary?

    Thank you very much!!

    -gary

    The DBA privilege at the source database is required because SQL Dev Migration is also collect information from SQL Server system tables, which a normal user is not always possible to query. It is mandatory that the migration is trying to build an Oracle schema which corresponds as much as possible the source database.
    But this requires having become DBA in the foreign database to avoid permission problems. If you SQL Server admin does not want the DBA privilege, you can also do a Migration offline - here the ADMINISTRATOR must run the generated scripts offline in-> Migration-> 3rd capture in the database offline party

  • Error code: 0x84BC089B, you try to run the service pack 1 for SQL Server

    Original title: Error Code: 0x84BC089B

    Received error code: 0x84BC089B tries to run the service pack 1 for SQL Server Express 2008R2.

    Hello J lesow,

    The question you have posted is related to SQL server and would be better suited on the TechNet support forum. I suggest you to post the question on the following link.

    http://social.technet.Microsoft.com/forums/en-us/category/SQLServer

  • There might be a problem with the configuration of your DOMAIN NAME SERVER

    Last week one, I noticed some problems with my internet connection. I have a BSNL broadband connection. I am connected to the internet, and after some time all of a sudden, I'm not able to connect. My modem lights are all on and on my laptop, I see the symbol of 2 computers with a note on it, which means that I'm connected. But still the pages not displayed. When I run Network Diagnostics (I Windown Vista) I get the error message saying: "there could be a problem with the configuration of your DOMAIN NAME server. I turned off the computer and the modem and switch it on after a long time... He would return but loses the connection with the same error message again. What can I do? I tried to reset the modem, also tried the system restore. What can I do? Please help me. I have laptop Dell Insipiron with Windows Vista and I connect wireless.

    We do not know how your system should be set up - including the DNS configuration and settings.  I recommend you contact your ISP's technical support group and get help from them in the configuration of your computer (and test lines and modem - the problem could be the modem and not on the computer or it could even be the service provider itself).  It can be something as simple as a typo or a box checked or not checked - I do not know because I do not know their settings (different for each access provider).  Give them a call.  I do so often when I have connection problems, and they are almost always useful, or schedule a service call if they cannot help.  I think it's your best chance to solve this problem.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Windows cannot communicate with the device he resourse (primary DNS server).

    Original title: primary dns.

    Help, please

    Windows cannot communicate with the device he resourse (primary DNS server)

    Please help me solve this problem

    If you see a 'FON' signal wifi on your PC and you have signed up to "FON", you should be able to connect to it.

    If you look on your BT router (or router you pay BT for the primary connection) on its homepage it should show something like "State of the Wifi BT. If it is active, you should be a member "FON", if it is not active then you need to register and agree.

    BT has their own support forum if you have not already tried it - https://community.bt.com/

    See the FAQ here - http://www.btfon.com/support to ensure that you are connected properly.

    in particular:

    How can I connect once I connect to the correct Wi - Fi network?

    Once you are connected to the correct wireless network, launch your browser. This should load the Fon login page. Select Fon among the three options on the login page, enter your e-mail address and password and sign in. Launch another browser and you are ready to access the Internet

  • Cannot communicate with the device or resource - primary DNS server

    I have problems with my laptop using windows 7.
    I was able to connect to the internet until the 19/08/12 to the evening.   After having been online earlier that evening and closed, I rebooted the computer and found my computer connected to the wireless network but had access to Internet 'No '.
    Network Diagnostics has revealed: "Windows cannot communicate with the device or resource (primary DNS server). I had a full signal strength and I introduced myself to be connected to the network, but there is "no internet access.
    I have several computers and have no difficulty in connection with any other device (computer, video streaming, phone), to the internet through the network, home.
    I tried and am not able to connect wireless or ethernet over any network cable (tried 3 others) but can connect to these networks using other computers, telephone, etc.
    I have not recently installed/uninstalled anything.  System Restore says the last restore as on 15/08/12 point.
    Thank you.

    Hey, I uninstalled McAfee and that solved the problem.  Thanks a lot for the suggestion and encouragement.  I'm back online.

    Thank you again... Success!

  • Many problems with Windows, Windows cannot communicate with the device or resource (primary DNS server)

    Many problems with Windows, Windows cannot communicate with the device or resource (primary DNS server), Internet Explorer browser does not.

    Hi Rachel,

    I understand that when you try to connect to the Internet, you get error "Windows cannot communicate with the device or resource (primary DNS server)", what other issues you are faced with Windows?

    • Using a cable or a wireless Internet connection?

    DNS (Domain Name System) translates the URL in IP (Internet Protocol) addresses (and vice versa). For example, if you type http://www.microsoft.com into the address bar in your web browser, your computer sends a request to a DNS server. The DNS server translates the URL to an IP address so that your computer can find the Microsoft web server.

    I suggest you to follow the methods in this article and check if it helps.
    http://support.Microsoft.com/kb/2779064/en-us

    Let us know if it helps.  If the problem persists, please answer, we will be happy to help you.

  • How to access a certain date in the date and time field SQL Server

    I have a field named job_date in a table in my database of the 8 SQL Server.

    The data type is datetime.

    Thus, the values for the fields as the 2013-03-11 15:55:52.000 look.

    How to query this field to include only the values of a certain date?

    For example

    < cfquery name = "get_job_name" datasource = 'abc' >

    SELECT FROM job_info job_date WHERE Job_name = March 12, 2013"

    < / cfquery >

    When I query the field now I get NO RECORDS.

    This is because as the fields like this 15:55:52.000 2013-03-11. instead of this March 12, 2013"

    How to access a certain date in the date and time field SQL Server when its formatting as this 15:55:52.000 2013-03-11. ?

    where job_date > = TheDateYouWant

    and job_date<>

    In addition, the format is irrelevent.  The only issue of date formats time is when you want to display.

  • 2 channels of AI on a data acquisition with the range of different sensitivity

    This vi is based on the 'new project' state machine on the home screen at the start of LV.

    A time loop is parallel to the main loop of the state machine, shown in the picture.

    It works continuously until you press the Exit button.

    The problem seems to be in start this... > read >... stop start > read >... stop along the error line.

    The reason for this clumsy arrangement power is measured voltages are in two lines of different sensitivity.

    The shunt voltage is small and needs-. 2 to the range of V.2. The load voltage is greater and 09:50 V range is good.

    In the initializing state, two separate vi 'create a channel' have been used to specify the range of voltage to the physical channel. The corresponding tasks are sent via via local variables.

    DAQmx errors happen randomly, sometimes the first iteration, sometimes the 50th.

    I tried to disable one or the other start > read > stop for the shunt voltage or load.

    I tried replacing them with the DAQ assistant.

    I tried various DAQmx vi: "wait" and "accomplishment of the tasks by resource cancel selected".

    But error-50103 "specify resource is reserved" keeps popping up.

    Is it possible to create two tasks on the device even when they are not used at the same time?

    The only reason is to measure in two voltage ranges.

    Win 7 Pro 64-bit

    2014 LV database

    Data acquisition equipment: USB-6210

    Thank you.

    This has been discussed many times. Do NOT use separate tasks. You can use different ranges for different channels with a single task. Just wire the task from one channel to another channel to create task.

    You also use local variables when they are certainly not needed.

  • How to display dynamic menu with the parent and the child using c# and sql server

    Hello

    Can you tell me

    What is menu given Dynamics example

    How can u use my dynamic menu added project in c#

    This menu is display with only the data from sql database.

    Menu with the help of a parent node and a child.

    check the element all in sql server and adding one by a dynamic menu.

    Hello

    Thank you for writing to Microsoft Communities.

    I recommend you post your query in the following forum.

    http://social.msdn.Microsoft.com/forums/en/category/SQLServer/

    Hope this information is useful.

  • Selection of lines with the range Paging VO

    Hello

    JDev 11.1.2.4

    I created a VO based on an OA. I added a transitional attribute in the original Version, this attribute is named Selelected of type Boolean initialized to false (default value Expression: false-Expression of Refresh value: false). That VO appears as an af:table. The attribute is displayed as selectBooleanCheckbox. The VO is set with an access mode of range Paging and a size of 28.

    < af:selectBooleanCheckbox value = "#{row.bindings.Selected.inputValue} '"

    label = "#{bindings." VwRhdPortfolioTranWrkSend11.hints.Selected.label}.

    required = "#{bindings." VwRhdPortfolioTranWrkSend11.hints.Selected.mandatory}.

    shortDesc = "#{bindings." VwRhdPortfolioTranWrkSend11.hints.Selected.tooltip}"id ="it1' autoSubmit = 'true '.

    valueChangeListener = "#{pageFlowScope.portfolioTransferBean.onWorkSelection}" >

    < f: validator binding="#{row.bindings.Selected.validator}"/ >

    < / af:selectBooleanCheckbox >

    The table shows the 25 lines. The user clicks one of the checkbox to select a line. The valueChangeListener is called with the new value (auto submit = true) as expected. Then the user scroll down for another "page" in the table, new lines are displayed. Then it scrolls to the first page. The previous selected checkbox is reset as not selected. The selection is lost.

    Is this expected behavior? If so how do you get a selection of lines with a VO of range paging.

    Thank you

    Try to create the transitional attribute in OT instead of VO.

    See you soon

    AJ

  • Selecting with the range of colors does not work correctly

    Well, at least for me it does not correctly.  If I have items on separate levels, and I use the color range option to select the area, it works at all levels, not just the level I selected.  This isn't what I want!  I want only to choose the range of color at a level.  The work-around needs to manually turn the other levels, but on a file with a lot of levels, which can be tedious.  Can this be avoided?  Either way, magic wand works only on the selected level, but not color range (or the range of colors, if you're American).

    The work-around needs to manually turn the other levels, but on a file with a lot of levels, which can be tedious.

    Hide all other layers can be done by alt-click on the visibility icon in the layers panel.

  • Unable to kenza link to download the Patch MS02-061 for SQL Server 2000

    original title: can not download Patch MS02-061

    Hello

    I know this is an old patch but our new VPN software was listed as a patch that is required if SQL Server 2000 is installed.  I get out the site and I am unable to download.  Telling me that it can't find it when I click on the link:

    http://support.Microsoft.com/default.aspx?scid=kb;en-us;316333&SD=Tech

    It is on the page: http://www.microsoft.com/technet/security/bulletin/ms02-061.mspx

    This is supposed to be the patch that replaces MS02-039.

    Thank you!
    Ryan

    Visit the Microsoft Solution Center and antivirus security for resources and tools to keep your PC safe and healthy. If you have problems with the installation of the update itself, visit the Microsoft Update Support for resources and tools to keep your PC updated with the latest updates.

    You will find appropriate support for SQL Server in this forum: http://social.msdn.microsoft.com/forums/en-US/sqlsetupandupgrade/threads

  • Cannot install the update of security for SQL Server 2005 Service Pack 3 (KB970892) _

    I get the guests to install this important update, but it will not be installed. I followed the instructions of troubleshooting for error 737D, but it does not work.
    Any suggestions?

    Error code when you use Windows Update or Microsoft Update to install updates on a computer on which SQL Server 2005 installed: "0x737D."
    http://support.Microsoft.com/kb/978597

    Visit the Microsoft Solution Center and antivirus security for resources and tools to keep your PC safe and healthy. If you have problems with the installation of the update itself, visit the Microsoft Update Support for resources and tools to keep your PC updated with the latest updates.

    ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

Maybe you are looking for

  • List of calls in recent weeks to jump

    Hi all: Don't know if anyone has come across this but I noticed since upgrading my iPhone to ios9 6plus that my recent calls list will save the past 5 days of calls and then spend a whole week. Is this something that I.can.fix in the settings or some

  • Satellite A500 guard to wake up every day at the same time

    I recently bought a laptop A500 and installed Linux it y a. almost everything works fine, but I have a strange problem with suspension. My laptop every time wakes at 08:19. Recently I noticed that sometimes it just turns after that I stopped it the n

  • DNS for specific domain (1), Server 5

    Hello. Ive got a server running DNS. Computer record is example.com. MX is mail.example.com and so on. But the Web page related to example.com:80 is in fact hosted outside my network, so I as the server to use an external DNS for example.com. If he u

  • Number of fields with If then statement

    Greetings,I use Adobe Acrobat Pro XI.  "On a form I created, there are fields named"RLRow1", RLRow2," RLRow3 "etc all the way up to RLRow13, assuming that there are 13 lines of data that need to be registered.  The staff is required to enter the lett

  • How to identify the name of the cluster to run the createresourcepool script?

    I want to manage the resource in ESX 4.1 Pool.And fortunately, I found a script from here, written by William Lam in 28/11/09.Lam, Hello, how are you?I want to test your code, but I don't know how to use it.I mean, I have a machine ESX, alone, with h