Main Page | Report this Page
Computers Forum Index  »  Computer - Databases - Progress  »  psql prompt field separator...
Page 1 of 1    

psql prompt field separator...

Author Message
pavunkumar...
Posted: Fri Mar 13, 2009 10:25 am
Guest
Dear Friend :

I want to change the field separator psql prompt .

How can I do that ?

For Example I Change the field saparator is '?'

Normally we will give

psql=> select name from table_name

But I want to give like that

psql=> select?name?from?table_name
 
Paulo Meneghelli Jr...
Posted: Fri Jun 05, 2009 11:41 pm
Guest
Hi,

It would be useful for giving you an anwswer to understand why you need it.
For example, you can build a string with question marks (?) and then change
it by the end using the replace function, just like:
ASSIGN ch-String = REPLACE(ch-String, '?', ' ').
You would be able to build it with question marks, and just by the end would
need to replace them by blanks.
But I don't know if this would help you because I still can't understand the
context of your problem. If it doesn't, please ellucidate a little more
about the context.

Paulo

"pavunkumar" <pavun.bks at (no spam) gmail.com> escreveu na notícia da
mensagem:b20f9753-c73c-4e36-b394-bbae53392501 at (no spam) v35g2000pro.googlegroups.com...
Quote:
Dear Friend :

I want to change the field separator psql prompt .

How can I do that ?

For Example I Change the field saparator is '?'

Normally we will give

psql=> select name from table_name

But I want to give like that

psql=> select?name?from?table_name




 
 
Page 1 of 1    
All times are GMT
The time now is Wed Dec 02, 2009 5:46 am