Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Server 2000 equivalent to STRTRAN() in vfp
Message
From
31/10/2006 17:18:10
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01165955
Message ID:
01165972
Views:
15
Never mind I got it:
select notes from agency
DECLARE @lcOldString varchar(2000)
SET @lcOldString = 'TRACY'
DECLARE @lcNewString varchar(2000)
SET @lcNewString = 'HIGH'
update agency set notes = replace(CAST(notes as varchar(2000)),@lcOldString,@lcNewString)
select notes from agency
Thanks!!!!
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Reply
Map
View

Click here to load this message in the networking platform