Windows Develop Bookmark and Share   
 index > Windows Forms Data Controls and Databinding > sql query
 

sql query

I NEED SQL SELECT QUERY TO REPLACE "TIE ROD:¿x180mm" TO TIE ROD:x180mm.

MY CODE SNIPPET FOR REPLACING IS

SELECT REPALCE(FIELDNAME,'¿',' ' ) FROM TABLE NAME ;

BUT IT DOSNT WORKS FOR ME.

PLEASE ANY ONE HELP ME....

THANKS IN ADVANCE

kuttiamlu  Thursday, January 17, 2008 11:11 AM

Hi, I think you can try update statement,something like this

Update Yourtable

Set FIELDNAME = replace(FIELDNAME, '¿',' ')

Good luck

Gavin

Gavin Jin - MSFT  Monday, January 21, 2008 7:52 AM

Hi, I think you can try update statement,something like this

Update Yourtable

Set FIELDNAME = replace(FIELDNAME, '¿',' ')

Good luck

Gavin

Gavin Jin - MSFT  Monday, January 21, 2008 7:52 AM

Thank a lot for your suggestion Gavin Jin..Your query is fine. What i need is i dont want to update the table but i want to replace them only for viewing using select query..

kuttiamlu  Friday, January 25, 2008 4:13 AM

You can use google to search for other answers

Custom Search

More Threads

• DataBind Combobox with "Select One" as first item
• Mouse coordinates in CellMouseClick event
• Error updating view on DataGridView
• Adding new row when DataGirdView is sorted
• DataGridView with paging, custom sorting and ...
• How to check if there are new/edited row(s) in DataGridView
• Loading data into the database
• DataGridViewRow.DataBoundItem throws IndexOutOfRangeException
• Databind the selected row in a DataGridView
• Form validation - Please help