N NetworkTown.Net Account Closed Impact 2 Oct 9, 2006 637 views 4 replies #1 Hi Dose any one know of a script that can do the following: When i type in a form .flv and submit the form will update all .wmv in my database to .flv is it possible?
Hi Dose any one know of a script that can do the following: When i type in a form .flv and submit the form will update all .wmv in my database to .flv is it possible?
Noobie Established Member ★ 15 ★ Impact 11 Oct 9, 2006 #2 The sql is: UPDATE {TABLE_NAME} SET {FIELD_NAME} = REPLACE ({FIELD_NAME}, '.wmv', '.flv' )
N NetworkTown.Net Account Closed Impact 2 Oct 9, 2006 #3 Ok so if my DB name is arcade and the table is games it will look like this: UPDATE {user_arcade} SET {games} = REPLACE ({games}, '.wmv', '.flv' ) Is that correct?
Ok so if my DB name is arcade and the table is games it will look like this: UPDATE {user_arcade} SET {games} = REPLACE ({games}, '.wmv', '.flv' ) Is that correct?
Noobie Established Member ★ 15 ★ Impact 11 Oct 9, 2006 #4 minus the braces. UPDATE user_arcade SET games = REPLACE (games, '.wmv', '.flv' )