SQL Server Forums
Profile | Register | 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
 New Topic  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
17681 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  
 New 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.06 seconds. Powered By: Snitz Forums 2000