Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

I have 1 rd in my flat file.
say reord from 1 to 10 position : 'AS400NDB2400'
I need to change the value from N to Y
using SQL stmt ...How can I update this....?

Answer Posted / surya siram

UPDATE FF SET SUBSTR(RCD, 6, 1) = 'Y' WHERE SUBSTR(RCD, 6, 1) = 'N'

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is a query can be run in which mode?

1315


what is the difference between packed decimal and zoned decimal?

3250


what are dds required for subfile?

1049


What is the difference between non-join logical files and join logical files?

1125


how do you use exceptional write in c specs?

1906


which are control break logic indicators?

1110


how to pick up the changed records every time in a subfile after the first change made ?

1823


when would you prefer logical file than opnqryf?

2457


in conjunction with which statements can orxx and andxx conditions be used ?

1871


what opcode could be used to test an alphanumeric field for all numeric values?

1780


How to reverse the string in rpg

1818


how do you read changed records backward in subfile?

1106


what is arrival sequence?

1890


at what level s,o are defined and what they will do?

1807


what is a primary file?

1750