Update database table

Status
Not open for further replies.

Jiz

Member
Mar 29, 2021
50
1
8
42
I have multiple fax server's settings with incorrect server address. how can I replace all with a database query ?

1683233202285.png
for example, change server address from old.domian.com to new.domain.com

Thanks
 
resolved with below.

UPDATE v_fax SET fax_email_connection_host = REPLACE (fax_email_connection_host,'old.domain.com','new.domain.com');
 
check out dbeaver as well for future uses... im not a DB guru at all and dbeaver allows me to simply open table data and treat it like an excel file, but if your savy with query than im sure that is way faster

I wish there was a book to easily teach me more about postgres by example and not every little thing about postgres... just how to manage it and stuff
 
check out dbeaver as well for future uses... im not a DB guru at all and dbeaver allows me to simply open table data and treat it like an excel file, but if your savy with query than im sure that is way faster

I wish there was a book to easily teach me more about postgres by example and not every little thing about postgres... just how to manage it and stuff
Interesting idea for a book, video tutorial, etc. That would be fun to put that together.
 
check out dbeaver as well for future uses... im not a DB guru at all and dbeaver allows me to simply open table data and treat it like an excel file, but if your savy with query than im sure that is way faster

I wish there was a book to easily teach me more about postgres by example and not every little thing about postgres... just how to manage it and stuff
Good idea. How do you connect DB with dbeaver ?
 
Status
Not open for further replies.