Special characters & numbers in tables....
Hello...
I've just started using Pages '08 and I'm having a couple of problems.....
Firstly.... I can't seem to insert special characters.... when I click Edit > Special Characters... nothing happens.... is there something wrong with my software?
Secondly.... When I try to insert a value such as 1.00 into a table Pages automatically corrects it to 1, deleting the decimal places.... how can I change this?....
Any help at all would be great...... Thanks...
Firstly.... I can't seem to insert special characters.... when I click Edit > Special Characters... nothing happens.... is there something wrong with my software?
There is a possible fix here:
http://docs.info.apple.com/article.html?artnum=307354
Similar Messages
-
Oracle SQL query for getting specific special characters from a table
Hi all,
This is my table
Table Name- Table1
S.no Name
1 aaaaaaaa
2 a1234sgjghb
3 a@3$%jkhkjn
4 abcd-dfghjik
5 bbvxzckvbzxcv&^%#
6 ashgweqfg/gfjwgefj////
7 sdsaf$([]:'
8 <-fdsjgbdfsg
9 dfgfdgfd"uodf
10 aaaa bbbbz#$
11 cccc dddd-/mnm
The output has to be
S.no Name
3 a@3$%jkhkjn
5 bbvxzckvbzxcv&^%#
7 sdsaf$([]:'
8 <-fdsjgbdfsg
10 aaaa bbbbz#$
It has to return "Name" column which is having special characters,whereas some special chars like -, / ," and space are acceptable.
The Oracle query has to print columns having special characters excluding -,/," and space
Can anyone help me to get a SQL query for the above.
Thanks in advance.You can achieve it in multiple ways. Here are few.
SQL> with t
2 as
3 (
4 select 1 id, 'aaaaaaaa' name from dual union all
5 select 2 id, 'a1234sgjghb' name from dual union all
6 select 3 id, 'a@3$%jkhkjn' name from dual union all
7 select 4 id, 'abcd-dfghjik' name from dual union all
8 select 5 id, 'bbvxzckvbzxcv&^%#' name from dual union all
9 select 6 id, 'ashgweqfg/gfjwgefj////' name from dual union all
10 select 7 id, 'sdsaf$([]:''' name from dual union all
11 select 8 id, '<-fdsjgbdfsg' name from dual union all
12 select 9 id, 'dfgfdgfd"uodf' name from dual union all
13 select 10 id, 'aaaa bbbbz#$' name from dual union all
14 select 11 id, 'cccc dddd-/mnm' name from dual
15 )
16 select *
17 from t
18 where regexp_like(translate(name,'a-/" ','a'), '[^[:alnum:]]');
ID NAME
3 a@3$%jkhkjn
5 bbvxzckvbzxcv&^%#
7 sdsaf$([]:'
8 <-fdsjgbdfsg
10 aaaa bbbbz#$
SQL> with t
2 as
3 (
4 select 1 id, 'aaaaaaaa' name from dual union all
5 select 2 id, 'a1234sgjghb' name from dual union all
6 select 3 id, 'a@3$%jkhkjn' name from dual union all
7 select 4 id, 'abcd-dfghjik' name from dual union all
8 select 5 id, 'bbvxzckvbzxcv&^%#' name from dual union all
9 select 6 id, 'ashgweqfg/gfjwgefj////' name from dual union all
10 select 7 id, 'sdsaf$([]:''' name from dual union all
11 select 8 id, '<-fdsjgbdfsg' name from dual union all
12 select 9 id, 'dfgfdgfd"uodf' name from dual union all
13 select 10 id, 'aaaa bbbbz#$' name from dual union all
14 select 11 id, 'cccc dddd-/mnm' name from dual
15 )
16 select *
17 from t
18 where translate
19 (
20 lower(translate(name,'a-/" ','a'))
21 , '.0123456789abcdefghijklmnopqrstuvwxyz'
22 , '.'
23 ) is not null;
ID NAME
3 a@3$%jkhkjn
5 bbvxzckvbzxcv&^%#
7 sdsaf$([]:'
8 <-fdsjgbdfsg
10 aaaa bbbbz#$
SQL> -
How to insert & # special characters into oracle table?
I have a text value which contains special characters such as & and #.
After I pass from one page to another,
TEST& becomes "TEST&"
I put " " on the above test, otherwise amp; will be truncated by OTN).
TEST# becomes TEST (# is truncated).
Actually the value is saved in table like this: "TEST&"
How to solve this problem?
How to insert & into table without &
Thank you.
Edited by: user628655 on Jul 27, 2009 9:47 AM
Edited by: user628655 on Jul 27, 2009 9:49 AM
Edited by: user628655 on Jul 27, 2009 10:39 AMAvoid doing that through a link. If this is a page item then submit the page and redirect to the target page using a branching. On the target page, create a computation to compute the target item using the original page item as the source. If you are talking about a report, use the id to pass through the link and fetch the text column in an on load computation.
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1
------------------------------------------------------------------------------ -
How to find Special Characters in a table ?
Hi,
I have a problem, during a data upload by the client, some special characters were uploaded in the database.
Sample data : " AC Power Cord Denmark "
I want to find all records containing such special characters and update them.
TOAD is able to display these characters but when i copy them onto the query... it doesnt work.
Can we know which encoding is that ? or do something to take care of this ?
Thanks in Advance.
Message was edited by:
Champinsert into t1 values ('joe$%"likes#$%#to*()ride%^$#his bike');
1 rows inserted
select * from t1;
C1
joe$%"likes#$%#to*()ride%^$#his bike
1 rows selected
select translate(c1,'!@#$%^&*()"',' ') from t1;
TRANSLATE(C1,'!@#$%^&*()"','')
joe likes to ride his bike
1 rows selected
update t1 set c1 = translate(c1,'!@#$%^&*()"',' ');
1 rows updated
select * from t1;
C1
joe likes to ride his bike
1 rows selectedI didn't notice your special special characters, but it still works:
insert into t1 values ('joe likes his'||chr(22));
select * from t1;
select translate(c1,chr(22),' ') from t1;
update t1 set c1 = translate(c1,chr(22),' ');
select * from t1;
Message was edited by:
JoeC -
How to insert some special Characters in a table
Dear All
I have a value with some italian Characters ..
Like :- )
e l’attivazione - Here the ' symbol is not single quote , it is some ITALIAN characters .
So how can i insert .
I have value like :- e l’attivazione "Trasloco Linea Telefonica”, disponibili sul portale TUO, sezione Accessi/Traslochi"
Insert into ABC values ('e l’attivazione "Trasloco Linea Telefonica”, disponibili sul portale TUO, sezione {code}Accessi/Traslochi"');Hey,
You can run below command to insert such value in single column of the table.
INSERT INTO ABC VALUES ('e l’attivazione "Trasloco Linea Telefonical, disponibili sul portale TUO, sezione Accessi/Traslochi"');
or you need to get ascii value of the character '’'
e.g.
SELECT ASCII('’') FROM dual;
O/P
14844057
then use this ASCII value in CHR function while inserting data into table
INSERT INTO ABC VALUES ('e l'||CHR(14844057)||'attivazione "Trasloco Linea Telefonical, disponibili sul portale TUO, sezione Accessi/Traslochi"');
When you will query the data from table you be get below value for that column.
e l’attivazione "Trasloco Linea Telefonical, disponibili sul portale TUO, sezione Accessi/Traslochi"
Regards,
Nisarg -
Special Characters in Create Table......
How can I use & sign in the column name in Create Table Statement:
Create Table
(aa&bb varchar2(10));You can create table with column name having "&" in the following way... but I won't recommend that because you'll have problems when you would need to Query the table or perform any DML operation!!
SQL> Create Table not_good_practise
2 ("aa&bb" varchar2(10));
Enter value for bb: &bb
old 2: ("aa&bb" varchar2(10))
new 2: ("aa&bb" varchar2(10))
Table created.
SQL> desc not_good_practise
Name Null? Type
aa&bb VARCHAR2(10)
SQL> drop table not_good_practise;
Table dropped.
Be sure ... why you want to do something like this before you put it in your design. -
How to remove special characters in a particular column
Hello,
i have a csv feed and i load it into a sql table (the sql table has all varchar data type fields)
feed data looks like (just sampled 2 rows but my file has thousands of like this)
"K" "AIF" "AMERICAN IND FORCE" "FRI" "EXAMP" "133" "DISPLAY" "505250" "MEDIA INC." 03/01/10" "INV31202" ".00" ".00" "0.00" "ALLO" ;
"K" "AIF" "AMERICAN IND FORCE" "THU" "TRTH" "123" "MUN MARCH 2010" "505099" "SOCIALTYZE" "03/01/10" "1308" "40,282.32" "40,282.32" "45564.64" "DIS" ;
some times i got some special characters in my table column (example: in my invoice no column some time i do have # or ! kind of invalid characters ) so how can i remove some kind of special characters in my column
once it is eliminated then i can write it to new table (with correct data format such as integer)
could some one please tell me how can i remove special character in a column of particular table
thanks in advance
asitaRemoves any characters from
@myString that do not meet the
provided criteria.
CREATE FUNCTION dbo.GetCharacters(@myString varchar(500), @validChars varchar(100))
RETURNS varchar(500) AS
BEGIN
While @myString like '%[^' + @validChars + ']%'
Select @myString = replace(@myString,substring(@myString,patindex('%[^' + @validChars + ']%',@myString),1),'')
Return @myString
END
Go
Declare @testStr varchar(1000),
@i int
Set @i = 1
while @i < 255
Select
@TestStr = isnull(@TestStr,'') + isnull(char(@i),''),
@i = @i + 1
Select @TestStr
Select dbo.GetCharacters(@TestStr,'a-z')
Select dbo.GetCharacters(@TestStr,'0-9')
Select dbo.GetCharacters(@TestStr,'0-9a-z')
Select dbo.GetCharacters(@TestStr,'02468bferlki')
perfect soluction -
Find All Special Characters in a SQL Server
I would like to find all Special Characters in a table. I am currently using the code below. Not sure if this gets all of them.
select top 50 *
from [dbo].[SV20150122]
where street LIKE '%[^0-9a-zA-Z @\.\-]%'
SQLDepends on what you want to count as a special character. Depending on your collation, your query might not consider é (for example) as a special character. The same goes for other accented letters. If that's what you want, then fine.
If that is not what you want, you may want to do
where street LIKE '%[^0-9a-zA-Z @\.\-]%' Collate Latin1_General_BIN
In any case, you can see exactly which characters are NOT counted as special characters on your system (with and without the Collate clause) by running
Declare @Test Table(ID int, MyData char(1));
;With cte As
(Select 0 As Number
Union All
Select Number + 1
From cte
Where Number < 255)
Insert @Test(ID, MyData)
Select Number, CHAR(Number)
From cte Option(MaxRecursion 256);
Select ID, MyData From @Test
Except
Select ID, MyData From @Test
Where MyData LIKE '%[^0-9a-zA-Z @\.\-]%'
Select ID, MyData From @Test
Except
Select ID, MyData From @Test
Where MyData LIKE '%[^0-9a-zA-Z @\.\-]%' Collate Latin1_General_BIN
Note: the above code assumes the column street is char or varchar.
Tom -
Using Special characters in Insert statement
Hi All,
I want to insert special characters in my table. Here is my query
insert into COM_TAB(TAB_COMMENTS) VALUES('ADAM'S FARM & FARM-GANG APPLE GOOGLE') .Please help.Also tel me is there any method to handle special characters like using ascci values for itPut the & and ' as below
create table com_tab(tab_comments varchar2(128));
insert into COM_TAB(TAB_COMMENTS) VALUES('ADAM''S FARM ' || '&' || ' FARM-GANG APPLE GOOGLE')
select * from com_tab
TAB_COMMENTS
ADAM'S FARM & FARM-GANG APPLE GOOGLE -
Identify special characters in oracle 9i
HI,
I want to identify the special characters in a table.Right now i am using oracle 9i version.
Please help us.You can use following pl/sql block for this purpose. It will check if there is any special character in a field(item description here) and will display that display the position and ascii value of that special character. Later you can write another query(if needed) to remove those special characters.
Modify the query as needed.
declare
l_desc VARCHAR2(90);
l_length NUMBER;
l_cnt NUMBER := 1;
l_char VARCHAR2(20);
l_spc_char NUMBER := 0;
CURSOR c1 is select segment1, description, length(description) length1 from mtl_system_items_b where 1=1 rownum < 10000 and segment1 = '00000942304A330'
and organization_id = 156;
begin
FOR c_rec IN C1
LOOP
l_cnt := 1;
l_spc_char := 0;
WHILE l_cnt <= c_rec.length1
LOOP
l_char := SUBSTR(c_rec.description,l_cnt,1);
IF (ascii(l_char) < 32 or ascii(l_char) > 126) then
DBMS_OUTPUT.PUT_LINE('Character: '||l_char||' Position: '||l_cnt||' Ascii Value: '||ascii(l_char));
l_spc_char := l_spc_char + 1;
end if;
l_cnt := l_cnt + 1 ;
END LOOP;
IF l_spc_char > 0 THEN
DBMS_OUTPUT.PUT_LINE('Item: '||c_rec.segment1||' Description: '||c_rec.description);
END IF;
END LOOP;
end; -
I am creating a list of words with special characters in some of them. I get to a point where I cannot enter data directly into the cell. I have to use the data entry bar at the top in the toolbar. Any solutions available?
This is the table I am creating...
From row 25 on, I am only able to enter data into the cell through the toolbar at the top and not directly into the cell itself. I believe that this problem originates from the special characters I have inserted in the previous records because if I do not use special characters, then the spreadsheet acts flawlessly. Have there been issues in Numbers with data entry, the size of a table, and using special characters?I would try removing the rows with "special" characters one at a time to see which one is causing the problem
-
Special Characters Table makes crash Numbers & Pages
Hello All,
I have a small problem with Numbers & Pages.
When I open the "special characters" table and keep it opened to insert characters, after 3 or 4 insertion, it makes freeze and crash Pages or / and Numbers.
However, I've found out that if I close this "SC" windows after each one or two insertion, and re-open it for next insertion, everything run smoothly. Obviously, this method is very messy if you've got to get special characters twice or three times in every word you're typing.
Anybody has faced the same issue or found a better way to solve it ?
Thanks
IanXHello
I never met this behaviour so I made a new try.
I was able to insert the entire set of Greek characters with no problem.
So, I guess that something is wrong in your system.
a - reset Permissions using Disk Utility
b- trash these preferences files:
<bootVolume>:Users:<yourAccount>:Library:Preferences:com.apple.iWork.Keynote.pli st
<bootVolume>:Users:<yourAccount>:Library:Preferences:com.apple.iWork.Numbers.pli st
<bootVolume>:Users:<yourAccount>:Library:Preferences:com.apple.iWork.Pages.plist
Yvan KOENIG (from FRANCE samedi 9 février 2008 12:32:48) -
the built-in keyboard on my macbook is not functioning right, the number keys when pushed display the special characters instead of the numbers,
the caps button doesn't work at all, the letter buttons display capitals when pushed whether the caps button is on or off, the shift keys are also out of whack!!
It seems it somehow got relocated to the "0" button because if you push and hold the zero button down the keyboard seems to operate normally, the number keys display numbers when pushed the letter keys display lower case when pushed but release the zero button and your back in the twilight zone!! Can anybody help me resolve this issue? one more thing im using an external usb keyboard right now and it seems to function properly if that helps any.You would do better in the actual macbook pro forums (this is not).
-
Hi friends, Problems with Special Characters in Table download to Excel.
Hi friends,
I am using Binary Cache method to download to excel. The problem is that there are certain fields in the back end R/3 that has special characters in it eg : & * £ # etc.
As a result, the download is not working for these rows. Please can any of you tell me how to get rid of this. As an example let's say I wan to replace the "&" with "and".
Please help.
Thank You.
Avikhi,
Hope you find tgis of some help !!
public void ReplaceMethod( )
//@@begin ReplaceMethod()
// get the string value of the cell (for you from the table cell, for eg, Pinki & Rakesh)
test = wdContext.currentTestStringConversionElement().getInput();
// calculate the total length of the String
n=test.length ();
if(n!=0)
for(i=1;i<=n;i++)
// catching each character from the String
c = test.charAt (i-1);
// checking if any character within the String (eg, Pinki & Rakesh) is &
if (c=='&')
wdContext.currentTestStringConversionElement().setOutput(Character.toString(c));
no=i;
break;
String val = Integer.toString(no);
//wdContext.currentTestStringConversionElement().setNo(val);
// breaking the String and adding and in place of &
sub1= test.substring(0,i-1);
sub2= " and ";
sub3= test.substring(i,n);
//Concatenating the String
test1 = sub1sub2sub3;
//Printing the String
wdContext.currentTestStringConversionElement().setOutput(test1); -
Dynamic SQL Query to Find Special Characters in Table columns
Hi,
I am new to OTN FORUMS.
I am trying to find the columnsi of a table which have special characters in them.
I am planning on using this query
select ' select INSTR('||column_name||', chr(0))
from '||table_name||'where INSTR('||column_name||', chr(0)) >0' from user_tab_columns
where table_name='Account'
and spool the output to run as a script.
Is this the right way or do u suggest any modifications to the query?
Thanks in advance.Hi,
I think your basic approach is right. Since you can't hard-code the table- or column names into the query, you'll need dynamic SQL.
Instead SQL-from-SQL (that is, writing a pure SQL query, whose output is SQL code), you could do the whole job in PL/SQL, but I don't see any huge advantage either way.
When you say "Special character<b>s</b>", do you really mean "one given special character" (in this case, CHR(0))?
Will you ever want to search for multiple special characters at once?
What if table foo has a column bar, and in 1000 rows of foo, bar contains CHR (0). Do you want 1000 rows of output, each showing the exact position of the first CHR(0)? If the purpose is to look at theese rows later, shouldn't you include the primary key in the output? What if CHR(0) occurs 2 or more times in the same string?
If you'd rather have one row of output, that simply says that the column foo.bar sometimes contains a CHR(0), then you could do something like this:
SELECT 'foo', 'bar'
FROM dual
WHERE EXISTS (
SELECT NULL
FROM foo
WHERE INSTR ( bar
, CHR (0)
) > 0
);
Maybe you are looking for
-
Battery life displayed as 0%
When the button on the battery is pressed it shows 3 green lights but the battery life is still displayed as 0% on my macbook. This is my 3rd battery. The second was given to me while my macbook was under warranty. When this one decided to go out I u
-
Where can I get an old OSX Leopard 10.5
hi there, i got an old Mac min - late2005 - g4. now i like to reinstall the system but i haven't got the original installation dvd. and by that i would like to install leopard 10.5 where can i get an installation system for that mac mini? I tryed som
-
I essentially got my GL CS2 site into DW (I think they made the wrong choice if GUI is the main consideration). So, I was trying to set up a page for the first time, and drop in a few pictures. Well, now, whenever I open DW all I get is a spinning ba
-
Can you copy and paste appointments?
Hello, I was wondering if you can copy an appointment and paste that appointment some where else in your calendar? plucas
-
Getting back my backed up photos!
Hi guys, In an emergency I needed to free up a lot of space on my internal HD and I backed up the follwowing folders, not really thinking of the consequences: Schools Photos (7.11GB) Originals (2.89 GB) Data (129 MB) Modified (1.77GB) Obviously, in i