Inserting '?' into a TD table
Teradata Teradata Discussion Forums Teradata.com Discussion Forum
Visit Teradata.com
Home       Guidelines    Member List
Welcome Guest ( Login | Register )
        


This online forum is for user-to-user discussions of Teradata products, and is not an official customer support channel for Teradata. If you require direct assistance, please contact Teradata support.


Inserting '?' into a TD table Expand / Collapse
Author
Message
Posted 9/15/2009 10:42:45 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 9/15/2009 10:40:50 AM
Posts: 2, Visits: 5
Hi all,

How do i insert the special character '?' into a table.

Thanks
Manjeet


Regards
Manjeet
Post #16840
Posted 9/15/2009 1:37:34 PM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Yesterday @ 3:55:54 AM
Posts: 111, Visits: 263
If it is a real question mark:

Insert into Tbl
(CharField)
Values ('?')
;

If it is a real special character, you need to find the hex value of the character you want to set up. For Line feed (X'0A'):

Insert Into Tbl
(CharField)
Values ('0A'XC)
;
Post #16842
Posted 10/28/2009 4:52:06 AM


Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Group: Forum Members
Last Login: Yesterday @ 12:42:08 AM
Posts: 74, Visits: 32
Hahaha,
Ok, if I have read this question correctly, Manjeet is actually refering to the SPECIAL CHARACTER "?" which you see in SQL Assistant. Manjeet, this is how a NULL value in a table is also represented in SQL assistant. But please note that even a CHARACTER "?" has the same representation. To avoid any confusions you can go to Tools>Options and choose "Show NULL Values AS" to "NULL" in SQL Assitant.
If you want to INSERT a NULL value to a Table, just try
INSERT INTO TAB A (COLUMN)
VALUES (NULL);


Strive to success.

Arun.

Post #17184
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 ( 0 guests, 0 members, 0 anonymous members )
No members currently viewing this topic.


All times are GMT -5:00, Time now is 5:38pm

Powered By InstantForum.NET v4.1.4 © 2009
Execution: 0.063. 6 queries. Compression Disabled.