>need code for converting vfp vue code into sqlserver sql code
Do you have many views to convert? Otherwise just grab the SQL portion of the view. In most cases it would work in SQL Server as is if you didn't use VFP specific functions in it.
You can also look at some special view editors such as ViewEditor by Steve Saywer. That's the one we used at one of my former job and I liked it.
If it's not broken, fix it until it is.
My Blog