Sep 23, 2012 #1 ariftheruvath Programmer Joined Sep 13, 2012 Messages 19 Location AE I'm trying to do this sqlexec(handle,"select vfp_UDF(MSSQL_table_column) from mssql_table") how to do this pls..
I'm trying to do this sqlexec(handle,"select vfp_UDF(MSSQL_table_column) from mssql_table") how to do this pls..
Sep 23, 2012 #2 Olaf Doschke Programmer Joined Oct 13, 2004 Messages 14,847 Location DE You can't. Check out, if T-SQL offers something you can use via CONVERT or CAST, for example. Bye, Olaf. Upvote 0 Downvote
You can't. Check out, if T-SQL offers something you can use via CONVERT or CAST, for example. Bye, Olaf.
Sep 23, 2012 #3 Olaf Doschke Programmer Joined Oct 13, 2004 Messages 14,847 Location DE another simple two step solution: sqlexec(handle,"select MSSQL_table_column from mssql_table","curVFP") select vfp_UDF(MSSQL_table_column) From curVFP into curResult If the problem is retrieving the sql server type field 1:1 you're back to CONVERT and CAST. Bye, Olaf. Upvote 0 Downvote
another simple two step solution: sqlexec(handle,"select MSSQL_table_column from mssql_table","curVFP") select vfp_UDF(MSSQL_table_column) From curVFP into curResult If the problem is retrieving the sql server type field 1:1 you're back to CONVERT and CAST. Bye, Olaf.
Sep 23, 2012 Thread starter #4 ariftheruvath Programmer Joined Sep 13, 2012 Messages 19 Location AE thanks olaf Upvote 0 Downvote