dbaspot
Tags Register FAQ Calendar Search Today's Posts Mark Forums Read

How do to insert '&' character from sqlplus ? - Database Discussions

This is a discussion on How do to insert '&' character from sqlplus ? - Database Discussions ; Hi, When I try to insert the '&' in a VARCHAR column I get a message from oracle. How can I insert '&' character from sqlplus ? Thanks, Jose Luis....


Home > Database Forum > Database and Unix Discussions > Database Discussions > How do to insert '&' character from sqlplus ?

Reply

 

LinkBack Thread Tools Display Modes
  #1  
Old 07-08-2004, 11:12 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default How do to insert '&' character from sqlplus ?

Hi,

When I try to insert the '&' in a VARCHAR column I get a message from oracle.

How can I insert '&' character from sqlplus ?

Thanks,
Jose Luis.
Reply With Quote
  #2  
Old 07-08-2004, 11:16 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: How do to insert '&' character from sqlplus ?

In article , jose luis
fernandez diaz says...
> Hi,
>
> When I try to insert the '&' in a VARCHAR column I get a message from oracle.
>
> How can I insert '&' character from sqlplus ?



& is the 'define' character in sqlplus by default.

So either

SQL> set define off
or choose another symbol e.g.
SQL> set define }

and be sure not to use } in any sql statement!

--

jeremy
Reply With Quote
  #3  
Old 07-08-2004, 11:16 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: How do to insert '&' character from sqlplus ?

In article , jose luis
fernandez diaz says...
> Hi,
>
> When I try to insert the '&' in a VARCHAR column I get a message from oracle.
>
> How can I insert '&' character from sqlplus ?



& is the 'define' character in sqlplus by default.

So either

SQL> set define off
or choose another symbol e.g.
SQL> set define }

and be sure not to use } in any sql statement!

--

jeremy
Reply With Quote
  #4  
Old 07-08-2004, 11:16 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: How do to insert '&' character from sqlplus ?

In article , jose luis
fernandez diaz says...
> Hi,
>
> When I try to insert the '&' in a VARCHAR column I get a message from oracle.
>
> How can I insert '&' character from sqlplus ?



& is the 'define' character in sqlplus by default.

So either

SQL> set define off
or choose another symbol e.g.
SQL> set define }

and be sure not to use } in any sql statement!

--

jeremy
Reply With Quote
  #5  
Old 07-08-2004, 11:16 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: How do to insert '&' character from sqlplus ?

In article , jose luis
fernandez diaz says...
> Hi,
>
> When I try to insert the '&' in a VARCHAR column I get a message from oracle.
>
> How can I insert '&' character from sqlplus ?



& is the 'define' character in sqlplus by default.

So either

SQL> set define off
or choose another symbol e.g.
SQL> set define }

and be sure not to use } in any sql statement!

--

jeremy
Reply With Quote
  #6  
Old 07-08-2004, 11:16 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: How do to insert '&' character from sqlplus ?

In article , jose luis
fernandez diaz says...
> Hi,
>
> When I try to insert the '&' in a VARCHAR column I get a message from oracle.
>
> How can I insert '&' character from sqlplus ?



& is the 'define' character in sqlplus by default.

So either

SQL> set define off
or choose another symbol e.g.
SQL> set define }

and be sure not to use } in any sql statement!

--

jeremy
Reply With Quote
  #7  
Old 07-08-2004, 11:16 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: How do to insert '&' character from sqlplus ?

In article , jose luis
fernandez diaz says...
> Hi,
>
> When I try to insert the '&' in a VARCHAR column I get a message from oracle.
>
> How can I insert '&' character from sqlplus ?



& is the 'define' character in sqlplus by default.

So either

SQL> set define off
or choose another symbol e.g.
SQL> set define }

and be sure not to use } in any sql statement!

--

jeremy
Reply With Quote
  #8  
Old 07-08-2004, 11:16 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: How do to insert '&' character from sqlplus ?

In article , jose luis
fernandez diaz says...
> Hi,
>
> When I try to insert the '&' in a VARCHAR column I get a message from oracle.
>
> How can I insert '&' character from sqlplus ?



& is the 'define' character in sqlplus by default.

So either

SQL> set define off
or choose another symbol e.g.
SQL> set define }

and be sure not to use } in any sql statement!

--

jeremy
Reply With Quote
  #9  
Old 07-08-2004, 11:16 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: How do to insert '&' character from sqlplus ?


"jose luis fernandez diaz" wrote in message
news:c2f95fd0.0407080712.5d5b70ee@posting.google.c om...
> Hi,
>
> When I try to insert the '&' in a VARCHAR column I get a message from oracle.
>
> How can I insert '&' character from sqlplus ?
>
> Thanks,
> Jose Luis.


Try googling for a change.

Go to Google groups .. and type in oracle ampersand

You should be able to get the various solutions.

Anurag


Reply With Quote
  #10  
Old 07-08-2004, 11:16 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: How do to insert '&' character from sqlplus ?


"jose luis fernandez diaz" wrote in message
news:c2f95fd0.0407080712.5d5b70ee@posting.google.c om...
> Hi,
>
> When I try to insert the '&' in a VARCHAR column I get a message from oracle.
>
> How can I insert '&' character from sqlplus ?
>
> Thanks,
> Jose Luis.


Try googling for a change.

Go to Google groups .. and type in oracle ampersand

You should be able to get the various solutions.

Anurag


Reply With Quote
Reply

Thread Tools
Display Modes



All times are GMT -4. The time now is 10:36 PM.