How to find 2 different characters in a string
Hi allI would like to delete ' t "and"Z"of" 20110428T 10: 33:45Z "and convert the string to a date/time." I was watching instr, function, but which allows to search for a character only.
Thans for help.
SELECT TO_DATE (REPLACE (REPLACE (' 20110428T 10: 33:45Z ',' t ', "), 'Z',"), 'Hh24:mi:ss YYYYMMDD') OUT FROM DUAL
Tags: Database
Similar Questions
-
How to find these different namespaces in the schema?
Hello
I heard that this schema contains different namespaces. How to find these different namespaces in the schema?
I checked with this, but it is throwing "table or view does not exist.
Select the namespace of v$ librarycache.
Thank you
PraveenAre you referring to this? From the reference manual of the SQL language under the schema object names and qualifiers
7. part of a namespace, no two objects can have the same name.
The following schema objects share a namespace:
Tables
Display
Sequences
Private synonyms
Autonomous procedures
Autonomous stored functions
Packages
Materialized views
User-defined typesEach of the following schema objects has its own namespace:
Index
Constraints
Clusters
Database triggers
Private database links
DimensionsBecause tables and views are in the same namespace, a table and a view in the same schema cannot have the same name. However, the tables and indexes are in different namespaces. Therefore, a table and an index in the same schema may have the same name.
Each schema in the database has its own namespaces for objects that it contains. This means, for example, two tables in different schemas are in different namespaces and can have the same name.
Each of the following schema objects also have its own namespace:
User roles
Public synonyms
Links to public database
Storage spaces
Profiles of school boards
The files (PFILEs) settings and server settings (SPFILEs) filesBecause objects in these namespaces do not appear in the drawings, these namespaces cover the entire base.
That's why you can do:
SQL> create table t (id number, descr varchar2(10)); Table created. SQL> alter table t add constraint t check (mod(id,2) = 0); Table altered. SQL> create index t on t(id); Index created. SQL> create trigger t 2 before update on t 3 begin 4 dbms_output.put_line('T Trigger'); 5 end; 6 / Trigger created.
but not:
SQL> create view t as select * from t; create view t as select * from t * ERROR at line 1: ORA-00955: name is already used by an existing object
or
SQL> create procedure t 2 begin 3 null; 4 end; 5 / create procedure t * ERROR at line 1: ORA-00955: name is already used by an existing object
John
-
How to find the different languages of an indd Document?
Dear friends,
I use multi-language books. How to find the language in the following list (just I want find option only).
- English: UK
- German: The old rules
It is possible to find/replace option. Please suggest a friend
Thanks in advance
Hi Karthik,
Try this,
app.findTextPreferences = null;
app.findTextPreferences.appliedLanguage = "English UK:";
var ukText = app.activeDocument.findText ();
app.findTextPreferences = null;
for (var i = 0; i)<>
$.writeln (ukText [i] .silence);
app.findTextPreferences.appliedLanguage = "German: old Rules ';
var gerText = app.activeDocument.findText ();
app.findTextPreferences = null;
for (var j = 0; j)<>
$.writeln (gerText [j] .silence);
-
How to find the size of the text string...
Hi friends,
How to find the size of the text, in KB or in bytes or MB, I have a text box control, when I type a text in do I find the size of the text that is entered control.please of entry help very urgent...
Thnaks
Balu-
Hi David,
Nice Solution, but I think that it will not give the exact size of the string for a particular case where the string contains UTF string as a single letter format can exceed more than 1 byte.
So I think it should be modified as:
private function getTextSize(value:String): String
{
var div_by:int = 100;
var sze_is:String = 'KB ';
var len_is:int = getUTFLength (value); now the length is actually measured, regardless of the format of the text
If (len_is > 1000000)
{
div_by = 100000;
sze_is = 'mb ';
}
Return(string(math.round(len_is/div_by)/10)+sze_is);
}
private void getUTFLength(value:String):int
{
var byteArray:ByteArray = new ByteArray();
byteArray.writeUTFBytes (value);
Return CharArray.Length;
}Concerning
-Vikash
-
Inspection of packages: how to find 5 different packages?
Hello
I want to inspect the I2C traffic. In my traffic are 5 different packages. I want to detect the and if all are detected that I want to leave the VI with a REAL. If this isn't the case, I want a time-out and a FAKE as a return.
Everything works except the assessment. Basically my VI should do the following:
Inspect the DATA
{
If Condition 1 found, set bit 1
If Condition 2 found, set bit 2
If the Condition 3 found, set bit 3
If Condition 4 found, set bit 4
If Condition 5 found, set bit 5
++ rehearsals
}
If AND AND AND bits4 AND bit5 bit3 bit2 bit1: Returns TRUE
If > 100 repetitions: return the FALSE value
Repeat
My problem is: How can I set a little and keep it set? Let's say, I find the Condition 1 and set it. In the next iteration, I find condition 2 and set bit 2. But, in the same iteration, Condition 1 is not found and thus 1 bit is again. So I never achieve this, all bits are set.
I hope I could make me clear and would be happy to all solutions. I am on labview base, so no access to the events.
Kind regards
Christian
Hi spacing,
How transmit you data to an iteration of one loop at the other?
The Buzzword here is "register shift '!
If you would store stores your requirements with
IF (condition1 is found) OR (condition1-flag) THEN (set true condition1)
-
How to find a different string to 'off '.
I have an array of strings, and I need to know the index of something that is different from the string "off".
The search function for 1 table D can return me only the index where to find something, and not the index of the string that is different from this... Is there any function for this?
For example, I have a table like the (off, off, off, standard), and I need the 3 for the standard string index.
Thank you
Thai
Just re-read the question and realized that you want the index:
-
How to find special characters in a single query
Dear Experts,
Your usual help is needed to resolve the query. My query is ' how to find all special characters such as (% $* & @, ' / +-etc. in a single query?).
Thank you.
for example
A_MIR
A % SIM
A * SIM
SIM HAS)Hello
This can work:
select * from your_table where replace(translate(your_column,' abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890','x'),'x','') is not null
Above code verifies an ascii and numbers. You can adjust the chain with other characters you want to see (exclude)
Herald tiomela
http://htendam.WordPress.com -
How to find and view the results in flash
Hello friends,
I work in Flash 8 and using AS 2.0 coding.
I work with failover-page application. Here I have an option 'search '. I'll tell you the scenario.
Here I am loading images/pages dynamically through xml. He loading and works as a page flipping. so far, it has been done. Now if you enter some text inside the search option and press, he must search all loaded images/pages and view pages resulted.
How this feature is indeed. How to find the jpg with a given string?
Your help will be really appreciated.
Kind regards
Rajesh
You must have a database of information related to the pages. If the pages are only jpeg images, then they will not be able to provide you with anything in the way of useful data searchable beyond possibly titles image. So, you will need to create a database that contains all of the information in these pages that you can have your (matching chain) diagram of function search works with to find matching information.
-
Satellite U500 - 11 c: how to find drivers for Win 7
Hello
I bought a 11 c U500 and I would install Windows seven.
But I have a problem, I do not know how to find all the drivers to work with windows seven.Is it possible to use the same drivers with windows vista?
Do you know where I can find the drivers for my laptop with windows 7?
Thanks much adavance.
Hello
Right now, you will not find Windows 7 on Toshiba European pilots pilot page because the Win7 is not official on the market.
But I found some beta drivers on the Toshiba page we.http://www.CSD.Toshiba.com/cgi-bin/TAIS/support/JSP/home.jsp#
Here you can find the drivers for different laptop series I think U505 series is very similar to U500 so try the drivers!
Good bye
-
How to type 1/2 characters in El Capitan?
Please update "how to type the symbol for 1/2". Last reply: October 21, 2014 18:19 by westongallagher is now deprecated as El Capitan does not have 'Special characters' under the 'Edition', only 'Emoji & symbols"menu that does not include fractions. I can't find the viewer characters anywhere.
Choose the item Emoji & symbols and search for 'breaking '.
(140022)
-
How to find the bytes in hexadecimal string start
Hi, I'm a freshman for Labview.
I want to find the beginning bytes in Hex string. For example, 12 1A 00 34 1A 01 23... How can I get my data of 3 bytes of the hexadecimal string which starts at 1 'a '?
Thank you for your help.
You will need to provide more information. You have a string that has values of bytes like this? In other words, you have the control/indicator string value "hex display mode", and that you have provided, that's what you have? Or, you have the string in normal view?
If it is in hexadecimal display mode, then use one of the functions of the chain to get a subset of the string. Have you looked in the channel palette?
If it is in normal display mode, then you must convert all 2 characters to hex values.
To learn more about LabVIEW, it is recommended that you go through the tutorials and look over the material in tutorials the NI Developer Zone Learning Center , which provides links to other materials and other. You can also take a course online for free.
-
How to find the number of data items in a file written with the ArryToFile function?
I wrote a table of number in 2 groups of columns in a file using LabWindows/CVI ArrayToFile... Now, if I want to read the file with the FileToArray function so how do I know the number of items in the file. during the time of writing, I know how many elements array to write. But assume that I want the file to be read at a later time, then how to find the number of items in the file, so that I can read the exact number and present it. Thank you all
Hello
I start with the second question:
bytes_read = ReadLine (file_handle, line_buffer, maximum_bytes);
the second argument is the buffer to store the characters read, so it's an array of characters; It must be large enough to hold maximum_bytes the value NULL, if char [maximum_butes + 1]
So, obviously the number of lines in your text tiles can be determined in a loop:
Open the file
lines = 0;
While (ReadLine () > 0)
{
lines ++;
}
Close the file
-
How to find the password for wifi connection?
I'm trying to connect my iphone to my internet TV. On my phone, it asks me a password to connect to my network TV (different from the wifi network that I connected my TV) and I have no idea how to find the password.
Hello Pam,.
Welcome to the community of Sony.
What is the model # of the TV?
You can locate the model # of the TV from this link.
The password has been entered in the iPhone is the WPA password.
See the following article in the knowledge base to use the Wi - Fi Direct feature with your iPhone.
https://us.en.KB.Sony.com/app/answers/detail/A_ID/34416
Please mark it as "acceptable Solution" If you find this information useful.
Kind regards
Colby
-
Does anyone know how to find the ip address of someone who is to be a nuiscance?
Does anyone know how to find the ip address of a person who uses different names to communicate with you. A member of the family has problems with someone who does this. Thank you in advance, I know one of the guys will help me.
Hi, Ros,
Use the e-mail headers
-
How to connect 2 different adsl2 + line by different ISP
How to connect 2 different adsl2 + line by different ISP. We have two LANs, but we have just a printer and we want to share this printer. We have two different line ADSL but different ISP. How can we achieve this?
Hello
It is necessary to create the VPN connection.
You have Windows XP Professional where your printer is installed and connected?
If so, you can create VPN server in Windows XP Professional PC, wherever your printer is connected. Here's how:
http://www.zdnetasia.com/configure-Windows-XP-Professional-to-be-a-VPN-server-39050037.htm
Then, you need to configure modem ADSL (corresponding to your printer) - set port forwarding for port 1723 (PPTP) to the computer with the VPN server.
You have to find your public IP address of the network where is installed printer - you can see in the ADSL modem (from configuration pages WWW) or open this page in the computer where is installed your printer:
and you will see your public IP address.
Then what to do – change one different internal subnet network - if one network has 10.0.0.0/24 second network must have another network addressing, for example, 10.0.10.0/24.
And now set up connection on the computer you want to print - create the VPN connection to connect to the VPN server:
http://support.Microsoft.com/kb/314076/en
item 11. -write the public IP address.
Name and password - use the user and the password of computer with WinXP Pro VPN server, which has the permition to incoming VPN connections.
After successfully completing the VPN connection - click on Start - run and write \\x.x.x.x , where x.x.x.x is the IP address of the computer with printer and click OK. You'll see printers and shared files. Choose the printer share name and click on the name - the printer will install the drivers and then you can print a test page to the printer print test.
LC
Maybe you are looking for
-
Despite the settings and modules, the cookies are still saved after closing Firefox.
I have installed Firefox to delete all cookies, the closing of Firefox. This does not work, but I read that this is normal (although there is absolutely no point in having this option, if it does not do what it says). So after reading the forums, I t
-
Satellite A210 - GPU overheating
I've had my laptop since the end of August now and recently, I had a few problems. I played a few games (specifically TeamFortress2) and after awhile my computer screen freezes, then slowly turns white. The only thing that he would answer to would be
-
question about inkjet printers and take care of them
Hello I think to buy a series inkadvantage printer. I am reluctant to go to an inkjet printer because I know of ink drying issues and I'm a light user. Sometimes I would not use the printer for a month or more. My question is if it will last with suc
-
3024 can connect and new servers
We bought a Powerconnect 3024 switch, years before I started and we are again moving servers with a new internal IP address range. Will I need to configure the Powerconnect switch to the new range as well, or will it continue to work.
-
code error U44M1I200 while updating apps
I'm trying to update my applications Photoshop and InDesign, and I get this error U44M1I200 code. I can't find a reference to this code and frustrated. Help please!