Newbie: How to add Non-breaking Space in a database field?

This is a discussion on Newbie: How to add Non-breaking Space in a database field? within the MySQL Database forums, part of the Database Forums category; Hi, Can anybody tell me how to insert a Non-breaking Space (ASCII 160) in a field using SQL? I ...


Go Back   Usenet Forums > Database Forums > MySQL Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-06-2006
flashguru_in@yahoo.com
 
Posts: n/a
Default Newbie: How to add Non-breaking Space in a database field?

Hi,

Can anybody tell me how to insert a Non-breaking Space (ASCII 160) in a
field using SQL? I use SQL*Plus.

Any comments would be appreciated.

Thanks,

Raj.

Reply With Quote
  #2 (permalink)  
Old 03-06-2006
Michel Cadot
 
Posts: n/a
Default Re: Newbie: How to add Non-breaking Space in a database field?


<flashguru_in@yahoo.com> a écrit dans le message de news: 1141659980.338283.149080@u72g2000cwu.googlegroups. com...
| Hi,
|
| Can anybody tell me how to insert a Non-breaking Space (ASCII 160) in a
| field using SQL? I use SQL*Plus.
|
| Any comments would be appreciated.
|
| Thanks,
|
| Raj.
|

insert into t values (ascii(160));

But SQL*Plus doesn't know it as "Non-breaking Space" it just knows it as ascii(160).

Regards
Michel Cadot


Reply With Quote
  #3 (permalink)  
Old 03-06-2006
Frank van Bortel
 
Posts: n/a
Default Re: Newbie: How to add Non-breaking Space in a database field?

Michel Cadot wrote:
> insert into t values (ascii(160));
>
> But SQL*Plus doesn't know it as "Non-breaking Space" it just knows it as ascii(160).
>
> Regards
> Michel Cadot


I suppose some tools on one particular OS uses ascii(160)
as non-breaking space. Whatever it may be; my spaces don't
ever break :)

--
Regards,
Frank van Bortel

Top-posting is one way to shut me up...
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:18 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0