Please start any new threads on our new site at http://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Replacing File extenstion
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

waelt
Starting Member

Syria
2 Posts

Posted - 05/15/2011 :  11:06:23  Show Profile  Reply with Quote
Greetings,
I'm new to Oracle SQL and I need your help please...
I have a table called clients and there is a column called pictures..
I need to update the pictures from ".png" to ".jpg" is that possible?
I looked in the internet a little bit and I found this command (translate( string1, string_to_replace, replacement_string )).
Can I use it within a command ?
Like..
update pictures from clients where pictures = translate( string1, string_to_replace, replacement_string );
Is that possible ??!

Thanks a lot

Edited by - waelt on 05/15/2011 11:10:11

khtan
In (Som, Ni, Yak)

Singapore
17689 Posts

Posted - 05/15/2011 :  11:32:01  Show Profile  Reply with Quote
SQLTeam is on Microsoft SQL Server, for Oracle question, try dbforums.com


KH
Time is always against us

Go to Top of Page

waelt
Starting Member

Syria
2 Posts

Posted - 05/15/2011 :  12:39:14  Show Profile  Reply with Quote
quote:
Originally posted by khtan

SQLTeam is on Microsoft SQL Server, for Oracle question, try dbforums.com


KH
Time is always against us





oops
Sorry for that misunderstanding
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000